Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Kiwibro

69 posts

Master Geek
+1 received by user: 1


#150761 2-Aug-2014 10:45
Send private message

Hi, once again I am sorry for filling up this forum with my questions, I am quite new to HTPC's as a hobby and am in no way a computer programming genius! I have been reading Readme for EPG collector and am having issues trying to create a file for Windows Task Scheduler. I have created this in notepad. If I run this in CMD it starts but fails as wrong configuration.

"C:\Program Files (x86)\Geekzone\EPG Collector\EPGCollector.exe"/ini="C:\Users\Home Media PC\AppData\Local\Geekzone\EPG Collector.ini"

I tried to link "C:\Program Files (x86)\Geekzone\EPG Collector\EPGCollector.exe" directly to the actions tab in the Scheduler. This fails with code 0x2. If I try to run the task it flashes the collection window but it does not run. If I click directly on the exe the file runs perfectly.

It may be because I'm am a nubie and don't really know what I am doing. Thank you for your patience.

Regards Alastair

Create new topic
davidcole
6099 posts

Uber Geek
+1 received by user: 1465

Trusted

  #1100554 2-Aug-2014 11:34
Send private message

I always thought the ox2 was permissions. In the details do you have it set to always run the task even if I'm not logged on?

I tend to put the commands in a batch file (give te options of doing other things and doing logging as well.





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 




Kiwibro

69 posts

Master Geek
+1 received by user: 1


  #1100674 2-Aug-2014 15:35
Send private message

Hi, yes have tried clicking all combinations of boxes, am not really savvie enough to write a batch file, the best I can come up with after reading the readme is what I have posted up. I am a wannabe nerd!!

Hammerer
2480 posts

Uber Geek
+1 received by user: 802

Lifetime subscriber

  #1100683 2-Aug-2014 16:04
Send private message

From a quick scan of "readme 4.1.txt", your easiest path is likely to be running the EPG Centre which you should be able to run.


2.2.2 Running standalone collections
====================================

Once the collection parameters have been created the collection process can be run. This can be initiated from EPG Centre, from the
command line or from a command file. All 3 methods run the same program, EPG Collector.exe.



davidcole
6099 posts

Uber Geek
+1 received by user: 1465

Trusted

  #1100686 2-Aug-2014 16:16
Send private message

Kiwibro: Hi, yes have tried clicking all combinations of boxes, am not really savvie enough to write a batch file, the best I can come up with after reading the readme is what I have posted up. I am a wannabe nerd!!


The batch file would just have the full path to eph collector and the arguments.

Use notepad to write it.

You'll need to get your head around things like this fairly quickly for an htpc. Unlike a my sky they take so e looking after.




Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


Kiwibro

69 posts

Master Geek
+1 received by user: 1


  #1100792 2-Aug-2014 18:49
Send private message

Yes very true, they are certainty more of a hobby than a possession! I don't really understand batch files and arguments as of yet. I tried entering the path I posted above as a command line and it starts to run but fails with the error in the log "cannot find ini file". Nothing like a challenge though, i love my htpc and this is the last piece of the puzzle....for now

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.