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

Mailing List Archive: MythTV: Users

Howto autmatic play an inserted music CD

 

 

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


Matthias.Meyer at gmx

Apr 2, 2012, 1:49 PM

Post #1 of 3 (291 views)
Permalink
Howto autmatic play an inserted music CD

Hello,

I'm using mythtv 0.24 under Debian wheezy.

I've enabled in Setup/General/MediaMonitor:
Monitor CD/DVD
use new Media

I've enabled too in Setup/Music Settings/General Settings:
Automatically lookup CDs
Automatically play CDs

I will find the CD within the "Select Music" Menu and can play it. But it
won't play automatically.

mythfrontend -v playback,media,extra will log:
2012-04-02 22:43:16.956 /dev/sr0 No info or drive not ready
2012-04-02 22:43:18.131 /dev/sr0 No info or drive not ready
2012-04-02 22:43:19.569 /dev/sr0 No info or drive not ready
2012-04-02 22:43:20.904 /dev/sr0 Disk OK, type = MEDIATYPE_UNKNOWN
2012-04-02 22:43:20.905 /dev/sr0 Media changed
2012-04-02 22:43:20.906 MythMediaDevice::findMountPath() - mount of
'/dev/sr0' not found.
Device name/type | Current mountpoint
-----------------+-------------------
/dev/disk/by-uuid/7d013e2a-15cf-49f0-bde3-264276d2d099 | /
/dev/sda1 | /boot
=================+===================
2012-04-02 22:43:21.426 /dev/sr0 Disk OK, type = MEDIATYPE_UNKNOWN
2012-04-02 22:43:21.430 /dev/sr0 Current status MEDIASTAT_OPEN
2012-04-02 22:43:21.533 found an audio disk
2012-04-02 22:43:21.533 Posting MediaEvent (MEDIATYPE_AUDIO, MEDIASTAT_OPEN
-> MEDIASTAT_USEABLE)
2012-04-02 22:43:21.533 Found a handler - 'MythMusic Media Handler 1/2'
2012-04-02 22:43:21.534 MythMusic: Storing CD device /dev/sr0
2012-04-02 22:43:21.552 XMLParse: LoadTheme using
'/usr/share/mythtv/themes/metallurgy/music-ui.xml'
2012-04-02 22:43:22.035 /dev/sr0 Disk OK, type = MEDIATYPE_AUDIO
2012-04-02 22:43:22.037 Disc useable, media unchanged. All good!
2012-04-02 22:43:22.097 DecoderHandler: Stopping decoder
2012-04-02 22:43:22.540 /dev/sr0 Disk OK, type = MEDIATYPE_AUDIO
2012-04-02 22:43:22.542 Disc useable, media unchanged. All good!
2012-04-02 22:43:23.045 /dev/sr0 Disk OK, type = MEDIATYPE_AUDIO
2012-04-02 22:43:23.047 Disc useable, media unchanged. All good!

Thanks in advance
Matthias
--
Don't Panic
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


Matthias.Meyer at gmx

Apr 4, 2012, 12:42 PM

Post #2 of 3 (264 views)
Permalink
Re: Howto autmatic play an inserted music CD [In reply to]

