Hi,
I'm running 0.28 backend only on a Mythbuntu box.
I recently decided to add some channel icons, so I downloaded a fresh set and put them in /home/myname/.mythtv/channels and also made a copy in /home/mythtv/.mythtv/channels. I then went to the backend setup and updated the file names for each channel. Strangely, some already had filenames, despite me never (knowingly) inputing them. All seemed to go well and the icons appeared correctly where they should.
Several hours later, some of the icons had disappeared. I found that some, but not all of the changes I had made had now been reverted to what had previously been there. I suspect this occurs when mythfilldatabase runs, but no idea why.
I have tried updating the info several times, including editing the db directly, but the changes always get reverted.
I've checked the backend log but there's nothing to suggest what might be happening.
Any thoughts?
Thanks
Phil
SOLVED: Channel icon changes keep getting reverted
Moderator: Forum Moderators
SOLVED: Channel icon changes keep getting reverted
Last edited by pssturges on Fri Mar 17, 2017 11:40 pm, edited 1 time in total.
Re: Channel icon changes keep getting reverted
Hi,
Have you already been here: https://www.mythtv.org/wiki/Channel_ico ... l_Location
I assume the DB editing you did put only the file name e.g. history.jpg, not the 'old'
full path entry. No need to keep icons in /home/myname/.mythtv/channels, just move
them to the mythtv users copy.
Have you already been here: https://www.mythtv.org/wiki/Channel_ico ... l_Location
I assume the DB editing you did put only the file name e.g. history.jpg, not the 'old'
full path entry. No need to keep icons in /home/myname/.mythtv/channels, just move
them to the mythtv users copy.
Re: Channel icon changes keep getting reverted
Thanks for the reply,
Yes, I have just been using the filename, not the paths. I had also checked out the page you linked. Not much help unfortunately.
A bit more digging and it seems, something is not only changing the db, but also copying (downloading?) icons to the folder.
I use the shepherd service to download guide data. This also has an option to download channel icons, but I have turned that off. Plus, I thought it was a one time thing run during setup, not each time it is run with mythfill. At this stage it is still my main suspect.
Here's the info on shepherd:
http://svn.whuffy.com/wiki
So here's my DB data and folder contents after setting it all up as I'd like. Then just over an hour later, the changed data.
Thanks for any further help.
Phil
5:29 pm
6:40pm
Yes, I have just been using the filename, not the paths. I had also checked out the page you linked. Not much help unfortunately.
A bit more digging and it seems, something is not only changing the db, but also copying (downloading?) icons to the folder.
I use the shepherd service to download guide data. This also has an option to download channel icons, but I have turned that off. Plus, I thought it was a one time thing run during setup, not each time it is run with mythfill. At this stage it is still my main suspect.
Here's the info on shepherd:
http://svn.whuffy.com/wiki
So here's my DB data and folder contents after setting it all up as I'd like. Then just over an hour later, the changed data.
Thanks for any further help.
Phil
5:29 pm
Code: Select all
phil@htpcserver:~/.mythtv/channels$ ls -la
total 1464
drwxrwxr-x 2 phil family 4096 Mar 17 17:09 .
drwxrwxr-x 9 phil family 4096 Mar 15 22:07 ..
-rw-r--r-- 1 phil family 28429 Mar 17 17:09 7flix.png
-rw-r--r-- 1 phil family 17070 Mar 17 17:09 7hd.png
-rw-r--r-- 1 phil family 12041 Mar 17 17:09 7mate.png
-rw-r--r-- 1 phil family 37506 Mar 17 17:09 7two.png
-rw-r--r-- 1 phil family 147197 Mar 17 17:09 9life.png
-rw-r--r-- 1 phil family 53345 Mar 17 17:09 abc2.png
-rw-r--r-- 1 phil family 23954 Mar 17 17:09 abchd.png
-rw-r--r-- 1 phil family 62750 Mar 17 17:09 abckids.png
-rw-r--r-- 1 phil family 60799 Mar 17 17:09 abcme.png
-rw-r--r-- 1 phil family 24365 Mar 17 17:09 abcnews24.png
-rw-r--r-- 1 phil family 29196 Mar 17 17:09 abc.png
-rw-r--r-- 1 phil family 5522 Mar 17 17:09 eleven.png
-rw-r--r-- 1 phil family 35115 Mar 17 17:09 ninegem.png
-rw-r--r-- 1 phil family 37296 Mar 17 17:09 ninego.png
-rw-r--r-- 1 phil family 102447 Mar 17 17:09 ninehd.png
-rw-r--r-- 1 phil family 170819 Mar 17 17:09 nine.png
-rw-r--r-- 1 phil family 42719 Mar 17 17:09 nitv.png
-rw-r--r-- 1 phil family 166181 Mar 17 17:09 one.png
-rw-r--r-- 1 phil family 54800 Mar 17 17:09 sbshd.png
-rw-r--r-- 1 phil family 12218 Mar 17 17:09 sbs.png
-rw-r--r-- 1 phil family 48533 Mar 17 17:09 sbsviceland.png
-rw-r--r-- 1 phil family 17266 Mar 17 17:09 seven.png
-rw-r--r-- 1 phil family 1866 Mar 17 17:09 seven-two.png
-rw-r--r-- 1 phil family 125377 Mar 17 17:09 tenhd.png
-rw-r--r-- 1 phil family 123108 Mar 17 17:09 ten.png
Code: Select all
mysql> SELECT chanid,name,icon FROM channel WHERE visible is TRUE;
+--------+------------------+-----------------+
| chanid | name | icon |
+--------+------------------+-----------------+
| 1007 | 7 Sydney | seven.png |
| 1072 | 7TWO Sydney | 7two.png |
| 1073 | 7mate Sydney | 7mate.png |
| 1070 | 7HD Sydney | 7hd.png |
| 1076 | 7flix Sydney | 7flix.png |
| 1003 | SBS ONE | sbs.png |
| 1032 | SBS TWO | sbsviceland.png |
| 1034 | NITV | nitv.png |
| 1030 | SBS HD | sbshd.png |
| 1009 | Channel 9 Sydney | nine.png |
| 1090 | 9HD Sydney | ninehd.png |
| 1094 | 9Life | 9life.png |
| 1092 | 9Gem | ninegem.png |
| 1093 | 9Go! | ninego.png |
| 1001 | ONE | one.png |
| 1013 | TEN HD | tenhd.png |
| 1010 | TEN Digital | ten.png |
| 1011 | ELEVEN | eleven.png |
| 1024 | ABC News 24 | abcnews24.png |
| 1002 | ABC | abc.png |
| 1022 | ABC2/KIDS | abckids.png |
| 1023 | ABC ME | abcme.png |
+--------+------------------+-----------------+
22 rows in set (0.00 sec)
Code: Select all
phil@htpcserver:~/.mythtv/channels$ ls -la
total 1496
drwxrwxr-x 2 phil family 4096 Mar 17 18:30 .
drwxrwxr-x 9 phil family 4096 Mar 15 22:07 ..
-rw-r--r-- 1 phil family 28429 Mar 17 17:09 7flix.png
-rw-r--r-- 1 phil family 17070 Mar 17 17:09 7hd.png
-rw-r--r-- 1 phil family 12041 Mar 17 17:09 7mate.png
-rw-r--r-- 1 phil family 37506 Mar 17 17:09 7two.png
-rw-r--r-- 1 phil family 147197 Mar 17 17:09 9life.png
-rw-r--r-- 1 phil family 53345 Mar 17 17:09 abc2.png
-rw-r--r-- 1 phil family 23954 Mar 17 17:09 abchd.png
-rw-r--r-- 1 phil family 62750 Mar 17 17:09 abckids.png
-rw-r--r-- 1 phil family 60799 Mar 17 17:09 abcme.png
-rw-r--r-- 1 phil family 1866 Mar 17 18:29 abc-news-24.png
-rw-r--r-- 1 phil family 24365 Mar 17 17:09 abcnews24.png
-rw-r--r-- 1 phil family 29196 Mar 17 17:09 abc.png
-rw-r--r-- 1 phil family 5522 Mar 17 17:09 eleven.png
-rw-r--r-- 1 phil family 279 Mar 17 18:29 nine_53151871dd779ac2304e05ce9b2.jpg
-rw-r--r-- 1 phil family 35115 Mar 17 17:09 ninegem.png
-rw-r--r-- 1 phil family 37296 Mar 17 17:09 ninego.png
-rw-r--r-- 1 phil family 102447 Mar 17 17:09 ninehd.png
-rw-r--r-- 1 phil family 170819 Mar 17 17:09 nine.png
-rw-r--r-- 1 phil family 7 Mar 17 18:29 NITVLOGOCOLOUR.jpg
-rw-r--r-- 1 phil family 42719 Mar 17 17:09 nitv.png
-rw-r--r-- 1 phil family 300 Mar 17 18:30 one_hd.jpg
-rw-r--r-- 1 phil family 166181 Mar 17 17:09 one.png
-rw-r--r-- 1 phil family 168 Mar 17 18:30 sbs861c4b17d8fc1856b814.png
-rw-r--r-- 1 phil family 54800 Mar 17 17:09 sbshd.png
-rw-r--r-- 1 phil family 12218 Mar 17 17:09 sbs.png
-rw-r--r-- 1 phil family 48533 Mar 17 17:09 sbsviceland.png
-rw-r--r-- 1 phil family 279 Mar 17 18:30 seven_e69f30e8baff7fcbab28feb8b9.jpg
-rw-r--r-- 1 phil family 1866 Mar 17 18:29 seven-mate.png
-rw-r--r-- 1 phil family 17266 Mar 17 17:09 seven.png
-rw-r--r-- 1 phil family 1866 Mar 17 17:09 seven-two.png
-rw-r--r-- 1 phil family 279 Mar 17 18:30 ten_953df6f5ce62f91c0068d5a3512f.jpg
-rw-r--r-- 1 phil family 125377 Mar 17 17:09 tenhd.png
-rw-r--r-- 1 phil family 123108 Mar 17 17:09 ten.png
Code: Select all
mysql> SELECT chanid,name,icon FROM channel WHERE visible is TRUE;
+--------+------------------+--------------------------------------+
| chanid | name | icon |
+--------+------------------+--------------------------------------+
| 1007 | 7 Sydney | seven_e69f30e8baff7fcbab28feb8b9.jpg |
| 1072 | 7TWO Sydney | seven-two.png |
| 1073 | 7mate Sydney | seven-mate.png |
| 1070 | 7HD Sydney | 7hd.png |
| 1076 | 7flix Sydney | 7flix.png |
| 1003 | SBS ONE | sbs.png |
| 1032 | SBS TWO | sbsviceland.png |
| 1034 | NITV | NITVLOGOCOLOUR.jpg |
| 1030 | SBS HD | sbs861c4b17d8fc1856b814.png |
| 1009 | Channel 9 Sydney | nine_53151871dd779ac2304e05ce9b2.jpg |
| 1090 | 9HD Sydney | ninehd.png |
| 1094 | 9Life | 9life.png |
| 1092 | 9Gem | ninegem.png |
| 1093 | 9Go! | ninego.png |
| 1001 | ONE | one_hd.jpg |
| 1013 | TEN HD | tenhd.png |
| 1010 | TEN Digital | ten_953df6f5ce62f91c0068d5a3512f.jpg |
| 1011 | ELEVEN | eleven.png |
| 1024 | ABC News 24 | abc-news-24.png |
| 1002 | ABC | abc.png |
| 1022 | ABC2/KIDS | abckids.png |
| 1023 | ABC ME | abcme.png |
+--------+------------------+--------------------------------------+
22 rows in set (0.00 sec)
Re: Channel icon changes keep getting reverted
I see your point. Don't know anything Shepherd, as I'm using mythfilldatabase/Schedules Direct.
But if you go to: http://svn.whuffy.com/browser/trunk/logo_list.txt#L255
you'll see the TEN Digital preview icon. And if you go to the link on that line,
that's the filename you're reporting. The other links I tried didn't work
because of permission.
Take a look at line 6 and these seem to be previews. Maybe you
could change themes? There's also an Australian forum here and
there's one item about Shepherd there.
If you want, I can move this topic over there. Also, you may get more
eyes on the issue if you edit the Subject: line on your initial post and
prefix it with Shepherd.
But if you go to: http://svn.whuffy.com/browser/trunk/logo_list.txt#L255
you'll see the TEN Digital preview icon. And if you go to the link on that line,
that's the filename you're reporting. The other links I tried didn't work
because of permission.
Take a look at line 6 and these seem to be previews. Maybe you
could change themes? There's also an Australian forum here and
there's one item about Shepherd there.
If you want, I can move this topic over there. Also, you may get more
eyes on the issue if you edit the Subject: line on your initial post and
prefix it with Shepherd.
Re: Channel icon changes keep getting reverted
Thanks for your help.
It was indeed shepherd causing this. After using the service for the best part of ten years I have now found their support forum! One of their devs posted the following in a thread which has solved the problem for me:
Phil
It was indeed shepherd causing this. After using the service for the best part of ten years I have now found their support forum! One of their devs posted the following in a thread which has solved the problem for me:
Thanks again for your help.That used to be the case; Shepherd would set icons only during setup,
poking them directly into MythTV's database. But then I got in trouble
with the XMLTV people for doing that, because their spec says instead to
specify icons in the output file every run. So now Shepherd does that.
You can stop this by disabling the "add_channel_icons" postprocessor:
tv_grab_au --disable add_channel_icons
Then whatever you set manually should stay that way, unmolested by Shepherd.
Another option is to submit your choice as a theme, which would make
them available to everyone. It's not difficult, just a matter of modifying:
http://www.whuffy.com/shepherd/logo_list.txt
Max.
Phil