Forums » Tutorial and setups »
Schedules Direct config file location ???
Added by Steve Miller almost 12 years ago
I followed the steps in
https://www.lonelycoder.com/redmine/boards/14/topics/3368
But I do not seem to be able to get Schedules Direct to load as the EPG. I do have an account and it is active. I can manually log in from a command prompt and download the EPG to a xml file.
I opened the Debug window in tvheadend and then click save EPG configuration page to force an update. It prints out:
Nov 09 20:13:28 /usr/bin/site_perl/tv_grab_na_dd: grab /usr/bin/site_perl/tv_grab_na_dd
Nov 09 20:13:32 /usr/bin/site_perl/tv_grab_na_dd: no output detected
Nov 09 20:13:32 /usr/bin/site_perl/tv_grab_na_dd: grab returned no data
My guess is that it is trying to log in but does not know the password because it cannot find the config file.
Where is the config file supposed to be? Right now it is at /home/hts Is this right? Is there somewhere else in tvheadend where I am supposed to inform it about the EPG setup?
Thanks.
Replies (7)
RE: Schedules Direct config file location ??? - Added by Steve Miller almost 12 years ago
In searching the Internet, I found another post that stated that tvheadend needed to be restarted after moving the config file. I did this, at the debug output has changed as shown below:
Nov 09 21:08:48 /usr/bin/site_perl/tv_grab_na_dd: grab /usr/bin/site_perl/tv_grab_na_dd
Nov 09 21:10:58 /usr/bin/site_perl/tv_grab_na_dd: grab took 130 seconds
Nov 09 21:10:58 /usr/bin/site_perl/tv_grab_na_dd: parse took 0 seconds
Nov 09 21:10:58 /usr/bin/site_perl/tv_grab_na_dd: channels tot= 10 new= 0 mod= 0
Nov 09 21:10:58 /usr/bin/site_perl/tv_grab_na_dd: brands tot= 0 new= 0 mod= 0
Nov 09 21:10:58 /usr/bin/site_perl/tv_grab_na_dd: seasons tot= 0 new= 0 mod= 0
Nov 09 21:10:58 /usr/bin/site_perl/tv_grab_na_dd: episodes tot= 0 new= 0 mod= 0
Nov 09 21:10:58 /usr/bin/site_perl/tv_grab_na_dd: broadcasts tot= 0 new= 0 mod= 0
The data is being downloaded now. However, nothing is being displayed in the EPG window. According to the debug output, I have ten channels available, but not a damn thing available for viewing!! I opened the file I manually downloaded, and it does contain lots of broadcast info.
What criteria is being used to think that no broadcasts or episodes are in the download file?
RE: Schedules Direct config file location ??? - Added by Adam Sutton almost 12 years ago
Please attach the XMLTV file you manually downloaded so I can take a look and see if there is a problem.
Also please indicate which version of TVH you're using.
Adam
RE: Schedules Direct config file location ??? - Added by Steve Miller almost 12 years ago
I am using version 3.2.18. I also tried running version 3.2 which showed the same result. I did this by running "make install" from the folder where I built the 3.2 version. I do not know if that is valid or not. If I need to uninstall before running such test, please let me know the required sequence. I am running the installed version from /usr/local/bin/tvheadend.
Attached is the xml file when I manually downloaded from Schedules Direct.
Every 12 hours the grabber does successfully run, but each time the result is the same. The white space in the channel names that I gave the channels and what Schedules Direct calls them was slightly different, so I changed my names to exactly match theirs, still no joy.
---- Steve
RE: Schedules Direct config file location ??? - Added by Adam Sutton almost 12 years ago
OK,
I can't see anything obvious in the XMLTV file. Can you mail me directly your .hts directory, that way I can try replaying the XMLTV file into your setup.
Ta
Adam
P.S.
Email address is on my profile. Feel free to remove anything sensitive, accesscontrol, descrambling config etc...
RE: Schedules Direct config file location ??? - Added by Steve Miller almost 12 years ago
Hi Adam,
I tried to email a zip file of the .hts directory, but the email bounced back as containing an illegal attachment. The directory does not contain any sensitive info, so I will just attach it here. You can delete the attachment from the forum if you think it should not be public.
Thanks.
---- Steve
RE: Schedules Direct config file location ??? - Added by Adam Sutton almost 12 years ago
OK,
the problem is that TVH is unable to automatically map the XMLTV to TVH channels so you need to do it manually. Got to Configuration->Channels and for each channel you need to select the appropriate channel in EPG Grab source.
Adam
RE: Schedules Direct config file location ??? - Added by Steve Miller almost 12 years ago
Thank you Adam. I followed your directions to manually map these and the EPG is working for me now!