Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

0.25 channel icons not being found/opened

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


adeffs.mythtv at gmail

May 18, 2012, 6:45 AM

Post #1 of 25 (1654 views)
Permalink
0.25 channel icons not being found/opened

files are world readable:
the log shows this for a bunch of the channel icons:
FileRingBuf(//MythTV/data/channelicons/cnbc_hd_plus.jpg//MythTV/data/channelicons/cnbc_hd_plus.jpg):
OpenFile(): Could not open.

it looks like the icon location is being "doubled"?
do I have something set up incorrect?

--
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


spikeygg.mythbox at gmail

Jul 4, 2012, 8:08 PM

Post #2 of 25 (1596 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On Fri, May 18, 2012 at 7:45 AM, Steven Adeff <adeffs.mythtv [at] gmail>wrote:

> files are world readable:
> the log shows this for a bunch of the channel icons:
>
> FileRingBuf(//MythTV/data/channelicons/cnbc_hd_plus.jpg//MythTV/data/channelicons/cnbc_hd_plus.jpg):
> OpenFile(): Could not open.
>
> it looks like the icon location is being "doubled"?
> do I have something set up incorrect?
>
>
>
I am seeing this problem too Steve in my latest build of git head
(v0.26-pre-769-g18ca1dd).

2012-07-04 21:03:45.809999 E
FileRingBuf(//mythtv/channel_icons/39.X_KKJB_TV39_BOISE.png//mythtv/channel_icons/39.X_KKJB_TV39_BOISE.png):
OpenFile(): Could not open.
2012-07-04 21:03:45.813197 E
FileRingBuf(//mythtv/channel_icons/12.3_Ktrv_dt2_2010.png//mythtv/channel_icons/12.3_Ktrv_dt2_2010.png):
OpenFile(): Could not open.


spikeygg.mythbox at gmail

Jul 4, 2012, 8:21 PM

Post #3 of 25 (1594 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On Wed, Jul 4, 2012 at 9:08 PM, Greg Grotsky <spikeygg.mythbox [at] gmail>wrote:

> On Fri, May 18, 2012 at 7:45 AM, Steven Adeff <adeffs.mythtv [at] gmail>wrote:
>
>> files are world readable:
>> the log shows this for a bunch of the channel icons:
>>
>> FileRingBuf(//MythTV/data/channelicons/cnbc_hd_plus.jpg//MythTV/data/channelicons/cnbc_hd_plus.jpg):
>> OpenFile(): Could not open.
>>
>> it looks like the icon location is being "doubled"?
>> do I have something set up incorrect?
>>
>>
>>
> I am seeing this problem too Steve in my latest build of git head
> (v0.26-pre-769-g18ca1dd).
>
> 2012-07-04 21:03:45.809999 E
> FileRingBuf(//mythtv/channel_icons/39.X_KKJB_TV39_BOISE.png//mythtv/channel_icons/39.X_KKJB_TV39_BOISE.png):
> OpenFile(): Could not open.
> 2012-07-04 21:03:45.813197 E
> FileRingBuf(//mythtv/channel_icons/12.3_Ktrv_dt2_2010.png//mythtv/channel_icons/12.3_Ktrv_dt2_2010.png):
> OpenFile(): Could not open.
>
>
Not sure if you still have this problem Steve, but I just solved it on my
system. I found a thread titled: "Channel icons not shown" and a suggestion
to put the image files for the channel icons in ~/.mythtv/channels and
change the "channel icon pointers" to have no path in mythtv-setup. I just
did this and it doesn't report these errors any more.

-Greg


adeffs.mythtv at gmail

Jul 5, 2012, 8:49 AM

Post #4 of 25 (1578 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On Wed, Jul 4, 2012 at 11:21 PM, Greg Grotsky
<spikeygg.mythbox [at] gmail> wrote:
> On Wed, Jul 4, 2012 at 9:08 PM, Greg Grotsky <spikeygg.mythbox [at] gmail>
> wrote:
>> On Fri, May 18, 2012 at 7:45 AM, Steven Adeff <adeffs.mythtv [at] gmail>
>> wrote:
>>>
>>> files are world readable:
>>> the log shows this for a bunch of the channel icons:
>>>
>>> FileRingBuf(//MythTV/data/channelicons/cnbc_hd_plus.jpg//MythTV/data/channelicons/cnbc_hd_plus.jpg):
>>> OpenFile(): Could not open.
>>>
>>> it looks like the icon location is being "doubled"?
>>> do I have something set up incorrect?
>>>
>>>
>>
>> I am seeing this problem too Steve in my latest build of git head
>> (v0.26-pre-769-g18ca1dd).
>>
>> 2012-07-04 21:03:45.809999 E
>> FileRingBuf(//mythtv/channel_icons/39.X_KKJB_TV39_BOISE.png//mythtv/channel_icons/39.X_KKJB_TV39_BOISE.png):
>> OpenFile(): Could not open.
>> 2012-07-04 21:03:45.813197 E
>> FileRingBuf(//mythtv/channel_icons/12.3_Ktrv_dt2_2010.png//mythtv/channel_icons/12.3_Ktrv_dt2_2010.png):
>> OpenFile(): Could not open.
>>
>
> Not sure if you still have this problem Steve, but I just solved it on my
> system. I found a thread titled: "Channel icons not shown" and a suggestion
> to put the image files for the channel icons in ~/.mythtv/channels and
> change the "channel icon pointers" to have no path in mythtv-setup. I just
> did this and it doesn't report these errors any more.

hrmm. it's too bad the channel icons are not a storage group, so all
my frontends could obtain the icons from the same location. having to
download them to each frontend is an unnecessary pain.


--
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


mythtv at comhem

Jul 5, 2012, 9:39 AM

Post #5 of 25 (1585 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On 2012-07-05 17:49, Steven Adeff wrote:
> On Wed, Jul 4, 2012 at 11:21 PM, Greg Grotsky wrote:

<snip>

>> Not sure if you still have this problem Steve, but I just solved it on my
>> system. I found a thread titled: "Channel icons not shown" and a suggestion
>> to put the image files for the channel icons in ~/.mythtv/channels and
>> change the "channel icon pointers" to have no path in mythtv-setup. I just
>> did this and it doesn't report these errors any more.
>
> hrmm. it's too bad the channel icons are not a storage group, so all
> my frontends could obtain the icons from the same location. having to
> download them to each frontend is an unnecessary pain.

There actually is such a storage group, and If you follow Greg's advice
I'm quite sure it will work.

https://github.com/MythTV/mythtv/commit/cda7871fad69c83ba1f254ec5f0fa547f4bc1864

https://github.com/MythTV/mythtv/commit/58fd2a556b6df98abe159bbe0713920afad57e29

http://www.gossamer-threads.com/lists/mythtv/users/519142#519142

--
Jonatan
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


seven at seven

Jul 5, 2012, 4:18 PM

Post #6 of 25 (1574 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On 6 July 2012 02:39, Jonatan Lindblad <mythtv [at] comhem> wrote:

> On 2012-07-05 17:49, Steven Adeff wrote:
>
>> On Wed, Jul 4, 2012 at 11:21 PM, Greg Grotsky wrote:
>>
>
> <snip>
>
>
> Not sure if you still have this problem Steve, but I just solved it on my
>>> system. I found a thread titled: "Channel icons not shown" and a
>>> suggestion
>>> to put the image files for the channel icons in ~/.mythtv/channels and
>>> change the "channel icon pointers" to have no path in mythtv-setup. I
>>> just
>>> did this and it doesn't report these errors any more.
>>>
>>
>> hrmm. it's too bad the channel icons are not a storage group, so all
>> my frontends could obtain the icons from the same location. having to
>> download them to each frontend is an unnecessary pain.
>>
>
> There actually is such a storage group, and If you follow Greg's advice
> I'm quite sure it will work.
>
> https://github.com/MythTV/**mythtv/commit/**cda7871fad69c83ba1f254ec5f0fa5
> **47f4bc1864<https://github.com/MythTV/mythtv/commit/cda7871fad69c83ba1f254ec5f0fa547f4bc1864>
>
> https://github.com/MythTV/**mythtv/commit/**58fd2a556b6df98abe159bbe071392
> **0afad57e29<https://github.com/MythTV/mythtv/commit/58fd2a556b6df98abe159bbe0713920afad57e29>
>
> http://www.gossamer-threads.**com/lists/mythtv/users/519142#**519142<http://www.gossamer-threads.com/lists/mythtv/users/519142#519142>
>
> --
> Jonatan
>

I cant tell from the above but has this been backported to 0.25-fixes and
if so which version?

also the reference bug has not been marked as resolved which also doesn't
provide an clues....

http://code.mythtv.org/trac/ticket/10659

Cheers,

Anthony


adeffs.mythtv at gmail

Jul 21, 2012, 7:47 PM

Post #7 of 25 (1530 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On Thu, Jul 5, 2012 at 12:39 PM, Jonatan Lindblad <mythtv [at] comhem> wrote:
> On 2012-07-05 17:49, Steven Adeff wrote:
>> On Wed, Jul 4, 2012 at 11:21 PM, Greg Grotsky wrote:
> <snip>
>>> Not sure if you still have this problem Steve, but I just solved it on my
>>> system. I found a thread titled: "Channel icons not shown" and a
>>> suggestion
>>> to put the image files for the channel icons in ~/.mythtv/channels and
>>> change the "channel icon pointers" to have no path in mythtv-setup. I
>>> just
>>> did this and it doesn't report these errors any more.
>>
>>
>> hrmm. it's too bad the channel icons are not a storage group, so all
>> my frontends could obtain the icons from the same location. having to
>> download them to each frontend is an unnecessary pain.
>
>
> There actually is such a storage group, and If you follow Greg's advice I'm
> quite sure it will work.
>
> https://github.com/MythTV/mythtv/commit/cda7871fad69c83ba1f254ec5f0fa547f4bc1864
>
> https://github.com/MythTV/mythtv/commit/58fd2a556b6df98abe159bbe0713920afad57e29
>
> http://www.gossamer-threads.com/lists/mythtv/users/519142#519142
>
> --
> Jonatan

I think the issue I have is the storagegroup for them is "missing" in my setup.

I just noticed in one of those patches that it looks like there should
be storage groups I don't seem to have:
ChannelIcons
Themes
Temp
Streaming

do you guys have storage groups with these names?

--
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


keemllib at gmail

Jul 21, 2012, 8:18 PM

Post #8 of 25 (1533 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On 07/21/2012 09:47 PM, Steven Adeff wrote:
> On Thu, Jul 5, 2012 at 12:39 PM, Jonatan Lindblad <mythtv [at] comhem> wrote:
>> https://github.com/MythTV/mythtv/commit/cda7871fad69c83ba1f254ec5f0fa547f4bc1864#L3L68
>> Jonatan
>
> I think the issue I have is the storagegroup for them is "missing" in my setup.
>
> I just noticed in one of those patches that it looks like there should
> be storage groups I don't seem to have:
> ChannelIcons
> Themes
> Temp
> Streaming
>
> do you guys have storage groups with these names?
>

Hi;

No, they're built in storage groups. See Jonatan's link above
(I added the line number.)

--
Bill


_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


adeffs.mythtv at gmail

Jul 21, 2012, 8:20 PM

Post #9 of 25 (1527 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On Sat, Jul 21, 2012 at 11:18 PM, Bill Meek <keemllib [at] gmail> wrote:
> On 07/21/2012 09:47 PM, Steven Adeff wrote:
>>
>> On Thu, Jul 5, 2012 at 12:39 PM, Jonatan Lindblad <mythtv [at] comhem>
>> wrote:
>>>
>>>
>>> https://github.com/MythTV/mythtv/commit/cda7871fad69c83ba1f254ec5f0fa547f4bc1864#L3L68
>>> Jonatan
>>
>>
>> I think the issue I have is the storagegroup for them is "missing" in my
>> setup.
>>
>> I just noticed in one of those patches that it looks like there should
>> be storage groups I don't seem to have:
>> ChannelIcons
>> Themes
>> Temp
>> Streaming
>>
>> do you guys have storage groups with these names?
>>
>
> Hi;
>
> No, they're built in storage groups. See Jonatan's link above
> (I added the line number.)
>

what does that mean "built in"? that I can't control where those
storage groups point to?

--
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


keemllib at gmail

Jul 21, 2012, 8:41 PM

Post #10 of 25 (1529 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On 07/21/2012 10:20 PM, Steven Adeff wrote:
> On Sat, Jul 21, 2012 at 11:18 PM, Bill Meek <keemllib [at] gmail> wrote:
>> No, they're built in storage groups. See Jonatan's link above
>> (I added the line number.)
>>
>
> what does that mean "built in"? that I can't control where those
> storage groups point to?

You control the configuration directory, which is probably
$HOME/.mythtv. Or, it could be $MYTHCONFDIR. The rest of
the path is fixed.

--
Bill


_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


adeffs.mythtv at gmail

Jul 21, 2012, 9:00 PM

Post #11 of 25 (1527 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On Sat, Jul 21, 2012 at 11:41 PM, Bill Meek <keemllib [at] gmail> wrote:
> On 07/21/2012 10:20 PM, Steven Adeff wrote:
>>
>> On Sat, Jul 21, 2012 at 11:18 PM, Bill Meek <keemllib [at] gmail> wrote:
>>>
>>> No, they're built in storage groups. See Jonatan's link above
>>> (I added the line number.)
>>>
>>
>> what does that mean "built in"? that I can't control where those
>> storage groups point to?
>
>
> You control the configuration directory, which is probably
> $HOME/.mythtv. Or, it could be $MYTHCONFDIR. The rest of
> the path is fixed.

ok, so that is not a storage group it's a fixed path based on a system variable.


--
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


mikep at randomtraveller

Jul 22, 2012, 3:21 AM

Post #12 of 25 (1515 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On 22/07/12 05:00, Steven Adeff wrote:
> On Sat, Jul 21, 2012 at 11:41 PM, Bill Meek <keemllib [at] gmail> wrote:
>> On 07/21/2012 10:20 PM, Steven Adeff wrote:
>>>
>>> On Sat, Jul 21, 2012 at 11:18 PM, Bill Meek <keemllib [at] gmail> wrote:
>>>>
>>>> No, they're built in storage groups. See Jonatan's link above
>>>> (I added the line number.)
>>>>
>>>
>>> what does that mean "built in"? that I can't control where those
>>> storage groups point to?
>>
>>
>> You control the configuration directory, which is probably
>> $HOME/.mythtv. Or, it could be $MYTHCONFDIR. The rest of
>> the path is fixed.
>
> ok, so that is not a storage group it's a fixed path based on a system variable.
>
>
I rather fancy a "built-in" storage group has the /name/ of the group fixed.
There should be no reason why you cannot allocate them disk space anywhere you
wish just like any other storage group.

--

Mike Perkins

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


gordon.mccrae at gmail

Jul 22, 2012, 4:11 AM

Post #13 of 25 (1515 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On 22/07/12 03:47, Steven Adeff wrote:
> On Thu, Jul 5, 2012 at 12:39 PM, Jonatan Lindblad <mythtv [at] comhem> wrote:
>> On 2012-07-05 17:49, Steven Adeff wrote:
>>> On Wed, Jul 4, 2012 at 11:21 PM, Greg Grotsky wrote:
>> <snip>
>>>> Not sure if you still have this problem Steve, but I just solved it on my
>>>> system. I found a thread titled: "Channel icons not shown" and a
>>>> suggestion
>>>> to put the image files for the channel icons in ~/.mythtv/channels and
>>>> change the "channel icon pointers" to have no path in mythtv-setup. I
>>>> just
>>>> did this and it doesn't report these errors any more.
>>>
>>> hrmm. it's too bad the channel icons are not a storage group, so all
>>> my frontends could obtain the icons from the same location. having to
>>> download them to each frontend is an unnecessary pain.
>>
>> There actually is such a storage group, and If you follow Greg's advice I'm
>> quite sure it will work.
>>
>> https://github.com/MythTV/mythtv/commit/cda7871fad69c83ba1f254ec5f0fa547f4bc1864
>>
>> https://github.com/MythTV/mythtv/commit/58fd2a556b6df98abe159bbe0713920afad57e29
>>
>> http://www.gossamer-threads.com/lists/mythtv/users/519142#519142
>>
>> --
>> Jonatan
> I think the issue I have is the storagegroup for them is "missing" in my setup.
>
> I just noticed in one of those patches that it looks like there should
> be storage groups I don't seem to have:
> ChannelIcons
> Themes
> Temp
> Streaming
>
> do you guys have storage groups with these names?
>
The "issue" is that mythtv-setup simply puts the icon images in the
~/.mythtv/channels folder of the user running mythtv-setup (lets say
root), but MythFrontend is looking for them in the StorageGroup "Channels".

To fix the problem, the first thing you need to do is move the
/root/.mythtv/channels folder somewhere that it's accessible by all of
the frontends, I'd suggest putting it under your main MythTV folder, so
something like /data/mythtv for example.

You would then have a folder called /data/mythtv/channels.

Now start mythtv-setup and go into option #7 "Storage Directories" and
create a new one called "ChannelIcons", this is hard coded into
MythFrontend as the StorageGroup to query.

Add the location /data/mythtv/channels to this storage group.

Now you need to go into option #6 "Channel Editor" and select each
channel in turn.

For each channel, you need to edit the field labelled "Icon:", which
should have "/root/.mythtv/channels/blah.jpg". You need to change this
so it just reads "blah.jpg". One of the side affects here is that
mythtv-setup will no-longer show the icon against the channel as it
doesn't seem to understand StorageGroups.

I'd recommend you do one or two for testing purposes first, then once
you're happy it's working go on to do all of them.

So next you come out of mythtv-setup and run mythfilldatabase.

Once it's finished run

rcmythbackend start
mythfrontend

You can then either go into "Watch TV" and press "S", or go into Manage
"Recording / Schedule Recordings / Programme Guide", either way you'll
get to see the Programme Guide which should now have icons for the
channels you updated.

Once you're happy it work for you, go back and update them all in
mythtv-setup, you shouldn't need to run mythfilldatabase again, it only
when you do the StorageGroup setup that you (or at least I) seem to need
to run it.

All of this was on OpenSUSE 12.1, so if you use a different
distribution, certain things may vary.

Cheers
Gordon

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


adeffs.mythtv at gmail

Jul 22, 2012, 7:21 AM

Post #14 of 25 (1510 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On Sun, Jul 22, 2012 at 7:11 AM, Gordon McCrae <gordon.mccrae [at] gmail> wrote:
> The "issue" is that mythtv-setup simply puts the icon images in the
> ~/.mythtv/channels folder of the user running mythtv-setup (lets say root),
> but MythFrontend is looking for them in the StorageGroup "Channels".
>
> To fix the problem, the first thing you need to do is move the
> /root/.mythtv/channels folder somewhere that it's accessible by all of the
> frontends, I'd suggest putting it under your main MythTV folder, so
> something like /data/mythtv for example.
>
> You would then have a folder called /data/mythtv/channels.
>
> Now start mythtv-setup and go into option #7 "Storage Directories" and
> create a new one called "ChannelIcons", this is hard coded into MythFrontend
> as the StorageGroup to query.
>
> Add the location /data/mythtv/channels to this storage group.
>
> Now you need to go into option #6 "Channel Editor" and select each channel
> in turn.
>
> For each channel, you need to edit the field labelled "Icon:", which should
> have "/root/.mythtv/channels/blah.jpg". You need to change this so it just
> reads "blah.jpg". One of the side affects here is that mythtv-setup will
> no-longer show the icon against the channel as it doesn't seem to understand
> StorageGroups.

ok, so I actually did that after looking at the patch. I've yet to
really "test" it. I had previously just symlinked all the requried
./mythtv/channels folders to my nfs shared location. of course I'd
prefer not to have to do that.

the ChannelIcons storage group should also be created automatically
with the others.

also,

update channel set icon = replace(icon,'replaceme','');
much easier...

--
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


adeffs.mythtv at gmail

Jul 22, 2012, 7:30 AM

Post #15 of 25 (1507 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On Sun, Jul 22, 2012 at 10:21 AM, Steven Adeff <adeffs.mythtv [at] gmail> wrote:
> On Sun, Jul 22, 2012 at 7:11 AM, Gordon McCrae <gordon.mccrae [at] gmail> wrote:
>> The "issue" is that mythtv-setup simply puts the icon images in the
>> ~/.mythtv/channels folder of the user running mythtv-setup (lets say root),
>> but MythFrontend is looking for them in the StorageGroup "Channels".
>>
>> To fix the problem, the first thing you need to do is move the
>> /root/.mythtv/channels folder somewhere that it's accessible by all of the
>> frontends, I'd suggest putting it under your main MythTV folder, so
>> something like /data/mythtv for example.
>>
>> You would then have a folder called /data/mythtv/channels.
>>
>> Now start mythtv-setup and go into option #7 "Storage Directories" and
>> create a new one called "ChannelIcons", this is hard coded into MythFrontend
>> as the StorageGroup to query.
>>
>> Add the location /data/mythtv/channels to this storage group.
>>
>> Now you need to go into option #6 "Channel Editor" and select each channel
>> in turn.
>>
>> For each channel, you need to edit the field labelled "Icon:", which should
>> have "/root/.mythtv/channels/blah.jpg". You need to change this so it just
>> reads "blah.jpg". One of the side affects here is that mythtv-setup will
>> no-longer show the icon against the channel as it doesn't seem to understand
>> StorageGroups.
>
> ok, so I actually did that after looking at the patch. I've yet to
> really "test" it. I had previously just symlinked all the requried
> ./mythtv/channels folders to my nfs shared location. of course I'd
> prefer not to have to do that.
>
> the ChannelIcons storage group should also be created automatically
> with the others.
>
> also,
>
> update channel set icon = replace(icon,'replaceme','');
> much easier...

http://www.mythtv.org/wiki/Channel_icons#Storage_Group

--
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


adeffs.mythtv at gmail

Jul 22, 2012, 7:37 AM

Post #16 of 25 (1508 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On Sun, Jul 22, 2012 at 10:30 AM, Steven Adeff <adeffs.mythtv [at] gmail> wrote:
> On Sun, Jul 22, 2012 at 10:21 AM, Steven Adeff <adeffs.mythtv [at] gmail> wrote:
>> On Sun, Jul 22, 2012 at 7:11 AM, Gordon McCrae <gordon.mccrae [at] gmail> wrote:
>>> The "issue" is that mythtv-setup simply puts the icon images in the
>>> ~/.mythtv/channels folder of the user running mythtv-setup (lets say root),
>>> but MythFrontend is looking for them in the StorageGroup "Channels".
>>>
>>> To fix the problem, the first thing you need to do is move the
>>> /root/.mythtv/channels folder somewhere that it's accessible by all of the
>>> frontends, I'd suggest putting it under your main MythTV folder, so
>>> something like /data/mythtv for example.
>>>
>>> You would then have a folder called /data/mythtv/channels.
>>>
>>> Now start mythtv-setup and go into option #7 "Storage Directories" and
>>> create a new one called "ChannelIcons", this is hard coded into MythFrontend
>>> as the StorageGroup to query.
>>>
>>> Add the location /data/mythtv/channels to this storage group.
>>>
>>> Now you need to go into option #6 "Channel Editor" and select each channel
>>> in turn.
>>>
>>> For each channel, you need to edit the field labelled "Icon:", which should
>>> have "/root/.mythtv/channels/blah.jpg". You need to change this so it just
>>> reads "blah.jpg". One of the side affects here is that mythtv-setup will
>>> no-longer show the icon against the channel as it doesn't seem to understand
>>> StorageGroups.
>>
>> ok, so I actually did that after looking at the patch. I've yet to
>> really "test" it. I had previously just symlinked all the requried
>> ./mythtv/channels folders to my nfs shared location. of course I'd
>> prefer not to have to do that.
>>
>> the ChannelIcons storage group should also be created automatically
>> with the others.
>>
>> also,
>>
>> update channel set icon = replace(icon,'replaceme','');
>> much easier...
>
> http://www.mythtv.org/wiki/Channel_icons#Storage_Group

oops, meant to add, I tested it and as far as I can tell it does work,
so I've added it to the Wiki


--
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Jul 23, 2012, 6:48 AM

Post #17 of 25 (1490 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On 07/22/2012 06:21 AM, Mike Perkins wrote:
> On 22/07/12 05:00, Steven Adeff wrote:
>> On Sat, Jul 21, 2012 at 11:41 PM, Bill Meek wrote:
>>> On 07/21/2012 10:20 PM, Steven Adeff wrote:
>>>>
>>>> On Sat, Jul 21, 2012 at 11:18 PM, Bill Meek wrote:
>>>>>
>>>>> No, they're built in storage groups. See Jonatan's link above
>>>>> (I added the line number.)
>>>>>
>>>>
>>>> what does that mean "built in"? that I can't control where those
>>>> storage groups point to?
>>>
>>>
>>> You control the configuration directory, which is probably
>>> $HOME/.mythtv. Or, it could be $MYTHCONFDIR. The rest of
>>> the path is fixed.
>>
>> ok, so that is not a storage group it's a fixed path based on a
>> system variable.
>>
>>
> I rather fancy a "built-in" storage group has the /name/ of the group
> fixed. There should be no reason why you cannot allocate them disk
> space anywhere you wish just like any other storage group.

If we supported changing the directory list of the built-in Storage
Groups, you'd have a UI to do so. If you change any of the built-in SG
directory lists, some things will almost definitely break.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


adeffs.mythtv at gmail

Jul 23, 2012, 6:57 AM

Post #18 of 25 (1488 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On Mon, Jul 23, 2012 at 9:48 AM, Michael T. Dean
<mtdean [at] thirdcontact> wrote:
> On 07/22/2012 06:21 AM, Mike Perkins wrote:
>>
>> On 22/07/12 05:00, Steven Adeff wrote:
>>>
>>> On Sat, Jul 21, 2012 at 11:41 PM, Bill Meek wrote:
>>>>
>>>> On 07/21/2012 10:20 PM, Steven Adeff wrote:
>>>>>
>>>>>
>>>>> On Sat, Jul 21, 2012 at 11:18 PM, Bill Meek wrote:
>>>>>>
>>>>>>
>>>>>> No, they're built in storage groups. See Jonatan's link above
>>>>>> (I added the line number.)
>>>>>>
>>>>>
>>>>> what does that mean "built in"? that I can't control where those
>>>>> storage groups point to?
>>>>
>>>>
>>>>
>>>> You control the configuration directory, which is probably
>>>> $HOME/.mythtv. Or, it could be $MYTHCONFDIR. The rest of
>>>> the path is fixed.
>>>
>>>
>>> ok, so that is not a storage group it's a fixed path based on a system
>>> variable.
>>>
>>>
>> I rather fancy a "built-in" storage group has the /name/ of the group
>> fixed. There should be no reason why you cannot allocate them disk space
>> anywhere you wish just like any other storage group.
>
>
> If we supported changing the directory list of the built-in Storage Groups,
> you'd have a UI to do so. If you change any of the built-in SG directory
> lists, some things will almost definitely break.

Understood. From what I've noticed, mythtv-setup doesn't support it,
so it will always put it in ~/.mythtv/channels AND in the channel
table place the full /home/<user>/.mythtv/channels/ in front of the
icon file.

so when the user adds new icons they will have to link their user
channels folder to the location of their storage group, and remove the
folder info in the channel table. so a big *at your own risk*
disclaimer.

--
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Jul 23, 2012, 7:09 AM

Post #19 of 25 (1487 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On 07/23/2012 09:57 AM, Steven Adeff wrote:
> On Mon, Jul 23, 2012 at 9:48 AM, Michael T. Dean wrote:
>> On 07/22/2012 06:21 AM, Mike Perkins wrote:
>>> On 22/07/12 05:00, Steven Adeff wrote:
>>>> On Sat, Jul 21, 2012 at 11:41 PM, Bill Meek wrote:
>>>>> On 07/21/2012 10:20 PM, Steven Adeff wrote:
>>>>>>
>>>>>> On Sat, Jul 21, 2012 at 11:18 PM, Bill Meek wrote:
>>>>>>>
>>>>>>> No, they're built in storage groups. See Jonatan's link above
>>>>>>> (I added the line number.)
>>>>>>>
>>>>>> what does that mean "built in"? that I can't control where those
>>>>>> storage groups point to?
>>>>>
>>>>>
>>>>> You control the configuration directory, which is probably
>>>>> $HOME/.mythtv. Or, it could be $MYTHCONFDIR. The rest of
>>>>> the path is fixed.
>>>>
>>>> ok, so that is not a storage group it's a fixed path based on a system
>>>> variable.
>>>>
>>>>
>>> I rather fancy a "built-in" storage group has the /name/ of the group
>>> fixed. There should be no reason why you cannot allocate them disk space
>>> anywhere you wish just like any other storage group.
>>
>> If we supported changing the directory list of the built-in Storage Groups,
>> you'd have a UI to do so. If you change any of the built-in SG directory
>> lists, some things will almost definitely break.
> Understood. From what I've noticed, mythtv-setup doesn't support it,
> so it will always put it in ~/.mythtv/channels AND in the channel
> table place the full /home/<user>/.mythtv/channels/ in front of the
> icon file.
>
> so when the user adds new icons they will have to link their user
> channels folder to the location of their storage group, and remove the
> folder info in the channel table. so a big *at your own risk*
> disclaimer.

No, if you put your channel icons into a shared network directory (or
place a copy on each frontend in a MythTV storage location--after all,
it's tiny compared to recordings), then symlink ~/.mythtv/channels to
that directory, all should work fine (at least it does for me).

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Jul 23, 2012, 7:12 AM

Post #20 of 25 (1489 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On 07/23/2012 10:09 AM, Michael T. Dean wrote:
> On 07/23/2012 09:57 AM, Steven Adeff wrote:
>> On Mon, Jul 23, 2012 at 9:48 AM, Michael T. Dean wrote:
>>> If we supported changing the directory list of the built-in Storage
>>> Groups,
>>> you'd have a UI to do so. If you change any of the built-in SG
>>> directory
>>> lists, some things will almost definitely break.
>> Understood. From what I've noticed, mythtv-setup doesn't support it,
>> so it will always put it in ~/.mythtv/channels AND in the channel
>> table place the full /home/<user>/.mythtv/channels/ in front of the
>> icon file.
>>
>> so when the user adds new icons they will have to link their user
>> channels folder to the location of their storage group, and remove the
>> folder info in the channel table. so a big *at your own risk*
>> disclaimer.
>
> No, if you put your channel icons into a shared network directory (or
> place a copy on each frontend in a MythTV storage location--after all,
> it's tiny compared to recordings), then symlink ~/.mythtv/channels to
> that directory, all should work fine (at least it does for me).

That said, we will eventually fix up the channel icons mess... I'm not
saying that it's perfect, now, just that we don't need "fancy"
workarounds or direct DB editing to make it work everywhere. :)

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


adeffs.mythtv at gmail

Jul 23, 2012, 7:18 AM

Post #21 of 25 (1486 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On Mon, Jul 23, 2012 at 10:12 AM, Michael T. Dean
<mtdean [at] thirdcontact> wrote:
> On 07/23/2012 10:09 AM, Michael T. Dean wrote:
>>
>> On 07/23/2012 09:57 AM, Steven Adeff wrote:
>>>
>>> On Mon, Jul 23, 2012 at 9:48 AM, Michael T. Dean wrote:
>>>>
>>>> If we supported changing the directory list of the built-in Storage
>>>> Groups,
>>>> you'd have a UI to do so. If you change any of the built-in SG
>>>> directory
>>>> lists, some things will almost definitely break.
>>>
>>> Understood. From what I've noticed, mythtv-setup doesn't support it,
>>> so it will always put it in ~/.mythtv/channels AND in the channel
>>> table place the full /home/<user>/.mythtv/channels/ in front of the
>>> icon file.
>>>
>>> so when the user adds new icons they will have to link their user
>>> channels folder to the location of their storage group, and remove the
>>> folder info in the channel table. so a big *at your own risk*
>>> disclaimer.
>>
>>
>> No, if you put your channel icons into a shared network directory (or
>> place a copy on each frontend in a MythTV storage location--after all, it's
>> tiny compared to recordings), then symlink ~/.mythtv/channels to that
>> directory, all should work fine (at least it does for me).
>
>
> That said, we will eventually fix up the channel icons mess... I'm not
> saying that it's perfect, now, just that we don't need "fancy" workarounds
> or direct DB editing to make it work everywhere. :)

yea, agreed! I wanted to see how trying that would affect things. not
as clean and neat as a simple symlink, though it does look to avoid
having to NFS mount your icon location to each frontend (? for better
or worse?)

I figured it would get looked at eventually, as there does seem to be
a big push to use storage groups for everything, but the lesser stuff
like this is not a rush. I'd prefer time be spent on MythMusic being
able to use storage groups =D

thanks!

--
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Jul 23, 2012, 7:40 AM

Post #22 of 25 (1487 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On 07/23/2012 10:18 AM, Steven Adeff wrote:
> On Mon, Jul 23, 2012 at 10:12 AM, Michael T. Dean wrote:
>> On 07/23/2012 10:09 AM, Michael T. Dean wrote:
>>> On 07/23/2012 09:57 AM, Steven Adeff wrote:
>>>> On Mon, Jul 23, 2012 at 9:48 AM, Michael T. Dean wrote:
>>>>> If we supported changing the directory list of the built-in Storage
>>>>> Groups,
>>>>> you'd have a UI to do so. If you change any of the built-in SG
>>>>> directory
>>>>> lists, some things will almost definitely break.
>>>> Understood. From what I've noticed, mythtv-setup doesn't support it,
>>>> so it will always put it in ~/.mythtv/channels AND in the channel
>>>> table place the full /home/<user>/.mythtv/channels/ in front of the
>>>> icon file.
>>>>
>>>> so when the user adds new icons they will have to link their user
>>>> channels folder to the location of their storage group, and remove the
>>>> folder info in the channel table. so a big *at your own risk*
>>>> disclaimer.
>>>
>>> No, if you put your channel icons into a shared network directory (or
>>> place a copy on each frontend in a MythTV storage location--after all, it's
>>> tiny compared to recordings), then symlink ~/.mythtv/channels to that
>>> directory, all should work fine (at least it does for me).
>>
>> That said, we will eventually fix up the channel icons mess... I'm not
>> saying that it's perfect, now, just that we don't need "fancy" workarounds
>> or direct DB editing to make it work everywhere. :)
> yea, agreed! I wanted to see how trying that would affect things. not
> as clean and neat as a simple symlink, though it does look to avoid
> having to NFS mount your icon location to each frontend (? for better
> or worse?)

Yeah. I actually hate NFS, so I just have a copy at the same location
on each frontend/backend system, but I do store it in my MythTV storage
area, rather than in ~/.mythtv, and use the symlink from
~/.mythtv/channels to the actual location.

> I figured it would get looked at eventually, as there does seem to be
> a big push to use storage groups for everything, but the lesser stuff
> like this is not a rush. I'd prefer time be spent on MythMusic being
> able to use storage groups =D

Yeah, we're still trying to decide how to handle the "explosion" of SG
locations. There's a good chance that we'll do something that doesn't
add a ton of new "special" SG's (those that show a "Create a <Name>
Storage Group" button in the editor), but still allows a good bit of
configurability (at least of some parent locations).

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


adeffs.mythtv at gmail

Jul 23, 2012, 7:45 AM

Post #23 of 25 (1488 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On Mon, Jul 23, 2012 at 10:40 AM, Michael T. Dean
<mtdean [at] thirdcontact> wrote:
> On 07/23/2012 10:18 AM, Steven Adeff wrote:
>
>> On Mon, Jul 23, 2012 at 10:12 AM, Michael T. Dean wrote:
>>>
>>> On 07/23/2012 10:09 AM, Michael T. Dean wrote:
>>>>
>>>> On 07/23/2012 09:57 AM, Steven Adeff wrote:
>>>>>
>>>>> On Mon, Jul 23, 2012 at 9:48 AM, Michael T. Dean wrote:
>>>>>>
>>>>>> If we supported changing the directory list of the built-in Storage
>>>>>> Groups,
>>>>>> you'd have a UI to do so. If you change any of the built-in SG
>>>>>> directory
>>>>>> lists, some things will almost definitely break.
>>>>>
>>>>> Understood. From what I've noticed, mythtv-setup doesn't support it,
>>>>> so it will always put it in ~/.mythtv/channels AND in the channel
>>>>> table place the full /home/<user>/.mythtv/channels/ in front of the
>>>>> icon file.
>>>>>
>>>>> so when the user adds new icons they will have to link their user
>>>>> channels folder to the location of their storage group, and remove the
>>>>> folder info in the channel table. so a big *at your own risk*
>>>>> disclaimer.
>>>>
>>>>
>>>> No, if you put your channel icons into a shared network directory (or
>>>> place a copy on each frontend in a MythTV storage location--after all,
>>>> it's
>>>> tiny compared to recordings), then symlink ~/.mythtv/channels to that
>>>> directory, all should work fine (at least it does for me).
>>>
>>>
>>> That said, we will eventually fix up the channel icons mess... I'm not
>>> saying that it's perfect, now, just that we don't need "fancy"
>>> workarounds
>>> or direct DB editing to make it work everywhere. :)
>>
>> yea, agreed! I wanted to see how trying that would affect things. not
>> as clean and neat as a simple symlink, though it does look to avoid
>> having to NFS mount your icon location to each frontend (? for better
>> or worse?)
>
>
> Yeah. I actually hate NFS, so I just have a copy at the same location on
> each frontend/backend system, but I do store it in my MythTV storage area,
> rather than in ~/.mythtv, and use the symlink from ~/.mythtv/channels to the
> actual location.
>
>
>> I figured it would get looked at eventually, as there does seem to be
>> a big push to use storage groups for everything, but the lesser stuff
>> like this is not a rush. I'd prefer time be spent on MythMusic being
>> able to use storage groups =D
>
>
> Yeah, we're still trying to decide how to handle the "explosion" of SG
> locations. There's a good chance that we'll do something that doesn't add a
> ton of new "special" SG's (those that show a "Create a <Name> Storage Group"
> button in the editor), but still allows a good bit of configurability (at
> least of some parent locations).
>
>
> Mike

does that add more of a mess in the code or in how a user sets things up?

--
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Jul 23, 2012, 8:03 AM

Post #24 of 25 (1494 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On 07/23/2012 10:45 AM, Steven Adeff wrote:
> On Mon, Jul 23, 2012 at 10:40 AM, Michael T. Dean wrote:
>> Yeah, we're still trying to decide how to handle the "explosion" of SG
>> locations. There's a good chance that we'll do something that doesn't add a
>> ton of new "special" SG's (those that show a "Create a<Name> Storage Group"
>> button in the editor), but still allows a good bit of configurability (at
>> least of some parent locations).
> does that add more of a mess in the code or in how a user sets things up?
>

Should make things a lot easier for users and for set up, but without
adding much complexity at all to the code.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


adeffs.mythtv at gmail

Jul 24, 2012, 6:25 AM

Post #25 of 25 (1458 views)
Permalink
Re: 0.25 channel icons not being found/opened [In reply to]

On Mon, Jul 23, 2012 at 11:03 AM, Michael T. Dean
<mtdean [at] thirdcontact> wrote:
> On 07/23/2012 10:45 AM, Steven Adeff wrote:
>>
>> On Mon, Jul 23, 2012 at 10:40 AM, Michael T. Dean wrote:
>>>
>>> Yeah, we're still trying to decide how to handle the "explosion" of SG
>>> locations. There's a good chance that we'll do something that doesn't
>>> add a
>>> ton of new "special" SG's (those that show a "Create a<Name> Storage
>>> Group"
>>> button in the editor), but still allows a good bit of configurability (at
>>> least of some parent locations).
>>
>> does that add more of a mess in the code or in how a user sets things up?
>>
>
> Should make things a lot easier for users and for set up, but without adding
> much complexity at all to the code.

cool, can't wait! (well, yes I can wait, but I look forward to it)

thanks!

--
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.