Am Montag 02 April 2012 schrieb Matthias Meyer:
> Hello,
>
> I'm using mythtv 0.24 under Debian wheezy.
>
> I've enabled in Setup/General/MediaMonitor:
> Monitor CD/DVD
> use new Media
>
> I've enabled too in Setup/Music Settings/General Settings:
> Automatically lookup CDs
> Automatically play CDs
>
> I will find the CD within the "Select Music" Menu and can play it. But it
> won't play automatically.
>
> mythfrontend -v playback,media,extra will log:
> 2012-04-02 22:43:16.956 /dev/sr0 No info or drive not ready
> 2012-04-02 22:43:18.131 /dev/sr0 No info or drive not ready
> 2012-04-02 22:43:19.569 /dev/sr0 No info or drive not ready
> 2012-04-02 22:43:20.904 /dev/sr0 Disk OK, type = MEDIATYPE_UNKNOWN
> 2012-04-02 22:43:20.905 /dev/sr0 Media changed
> 2012-04-02 22:43:20.906 MythMediaDevice::findMountPath() - mount of
> '/dev/sr0' not found.
> Device name/type | Current mountpoint
> -----------------+-------------------
> /dev/disk/by-uuid/7d013e2a-15cf-49f0-bde3-264276d2d099 |
/
> /dev/sda1 | /boot
> =================+===================
> 2012-04-02 22:43:21.426 /dev/sr0 Disk OK, type = MEDIATYPE_UNKNOWN
> 2012-04-02 22:43:21.430 /dev/sr0 Current status MEDIASTAT_OPEN
> 2012-04-02 22:43:21.533 found an audio disk
> 2012-04-02 22:43:21.533 Posting MediaEvent (MEDIATYPE_AUDIO,
MEDIASTAT_OPEN
> -> MEDIASTAT_USEABLE)
> 2012-04-02 22:43:21.533 Found a handler - 'MythMusic Media Handler 1/2'
> 2012-04-02 22:43:21.534 MythMusic: Storing CD device /dev/sr0
> 2012-04-02 22:43:21.552 XMLParse: LoadTheme using
> '/usr/share/mythtv/themes/metallurgy/music-ui.xml'
> 2012-04-02 22:43:22.035 /dev/sr0 Disk OK, type = MEDIATYPE_AUDIO
> 2012-04-02 22:43:22.037 Disc useable, media unchanged. All good!
> 2012-04-02 22:43:22.097 DecoderHandler: Stopping decoder
> 2012-04-02 22:43:22.540 /dev/sr0 Disk OK, type = MEDIATYPE_AUDIO
> 2012-04-02 22:43:22.542 Disc useable, media unchanged. All good!
> 2012-04-02 22:43:23.045 /dev/sr0 Disk OK, type = MEDIATYPE_AUDIO
> 2012-04-02 22:43:23.047 Disc useable, media unchanged. All good!
>
> Thanks in advance
> Matthias
> --
> Don't Panic
>

If I start mythfrontend the first inserted CD will be played (see logfile
firstrun.txt, logged by mythfrontend -v playback,media).
If I eject the CD mythfrontend will get an access violation.
If I eject after leaving mythmusic with Esc I can eject the CD without an
access violation.
But if I insert the CD again mythtv doesn't play it automatically (see
logfile secondrun.txt, logged by mythfrontend -v playback,media too).

The difference in the second run seems to be:
2012-04-04 21:29:05.933 MythMusic: Storing CD device /dev/sr0
2012-04-04 21:29:05.945 XMLParse: LoadTheme using
'/usr/share/mythtv/themes/metallurgy/music-ui.xml'
2012-04-04 21:29:06.435 /dev/sr0 Disk OK, type = MEDIATYPE_AUDIO
2012-04-04 21:29:06.490 DecoderHandler: Stopping decoder
2012-04-04 21:29:06.941 /dev/sr0 Disk OK, type = MEDIATYPE_AUDIO

where music-ui.xml doesn't appears on screen and the "DecoderHandler:
Stopping decoder"

Any hints?
Anybody else have the same problem?

Thanks in advance
Matthias
--
Don't Panic
Attachments: firstrun.txt (3.89 KB)
  secondrun.txt (3.29 KB)


nigel at ind

Apr 4, 2012, 4:40 PM

Post #3 of 3 (261 views)
Permalink
Re: Howto autmatic play an inserted music CD [In reply to]

Matthias Meyer wrote:

>> I will find the CD within the "Select Music" Menu and can play it. But it
>> won't play automatically.


I think that is a known fault, relating
to the media monitor and events:

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

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




> If I start mythfrontend the first inserted CD will be played (see logfile
> firstrun.txt, logged by mythfrontend -v playback,media).
> If I eject the CD mythfrontend will get an access violation.


That one, I haven't seen.
Will try to reproduce with 0.24,
and see master/0.25beta still does it.

Any chance of a gdb 'where' against mythfrontend?

--
Nigel Pearson, nigel [at] ind|"I'm confused."
Telstra Net. Eng., Sydney, Australia | "Well, its a big club,
Office: 8576 5449 Fax: 9298 9033 | we should get t-shirts!"
Mobile: 0408 664435 Home: 9792 6998 |- Doctor Who

_______________________________________________
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.