Despite fixes in OTA10, there is still an edge case where a file with a '#' symbol in the path will not play correctly

Bug #1570469 reported by Neil McPhail
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Confirmed
Medium
Unassigned
media-hub (Ubuntu)
Confirmed
Medium
Jim Hodapp

Bug Description

See comment #26 in https://bugs.launchpad.net/canonical-devices-system-image/+bug/1449790

This doesn't seem to be fixed 100% in OTA10:

1) Play a track without a "#" in the path from the music app
2) Click the "Search" area in the "Songs" tab, and search for your track with a "#" in the path
3) select the track - instead of playing the new file with the "#" in the path, the original track will be restarted

Revision history for this message
Neil McPhail (njmcphail) wrote :

To quote:

"

This doesn't seem to be fixed 100% in OTA10:

1) Play a track without a "#" in the path from the music app
2) Click the "Search" area in the "Songs" tab, and search for your track with a "#" in the path
3) select the track - instead of playing the new file with the "#" in the path, the original track will be restarted

"

description: updated
Changed in media-hub (Ubuntu):
status: New → Confirmed
Changed in canonical-devices-system-image:
assignee: nobody → John McAleely (john.mcaleely)
importance: Undecided → Medium
status: New → Confirmed
Changed in canonical-devices-system-image:
milestone: none → 11
Changed in media-hub (Ubuntu):
assignee: nobody → Jim Hodapp (jhodapp)
importance: Undecided → Medium
Changed in canonical-devices-system-image:
milestone: 11 → backlog
milestone: backlog → 11
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Download full text (4.3 KiB)

Reproduced this on rc-proposed. Get this in music app log file:-

qml: onStopped.
OnTrackListReset signal arrived via the bus.
TrackListReset signal received
virtual bool AalMediaPlaylistProvider::addMedia(const QMediaContent&)
Adding track file:///media/phablet/2541-1C26/Music/Space Walrus/CD #1/Proximity Mix.mp3
Failed to add track ' "file:///media/phablet/2541-1C26/Music/Space Walrus/CD #1/Proximity Mix.mp3" ' to playlist: mpris.Player.Error.UriNotFound: Warning: Not adding track file:///media/phablet/2541-1C26/Music/Space Walrus/CD #1/Proximity Mix.mp3 to TrackList because it can't be found.
virtual void AalMediaPlayerControl::play()

and this from media-hub

  Output to wired headset: false
Checking if port is available -> false
PulseAudio sink details for sink.primary with index 0 is available:
  Output to wired headphone: false
  Output to wired headset: false
Checking if port is available -> false
PulseAudio sink details for sink.primary with index 0 is available:
  Output to wired headphone: false
  Output to wired headset: false
void core::ubuntu::media::PlayerImplementation<Parent>::Private::clear_wakelock(const core::ubuntu::media::PlayerImplementation<Parent>::Private::wakelock_clear_t&) [with Parent = core::ubuntu::media::PlayerSkeleton]
void core::ubuntu::media::PlayerImplementation<Parent>::stop() [with Parent = core::ubuntu::media::PlayerSkeleton]
PulseAudio event for sink with index 0 received.
State changed on playbin: PAUSED
Emiting playback_status_changed signal: PlaybackStatus::paused
Checking if port is available -> false
PulseAudio sink details for sink.primary with index 0 is available:
  Output to wired headphone: false
  Output to wired headset: false
State changed on playbin: READY
Emiting playback_status_changed signal: PlaybackStatus::ready
bool gstreamer::Playbin::set_state_and_wait(GstState): requested state change.
Setting state for parent: 0xabd6e764
virtual bool gstreamer::Engine::stop()
Emiting playback_status_changed signal: PlaybackStatus::stopped
virtual void core::ubuntu::media::TrackListImplementation::reset()
Updating MPRIS TrackList properties; Tracks: 0, has_previous: true, has_next: true
*** void core::ubuntu::media::TrackListSkeleton::Private::handle_add_track_with_uri_at(const Ptr&)
apparmor profile name: com.ubuntu.music_music_2.4.971, is_unconfined(): false, has_package_name(): true
context.profile_name(): com.ubuntu.music-music
parsed_uri.path: /media/phablet/2541-1C26/Music/Space Walrus/CD
Warning: Not adding track file:///media/phablet/2541-1C26/Music/Space Walrus/CD #1/Proximity Mix.mp3 to TrackList because it can't be found.
virtual void core::ubuntu::media::ServiceImplementation::pause_other_sessions(core::ubuntu::media::Player::PlayerKey)
bool gstreamer::Playbin::set_state_and_wait(GstState): requested state change.
State changed on playbin: READY
Emiting playback_status_changed signal: PlaybackStatus::ready
State changed on playbin: PAUSED
Emiting playback_status_changed signal: PlaybackStatus::paused
Setting state for parent: 0xabd6e764
Requesting power state
void core::ubuntu::media::PlayerImplementation<Parent>::Private::request_power_state() [with Parent = core::ubuntu::medi...

Read more...

Revision history for this message
Jim Hodapp (jhodapp) wrote :

Much appreciated popey for trying it out and the detailed log disclosures.

Changed in canonical-devices-system-image:
milestone: 11 → 12
Changed in canonical-devices-system-image:
milestone: 12 → 13
Changed in canonical-devices-system-image:
milestone: 13 → backlog
Changed in canonical-devices-system-image:
assignee: John McAleely (john.mcaleely) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.