Opened 17 years ago
Closed 16 years ago
#3969 closed enhancement (fixed)
Grabber for Finnish ch icons and setting of xmltvid fields
Reported by: | anonymous | Owned by: | Isaac Richards |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | contrib | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Hello,
I would like to add a function into contrib directory, if possible. It's is like Justin's grabukicons, thanks for him, but does also setting of local xmltv grabber ids. I got frustrated since tuning channels is PITA here. If you need to do it often. Also it's complicated enough for the first time, since here you need to jump into command line in middle of tuning to answer mythfilldatabase questions. This script allows a shortcut for experienced users.
The script reads the local channel info from lookup.txt. That file currently contains all HTV Helsinki channels with icons and xmltvids. All I could find. The script first downloads all icons into user specified directory. Then it sets the paths into DB. This comes from Justins script. The addition is that the script then fills xmltvids into DB and finally prints out videosource.xmltv file for the user. This all is done only for the channels existing in users channel table.
I have this script in my mythtv-trunk/mythtv/contrib/fi_icons_xmltvids -directory I attach the script and the lookup.txt here. Hopefully someone could commit it in.
At least it's stored publicly for my friends waiting for it :)
PS. I don't know perl, so bare with the script. I didn't even know how to cut lines at 80 ;)
files for the contrib dir