[mythtv] Streaming Audio In MythMusic

Micah F. Galizia micahgalizia at gmail.com
Sat Dec 12 21:14:16 UTC 2009


On 09-12-11 12:53 PM, Warpme wrote:
> Micah,
>
> Really nice idea and job.
>
> I patched my 0.22-fixes 22957, compiled.
> So far:
>
> -compiles OK
> -I'm able to add streams (but only those having file-like end of URL. If
> stream is http://<IP>:<port> - after pressing OK in add dialog, stream
> not appears in list)
> -Added stream can be edited
> -Launching mythmusic shows "All My Music", "All My Playlists" but no
> "All My Streams". (maybe I'm misusing mythmusic streams extension (?) or
> it is issue of theme - I'm using blue-abstract-wide. Your hint is needed
> here)
> -Going into playlists edit shows "All Internet Streams" list entry.
> Choosing it unfortunately causes segfault.
> Log shows following:
>
> 2009-12-11 18:39:13.990 XMLParse: LoadTheme using
> '/usr/share/mythtv/themes/blue-graphite/music-ui.xml'
> 2009-12-11 18:39:14.223 MSqlQuery::exec() "SELECT data FROM settings
> WHERE value = 'AutoLookupCD' AND hostname = 'FE-Test' ;"
> terminate called after throwing an instance of 'std::out_of_range'
> what(): vector::_M_range_check

OK, the problem here is that the theme doesn't define all of the text 
areas that myth music is expecting. If you want to fix the theme, open 
up music-ui.xml for blue-abstract-wide, and locate the info container in 
the  music_select window.  Add the following to the container:

             <textarea name="line4" draworder="1">
                 <font>text</font>
                 <area>45,149,1190,40</area>
                 <cutdown>yes</cutdown>
             </textarea>
             <textarea name="line5" draworder="1">
                 <font>text</font>
                 <area>45,192,1190,40</area>
                 <cutdown>yes</cutdown>
             </textarea>
             <textarea name="line6" draworder="1">
                 <font>text</font>
                 <area>45,235,1190,40</area>
                 <cutdown>yes</cutdown>
             </textarea>

The text will not be displayed, but the crash goes away.

-- 
Micah F. Galizia
micahgalizia at gmail.com

"The mark of an immature man is that he wants to die nobly for a cause, 
while the mark of the mature man is that he wants to live humbly for 
one."   --W. Stekel


More information about the mythtv-dev mailing list