Cannot play track with a # in the file name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Music App |
New
|
Undecided
|
Unassigned |
Bug Description
rc-proposed/
The music app doesn't play tracks with a # in the file name.
Test Case
1. Copy a valid music file to ~/Music/ on the device
2. On the device copy the file and give it a name that contains a #
3 Play both tracks
Actual Result
Only the original track plays, the copy doesn't
Expected Result
Both track can be played whatever the name is.
When I play the track with a # the following message is displayed in music-app logs
=====
Local file URI: "file:/
Setting media to: QUrl( "file:/
void AalMetaDataRead
void AalMetaDataRead
Doing a mediascanner lookup of file: "///home/
Caught runtime exception from mediascanner: Could not find media ///home/
virtual void AalMediaPlayerC
virtual QMediaPlayer:
virtual QMediaPlayer:
virtual void core::ubuntu:
virtual QMediaPlayer:
virtual QMediaPlayer:
Actually calling m_hubPlayerSess
PlaybackStatusC
Error signal arrived via the bus (Error: 1)
** Media playback error: 1
Error signal arrived via the bus (Error: 1)
** Media playback error: 1
Error signal arrived via the bus (Error: 1)
** Media playback error: 1
Error signal arrived via the bus (Error: 1)
** Media playback error: 1
virtual QMediaPlayer:
virtual QMediaPlayer:
=====
The message "Error signal arrived via the bus (Error: 1)" is not printed for tracks that play successfully.
Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1449790, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.
Also I'm currently writing a test suite which checks for all possible values in filename as we speak :-)