Bug 1209574 - Rhythmbox fails to play mp3 music as normal user
Summary: Rhythmbox fails to play mp3 music as normal user
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: rhythmbox
Version: 22
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-07 16:50 UTC by Thore
Modified: 2020-09-17 02:33 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 13:39:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Thore 2015-04-07 16:50:05 UTC
Description of problem: I can't play or import mp3 music (haven't been able to test with other formats) with rhythmbox as a normal user. On root it works fine.


Version-Release number of selected component (if applicable):
rhythmbox-3.1-1.fc21.x86_64

gstreamer-tools-0.10.36-11.fc21.x86_64
PackageKit-gstreamer-plugin-1.0.4-1.fc21.x86_64
gstreamer1-plugins-good-extras-1.4.5-2.fc21.x86_64
gstreamer1-plugins-bad-free-1.4.5-2.fc21.x86_64
gstreamer-plugins-base-0.10.36-12.fc21.x86_64
gstreamer1-plugins-ugly-1.4.3-1.fc21.x86_64
gstreamer-ffmpeg-0.10.13-14.fc21.x86_64
gstreamer-plugins-good-0.10.31-13.fc21.x86_64
gstreamer-plugins-bad-0.10.23-6.fc21.x86_64
gstreamer1-libav-1.4.3-1.fc21.x86_64
gstreamer-plugins-bad-free-extras-0.10.23-24.fc21.x86_64
gstreamer-plugin-crystalhd-3.10.0-8.fc21.x86_64
gstreamer1-plugins-bad-free-extras-1.4.5-2.fc21.x86_64
gstreamer1-1.4.5-1.fc21.x86_64
gstreamer-plugins-ugly-0.10.19-18.fc21.x86_64
libnice-gstreamer1-0.1.7-1.fc21.x86_64
gstreamer-plugins-espeak-0.4.0-5.fc21.x86_64
gstreamer1-plugins-base-tools-1.4.5-1.fc21.x86_64
gstreamer1-plugins-bad-freeworld-1.4.3-1.fc21.x86_64
gstreamer-plugins-bad-free-0.10.23-24.fc21.x86_64
gstreamer1-plugins-good-1.4.5-2.fc21.x86_64
gstreamer1-plugins-base-1.4.5-1.fc21.x86_64
gstreamer-plugins-bad-nonfree-0.10.23-3.fc21.x86_64
gstreamer-0.10.36-11.fc21.x86_64

How reproducible:
Everytime I open rhythmbox

Steps to Reproduce:
1. start rhythmbox -d
2. use rhythmbox-client -play-uri=/home/tamwyn/Music/Hozier\ -\ Take\ Me\ To\ Church.mp3
3. Take a look in the output

