can't seek in mt-daapd-transcoded wav-stream
Submitted by Indriði Einarsson
Link to original bug (#350276)
Description
Please describe the problem: Am using 9.5 on Ubuntu Dapper. Have mt-daapd (svn-1333) on Debian, which transcodes .ogg files to a .wav stream on-the-fly, and serves them as such (since some clients don't read ogg) This works fine with my roku soundbridge, but rhythmbox doesn't even start to play the file, but jumps directly to the next one in the playlist. Playing ogg (or mp3) files from mt-daapd without any transcoding works fine.
Steps to reproduce:
- Have mt-daapd on a seperate machine, and serve a transcoded file
- Let Rhythmbox find the daap-share
- Double-click a song (must be in a format mt-daapd is configured to transcode)
Actual results: I get the ugly red sign, and rhythmbox jumps to the next song. (see debugging-log below)
Expected results: Rhythmbox should play my song.
Does this happen every time? Yes!
Other information: When running rhythmbox -d, and playing a transcoded file of the mt-daapd server, I get the following:
(14:12:49) [0x8147908] [rhythmdb_process_events] rhythmdb.c:1718: processing RHYTHMDB_EVENT_THREAD_EXITED (14:13:36) [0x8147908] [rb_tray_icon_button_press_event_cb] rb-tray-icon.c:374: tray button press (14:13:37) [0x8147908] [rb_shell_player_cmd_play] rb-shell-player.c:1592: play! (14:13:37) [0x8147908] [rb_shell_player_playpause] rb-shell-player.c:1607: doing playpause (14:13:37) [0x8147908] [rb_shell_player_playpause] rb-shell-player.c:1633: no playing source, using selected source (14:13:37) [0x8147908] [rb_shell_player_set_playing_source_internal] rb-shell-player.c:2171: setting playing source to 0x87d8820 (14:13:37) [0x8147908] [rb_shell_player_sync_with_source] rb-shell-player.c:2048: playing source: 0x87d8820, active entry: (nil) (14:13:37) [0x8147908] [rb_shell_set_window_title] rb-shell.c:2021: clearing title (14:13:37) [0x8147908] [rb_shell_player_get_playing_song_duration] rb-shell-player.c:2361: [color=red]Did not get playing entry : return -1 as length[/color] (14:13:37) [0x8147908] [rb_header_sync] rb-header.c:331: syncing with entry = (nil) (14:13:37) [0x8147908] [rb_header_sync] rb-header.c:360: not playing (14:13:37) [0x8147908] [rb_shell_player_sync_buttons] rb-shell-player.c:2107: syncing with source 0x87d8820 (14:13:37) [0x8147908] [rb_shell_playing_source_changed_cb] rb-shell.c:1820: playing source changed (14:13:37) [0x8147908] [rb_shell_player_playpause] rb-shell-player.c:1669: getting entry from play order (14:13:37) [0x8147908] [rb_shell_player_open_location] rb-shell-player.c:984: Opening daap://192.168.1.3:3689/databases/1/items/3632.wav?session-id=2... (14:13:37) [0x8147908] [rb_player_gst_sync_pipeline] rb-player-gst.c:586: syncing pipeline (14:13:37) [0x8147908] [rb_player_gst_sync_pipeline] rb-player-gst.c:597: PAUSING pipeline (14:13:37) [0x8147908] [rb_daap_src_open] rb-daap-src.c:665: Connecting to DAAP source: daap://192.168.1.3:3689/databases/1/items/3632.wav?session-id=2 (14:13:37) [0x8147908] [rb_player_gst_sync_pipeline] rb-player-gst.c:586: syncing pipeline (14:13:37) [0x8147908] [rb_player_gst_sync_pipeline] rb-player-gst.c:588: PLAYING pipeline (14:13:37) [0x8147908] [rb_shell_player_set_playing_entry] rb-shell-player.c:1133: Success! (14:13:37) [0x8147908] [rb_tray_icon_notify] rb-tray-icon.c:526: doing notify: Fyrsti þáttur af fjórum (14:13:37) [0x8147908] [rb_shell_player_sync_with_source] rb-shell-player.c:2048: playing source: 0x87d8820, active entry: 0xb6cd9468 (14:13:37) [0x8147908] [rb_shell_set_window_title] rb-shell.c:2044: setting title to "Megas - Fyrsti þáttur af fjórum" (14:13:37) [0x8147908] [rb_header_sync] rb-header.c:331: syncing with entry = 0xb6cd9468 (14:13:37) [0x8147908] [rb_shell_player_sync_buttons] rb-shell-player.c:2107: syncing with source 0x87d8820 (14:13:37) [0x8147908] [rb_shell_player_sync_with_source] rb-shell-player.c:2048: playing source: 0x87d8820, active entry: 0xb6cd9468 (14:13:37) [0x8147908] [rb_header_sync] rb-header.c:331: syncing with entry = 0xb6cd9468 (14:13:37) [0x8147908] [rb_shell_player_sync_buttons] rb-shell-player.c:2107: syncing with source 0x87d8820 (14:13:37) [0x8147908] [rb_shell_clipboard_entryview_changed_cb] rb-shell-clipboard.c:694: entryview changed (14:13:37) [0x8147908] [rb_shell_clipboard_sync] rb-shell-clipboard.c:486: syncing clipboard color=red [0x8147908] [rb_shell_player_error] rb-shell-player.c:2468: playback error while playing: Could not determine type of stream.[/color] (14:13:37) [0x8147908] [error_cb] rb-shell-player.c:2506: exiting error hander (14:13:37) [0x8147908] [eos_cb] rb-shell-player.c:2387: eos! (14:13:37) [0x8147908] [rb_shell_player_do_next] rb-shell-player.c:1487: No next entry, stopping playback (14:13:37) [0x8147908] [rb_shell_player_set_playing_source_internal] rb-shell-player.c:2171: setting playing source to (nil) (14:13:37) [0x8147908] [rb_shell_player_set_playing_source_internal] rb-shell-player.c:2194: source is already playing, stopping it (14:13:37) [0x8147908] [rb_shell_player_stop] rb-shell-player.c:2245: stopping (14:13:37) [0x8147908] [rb_shell_player_sync_with_source] rb-shell-player.c:2048: playing source: (nil), active entry: (nil) (14:13:37) [0x8147908] [rb_shell_set_window_title] rb-shell.c:2021: clearing title (14:13:37) [0x8147908] [rb_shell_player_get_playing_song_duration] rb-shell-player.c:2361: Did not get playing entry : return -1 as length (14:13:37) [0x8147908] [rb_header_sync] rb-header.c:331: syncing with entry = (nil) (14:13:37) [0x8147908] [rb_header_sync] rb-header.c:360: not playing (14:13:37) [0x8147908] [rb_shell_player_sync_buttons] rb-shell-player.c:2107: syncing with source 0x87d8820 (14:13:37) [0x8147908] [rb_shell_player_sync_with_source] rb-shell-player.c:2048: playing source: (nil), active entry: (nil) (14:13:37) [0x8147908] [rb_shell_set_window_title] rb-shell.c:2021: clearing title (14:13:37) [0x8147908] [rb_shell_player_get_playing_song_duration] rb-shell-player.c:2361: Did not get playing entry : return -1 as length (14:13:37) [0x8147908] [rb_header_sync] rb-header.c:331: syncing with entry = (nil) (14:13:37) [0x8147908] [rb_header_sync] rb-header.c:360: not playing (14:13:37) [0x8147908] [rb_shell_player_sync_buttons] rb-shell-player.c:2107: syncing with source 0x87d8820 (14:13:37) [0x8147908] [rb_shell_playing_source_changed_cb] rb-shell.c:1820: playing source changed (14:13:37) [0x8147908] [rb_shell_player_set_playing_source_internal] rb-shell-player.c:2171: setting playing source to (nil) (14:13:37) [0x8147908] [rb_shell_player_stop] rb-shell-player.c:2245: stopping (14:13:37) [0x8147908] [rb_shell_player_sync_with_source] rb-shell-player.c:2048: playing source: (nil), active entry: (nil) (14:13:37) [0x8147908] [rb_shell_set_window_title] rb-shell.c:2021: clearing title (14:13:37) [0x8147908] [rb_shell_player_get_playing_song_duration] rb-shell-player.c:2361: Did not get playing entry : return -1 as length (14:13:37) [0x8147908] [rb_header_sync] rb-header.c:331: syncing with entry = (nil) (14:13:37) [0x8147908] [rb_header_sync] rb-header.c:360: not playing (14:13:37) [0x8147908] [rb_shell_player_sync_buttons] rb-shell-player.c:2107: syncing with source 0x87d8820 (14:13:37) [0x8147908] [rb_shell_player_sync_with_source] rb-shell-player.c:2048: playing source: (nil), active entry: (nil) (14:13:37) [0x8147908] [rb_shell_set_window_title] rb-shell.c:2021: clearing title (14:13:37) [0x8147908] [rb_shell_player_get_playing_song_duration] rb-shell-player.c:2361: Did not get playing entry : return -1 as length (14:13:37) [0x8147908] [rb_header_sync] rb-header.c:331: syncing with entry = (nil) (14:13:37) [0x8147908] [rb_header_sync] rb-header.c:360: not playing (14:13:37) [0x8147908] [rb_shell_player_sync_buttons] rb-shell-player.c:2107: syncing with source 0x87d8820 (14:13:37) [0x8147908] [rb_shell_playing_source_changed_cb] rb-shell.c:1820: playing source changed (14:13:37) [0x8147908] [rb_shell_clipboard_entryview_changed_cb] rb-shell-clipboard.c:694: entryview changed (14:13:37) [0x8147908] [rb_shell_clipboard_sync] rb-shell-clipboard.c:486: syncing clipboard (14:13:49) [0x8147908] [rhythmdb_read_enter] rhythmdb.c:680: counter: 1 (14:13:49) [0x8147908] [rhythmdb_read_enter] rhythmdb.c:680: counter: 2 (14:13:49) [0x81a7878] [query_thread_main] rhythmdb.c:2949: entering query thread (14:13:49) [0x81a7878] [rhythmdb_query_internal] rhythmdb.c:2926: doing query (14:13:49) [0x81a7878] [do_query_recurse] rhythmdb-tree.c:1774: doing recursive query, 1 conjunctions (14:13:49) [0x81a7878] [rhythmdb_query_model_add_results] rhythmdb-query-model.c:1697: adding 0 entries (14:13:49) [0x8147908] [idle_process_update] rhythmdb-query-model.c:911: inserting 0 rows (14:13:49) [0x81a7878] [rhythmdb_query_internal] rhythmdb.c:2932: completed (14:13:49) [0x8749210] [query_thread_main] rhythmdb.c:2949: entering query thread (14:13:49) [0x8749210] [rhythmdb_query_internal] rhythmdb.c:2926: doing query (14:13:49) [0x8749210] [do_query_recurse] rhythmdb-tree.c:1774: doing recursive query, 1 conjunctions (14:13:49) [0x8749210] [rhythmdb_query_model_add_results] rhythmdb-query-model.c:1697: adding 5 entries (14:13:49) [0x8147908] [idle_process_update] rhythmdb-query-model.c:911: inserting 5 rows (14:13:49) [0x8749210] [rhythmdb_query_internal] rhythmdb.c:2932: completed (14:13:49) [0x8147908] [rhythmdb_process_events] rhythmdb.c:1725: processing RHYTHMDB_EVENT_QUERY_COMPLETE (14:13:49) [0x8147908] [rhythmdb_read_leave] rhythmdb.c:694: counter: 1 (14:13:49) [0x8147908] [rhythmdb_process_events] rhythmdb.c:1718: processing RHYTHMDB_EVENT_THREAD_EXITED (14:13:49) [0x8147908] [rhythmdb_process_events] rhythmdb.c:1725: processing RHYTHMDB_EVENT_QUERY_COMPLETE (14:13:49) [0x8147908] [rhythmdb_read_leave] rhythmdb.c:694: counter: 0 (14:13:49) [0x8147908] [rhythmdb_process_events] rhythmdb.c:1718: processing RHYTHMDB_EVENT_THREAD_EXITED
Version: 0.9.5