Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 9 months ago

Closed 8 months ago

Last modified 8 months ago

#11708 closed Bug Report - General (fixed)

Ejecting the CD/DVD drive causes playback of MP3s to stop

Reported by: stuartm Owned by: paulh
Priority: major Milestone: 0.27
Component: Plugin - MythMusic Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Seems like we're mishandling the media event somewhere, it causes playback to stop and the cursor jumps to the first track in the playlist. It doesn't matter what is in the drive, whether it's empty or contains a disc - when it should only stop playback when it contains a CD and we're playing that CD.

Attachments (0)

Change History (4)

comment:1 Changed 8 months ago by Paul Harrison <pharrison@…>

In ceb3182f54482da72bb5ba28030a44ebd70e846e/mythtv:

MythMusic: re-acquire the pointer to the current MusicMetadata? when used

Don't store a pointer to the current MusicMetadata? which can become a
stale pointer if for example a playing CD is ejected which removes the
CD tracks from the active playlist. It's much safer to update it each time
it's needed and NULL check the returned pointer.

Refs #11708.

comment:2 Changed 8 months ago by Paul Harrison <pharrison@…>

In 3823b0ea2af226bc774e1de3f756e619d9b4e089/mythtv:

MythMusic: Stop playing if a CD is ejected and we were playing a track from it

Refs #11708.

comment:3 Changed 8 months ago by Paul Harrison <pharrison@…>

  • Owner set to Paul Harrison <pharrison@…>
  • Resolution set to fixed
  • Status changed from new to closed

In 68256e384a60644dd985cc5e340978d7c060b8c1/mythtv:

MythMusic: Don't stop playback when ejecting a CD/DVD drive

Don't assume that all the tracks on the active playlist was removed when we
receive a media changed event for an ejected CD/DVD.

Fixes #11708.

comment:4 Changed 8 months ago by paulh

  • Owner changed from Paul Harrison <pharrison@…> to paulh

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.