Actual results:
(18:32:02) [0x22e8980] [add_string_property] rb-mpris-plugin.c:373: adding xesam:url = file:///home/tamwyn/Music/Hozier%20-%20Take%20Me%20To%20Church.mp3
(18:32:02) [0x22e8980] [add_ulong_property_as_int64] rb-mpris-plugin.c:436: adding mpris:length = 0
(18:32:02) [0x22e8980] [add_ulong_property] rb-mpris-plugin.c:419: adding xesam:trackNumber = 0
(18:32:02) [0x22e8980] [add_ulong_property] rb-mpris-plugin.c:419: adding xesam:useCount = 0
(18:32:02) [0x22e8980] [add_double_property] rb-mpris-plugin.c:452: adding xesam:userRating = 0,000000
(18:32:02) [0x22e8980] [lookup_cb] rb-ext-db.c:536: lookup failed
(18:32:02) [0x22e8980] [rb_uri_could_be_podcast] rb-file-helpers.c:621: 'file:///home/tamwyn/Music/Hozier%20-%20Take%20Me%20To%20Church.mp3' can't be a Podcast or OPML file, not the right scheme
(18:32:02) [0x22e8980] [load_uri_finish] rb-shell.c:2864: found an entry to play
(18:32:02) [0x22e8980] [rb_shell_player_stop] rb-shell-player.c:2119: stopping
(18:32:02) [0x22e8980] [rb_shell_player_set_playing_source_internal] rb-shell-player.c:2055: setting playing source to (nil)
(18:32:02) [0x22e8980] [rb_shell_player_set_playing_source_internal] rb-shell-player.c:2078: source is already playing, stopping it
(18:32:02) [0x22e8980] [player_has_prev_changed_cb] rb-mpris-plugin.c:1309: emitting CanGoPrevious change
(18:32:02) [0x22e8980] [rb_shell_player_sync_with_source] rb-shell-player.c:1882: playing source: (nil), active entry: (nil)
(18:32:02) [0x22e8980] [rb_shell_set_window_title] rb-shell.c:2366: clearing title
(18:32:02) [0x22e8980] [rb_shell_player_sync_buttons] rb-shell-player.c:1974: syncing with source 0x27245d0
(18:32:02) [0x22e8980] [rb_shell_playing_source_changed_cb] rb-shell.c:2209: playing source changed
(18:32:02) [0x22e8980] [playing_source_changed_cb] rb-mpris-plugin.c:1285: emitting CanPause change
(18:32:02) [0x22e8980] [playing_source_changed_cb] rb-mpris-plugin.c:1288: emitting ActivePlaylist change
(18:32:02) [0x22e8980] [rb_shell_player_sync_with_source] rb-shell-player.c:1882: playing source: (nil), active entry: (nil)
(18:32:02) [0x22e8980] [rb_shell_set_window_title] rb-shell.c:2366: clearing title
(18:32:02) [0x22e8980] [playing_entry_changed_cb] rb-mpris-plugin.c:1209: emitting Metadata and CanSeek changed
(18:32:02) [0x22e8980] [rb_audioscrobbler_song_changed_cb] rb-audioscrobbler.c:1065: called with no playing entry
(18:32:02) [0x22e8980] [rb_audioscrobbler_song_changed_cb] rb-audioscrobbler.c:1065: called with no playing entry
(18:32:02) [0x22e8980] [playing_changed_cb] rb-mpris-plugin.c:1189: emitting PlaybackStatus change
(18:32:02) [0x22e8980] [rb_shell_player_sync_buttons] rb-shell-player.c:1974: syncing with source 0x27245d0
(18:32:02) [0x22e8980] [rb_shell_player_set_playing_source_internal] rb-shell-player.c:2055: setting playing source to 0x27245d0
(18:32:02) [0x22e8980] [player_has_prev_changed_cb] rb-mpris-plugin.c:1309: emitting CanGoPrevious change
(18:32:02) [0x22e8980] [rb_shell_player_sync_with_source] rb-shell-player.c:1882: playing source: 0x27245d0, active entry: (nil)
(18:32:02) [0x22e8980] [rb_shell_set_window_title] rb-shell.c:2366: clearing title
(18:32:02) [0x22e8980] [rb_shell_player_sync_buttons] rb-shell-player.c:1974: syncing with source 0x27245d0
(18:32:02) [0x22e8980] [rb_shell_playing_source_changed_cb] rb-shell.c:2209: playing source changed
(18:32:02) [0x22e8980] [playing_source_changed_cb] rb-mpris-plugin.c:1285: emitting CanPause change
(18:32:02) [0x22e8980] [playing_source_changed_cb] rb-mpris-plugin.c:1288: emitting ActivePlaylist change
(18:32:02) [0x22e8980] [rb_shell_player_sync_with_source] rb-shell-player.c:1882: playing source: 0x27245d0, active entry: 0x7f2784087e10
(18:32:02) [0x22e8980] [rb_shell_set_window_title] rb-shell.c:2389: setting title to ""
(18:32:02) [0x22e8980] [rb_shell_player_sync_buttons] rb-shell-player.c:1974: syncing with source 0x27245d0
(18:32:02) [0x22e8980] [playing_changed_cb] rb-mpris-plugin.c:1189: emitting PlaybackStatus change
(18:32:02) [0x22e8980] [rb_shell_player_error] rb-shell-player.c:2443: playback error while playing: Problem occurred without error being set. This is a bug in Rhythmbox or GStreamer.
(18:32:02) [0x22e8980] [entry_changed_cb] rb-mpris-plugin.c:1273: emitting Metadata change due to property changes
(18:32:02) [0x22e8980] [add_string_property] rb-mpris-plugin.c:373: adding xesam:url = file:///home/thore/Musik/Hozier%20-%20Take%20Me%20To%20Church.mp3
(18:32:02) [0x22e8980] [add_ulong_property_as_int64] rb-mpris-plugin.c:436: adding mpris:length = 0
(18:32:02) [0x22e8980] [add_ulong_property] rb-mpris-plugin.c:419: adding xesam:trackNumber = 0
(18:32:02) [0x22e8980] [add_ulong_property] rb-mpris-plugin.c:419: adding xesam:useCount = 0
(18:32:02) [0x22e8980] [add_double_property] rb-mpris-plugin.c:452: adding xesam:userRating = 0,000000
(18:32:02) [0x22e8980] [lookup_cb] rb-ext-db.c:536: lookup failed
(18:32:02) [0x22e8980] [rb_shell_player_handle_eos] rb-shell-player.c:498: called to simulate EOS for playing entry, but nothing is playing


Expected results:
Rhythmbox playing music

Additional info:
VLC and as mentioned rhythmbox as root can play the music and rhythbox can import my music collection but I don't want to run my music player as root.

Comment 1 Thore 2015-04-17 17:16:52 UTC
I've tried to add a file via drag and drop to the library and checked rhythmbox -d again:

(rhythmbox:18722): GLib-GIO-CRITICAL **: g_file_info_get_attribute_uint64: assertion 'G_IS_FILE_INFO (info)' failed
(19:12:42) [0x24d9b80] [rb_encoder_gst_emit_completed] rb-encoder-gst.c:142: destination file size: 0
(19:12:42) [0x24d9b80] [encoder_completed_cb] rb-track-transfer-batch.c:543: encoder finished (error: Didn't get a playback URI for entry file:///home/tamwyn/Musik/Hozier%20-%20Take%20Me%20To%20Church.mp3)
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.


Additionally I recieve a window with the content:
"Didn't get a playback URI for entry file:///home/tamwyn/Musik/Hozier%20-%20Take%20Me%20To%20Church.mp3"


What could be the problem with the permissions from the encoder that it works as root?

Comment 2 fulminemizzega 2015-09-04 00:48:31 UTC
Hello,
I encountered this issue with fedora 22, trying to play an mp3 file. This is what I discovered:
renaming mp3 file makes it work.
duplicating the mp3 file with nautilus (the copy has a "(copy)" appended to the filename), and opening the new mp3 file works. The old file continues to not work.

I tried also running rythmbox with root, and it plays the original file as Thore reported.

Comment 3 wibrown@redhat.com 2015-10-27 03:42:51 UTC
cd ~/Music
find . -exec touch '{}' \;

Corrected the issue for me, all my files are now importing and accessible.

Comment 4 Fedora End Of Life 2016-07-19 13:39:50 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 5 crvi 2020-09-13 08:49:54 UTC
Is this still an issue on latest rhythmbox 3.4.4 ?

Comment 6 crvi 2020-09-13 08:50:28 UTC
What filesystem was the audio file on ?

Comment 7 Thore 2020-09-17 02:33:02 UTC
I haven't used rhythmbox in the last 4 years and have no comparable system to try to reproduce this this again.

I have been experimenting with btrfs at that time, though it is unlikely that this was on fedora.


Note You need to log in before you can comment on or make changes to this bug.