Android player won't play the whole song.

Need help? Post your questions here.

Moderator: moderators

Android player won't play the whole song.

Postby djton99 » Fri Nov 18, 2011 2:06 pm

Hey folks. I seem to have a problem with the Android client. I have emailed the dev, but nothing back... When using the Android app, songs only play part way through. It seems to happen at different time in songs. I believe it is based on the size of the song. Perhaps a ram/cache problem on android. The player will just stop, and move to next song part way through. I can browse to the file in the cache, and play fine with built in music app, so I know the file isn't bad. It should also be noted, that there are no similar playback issues from web interface. Ideas?
djton99
 
Posts: 6
Joined: Wed Jul 20, 2011 12:16 pm
Location: NH

Re: Android player won't play the whole song.

Postby bushman4 » Fri Nov 18, 2011 3:30 pm

If you are running anything lower than version 4.6 beta 2 this is a known issue that has been fixed in 4.6 beta 2.

Give it a try.

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Android player won't play the whole song.

Postby djton99 » Fri Nov 18, 2011 4:33 pm

same issue after 4.6beta2. Other ideas anyone?
djton99
 
Posts: 6
Joined: Wed Jul 20, 2011 12:16 pm
Location: NH

Re: Android player won't play the whole song.

Postby djton99 » Tue Nov 22, 2011 5:08 pm

Here is some log info.. operation not permitted error from ffmpeg...?

Songs are indeed being cut off during encoding. If I use file explorer on android device to navigate to subsonic cache, and play file from there, they are indeed incomplete file.


[2011-11-22 11:48:49,323] INFO PlaylistInputStream - admin listening to "Astro-Creep_ 2000/03 Real Solution #9.mp3"
[2011-11-22 11:48:49,329] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/XXX/XXX/subsonicLibrary/White Zombie/Astro-Creep_ 2000/03 Real Solution #9.mp3] [-ab] [96k] [-v] [0] [-f] [mp3] [-]
[2011-11-22 11:48:49,411] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) ffmpeg version N-31780-gd5d74cf, Copyright (c) 2000-2011 the FFmpeg developers
[2011-11-22 11:48:49,411] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) built on Aug 9 2011 14:18:27 with gcc 4.5.2
[2011-11-22 11:48:49,412] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) configuration: --disable-ffplay --disable-ffprobe --disable-ffserver --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-version3 --enable-bzlib --enable-static --disable-shared --extra-libs=-static --extra-cflags=--static
[2011-11-22 11:48:49,412] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavutil 51. 11. 1 / 51. 11. 1
[2011-11-22 11:48:49,412] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavcodec 53. 9. 1 / 53. 9. 1
[2011-11-22 11:48:49,412] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavformat 53. 6. 0 / 53. 6. 0
[2011-11-22 11:48:49,412] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavdevice 53. 2. 0 / 53. 2. 0
[2011-11-22 11:48:49,412] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavfilter 2. 28. 1 / 2. 28. 1
[2011-11-22 11:48:49,412] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libswscale 2. 0. 0 / 2. 0. 0
[2011-11-22 11:48:49,412] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libpostproc 51. 2. 0 / 51. 2. 0
[2011-11-22 11:48:49,477] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) [mp3 @ 0x99c3b20] max_analyze_duration 5000000 reached at 5015510
[2011-11-22 11:48:49,477] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) [mp3 @ 0x99c3b20] Estimating duration from bitrate, this may be inaccurate
[2011-11-22 11:48:49,478] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Input #0, mp3, from '/XXX/XXX/subsonicLibrary/White Zombie/Astro-Creep_ 2000/03 Real Solution #9.mp3':
[2011-11-22 11:48:49,478] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Metadata:
[2011-11-22 11:48:49,478] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) title : Real Solution #9
[2011-11-22 11:48:49,478] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) artist : White Zombie
[2011-11-22 11:48:49,478] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) album : Astro-Creep: 2000
[2011-11-22 11:48:49,478] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) disc : 1/1
[2011-11-22 11:48:49,478] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) genre : Hard Rock
[2011-11-22 11:48:49,478] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) encoded_by : iTunes v4.7
[2011-11-22 11:48:49,479] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) track : 3/11
[2011-11-22 11:48:49,479] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) TBPM : 87
[2011-11-22 11:48:49,479] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Duration: 00:04:50.37, start: 0.000000, bitrate: 160 kb/s
[2011-11-22 11:48:49,479] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 160 kb/s
[2011-11-22 11:48:49,497] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Output #0, mp3, to 'pipe:':
[2011-11-22 11:48:49,497] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Metadata:
[2011-11-22 11:48:49,497] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) TIT2 : Real Solution #9
[2011-11-22 11:48:49,497] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) TPE1 : White Zombie
[2011-11-22 11:48:49,497] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) TALB : Astro-Creep: 2000
[2011-11-22 11:48:49,497] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) TPOS : 1/1
[2011-11-22 11:48:49,498] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) TCON : Hard Rock
[2011-11-22 11:48:49,498] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) TENC : iTunes v4.7
[2011-11-22 11:48:49,498] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) TRCK : 3/11
[2011-11-22 11:48:49,498] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) TBPM : 87
[2011-11-22 11:48:49,498] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) TSSE : Lavf53.6.0
[2011-11-22 11:48:49,498] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream #0.0: Audio: libmp3lame, 44100 Hz, stereo, s16, 96 kb/s
[2011-11-22 11:48:49,498] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream mapping:
[2011-11-22 11:48:49,498] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream #0.0 -> #0.0
[2011-11-22 11:48:49,499] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Press [q] to stop, [?] for help
[2011-11-22 11:48:50,647] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) av_interleaved_write_frame(): Operation not permitted
[2011-11-22 11:48:54,849] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) [mp3 @ 0x99c4080] overread, skip -4 enddists: -1 -1
[2011-11-22 11:49:06,623] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) av_interleaved_write_frame(): Operation not permitted
djton99
 
Posts: 6
Joined: Wed Jul 20, 2011 12:16 pm
Location: NH

Re: Android player won't play the whole song.

Postby djton99 » Tue Nov 22, 2011 5:17 pm

If I play the same file from the web player it works fine.. log below


[2011-11-22 12:10:25,507] INFO PlaylistInputStream - admin listening to "Astro-Creep_ 2000/03 Real Solution #9.mp3"
[2011-11-22 12:10:25,520] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/XXX/XXX/subsonicLibrary/White Zombie/Astro-Creep_ 2000/03 Real Solution #9.mp3] [-ab] [96k] [-v] [0] [-f] [mp3] [-]
[2011-11-22 12:10:25,641] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) ffmpeg version N-31780-gd5d74cf, Copyright (c) 2000-2011 the FFmpeg developers
[2011-11-22 12:10:25,642] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) built on Aug 9 2011 14:18:27 with gcc 4.5.2
[2011-11-22 12:10:25,642] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) configuration: --disable-ffplay --disable-ffprobe --disable-ffserver --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-version3 --enable-bzlib --enable-static --disable-shared --extra-libs=-static --extra-cflags=--static
[2011-11-22 12:10:25,642] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavutil 51. 11. 1 / 51. 11. 1
[2011-11-22 12:10:25,642] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavcodec 53. 9. 1 / 53. 9. 1
[2011-11-22 12:10:25,642] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavformat 53. 6. 0 / 53. 6. 0
[2011-11-22 12:10:25,643] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavdevice 53. 2. 0 / 53. 2. 0
[2011-11-22 12:10:25,643] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavfilter 2. 28. 1 / 2. 28. 1
[2011-11-22 12:10:25,643] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libswscale 2. 0. 0 / 2. 0. 0
[2011-11-22 12:10:25,643] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libpostproc 51. 2. 0 / 51. 2. 0
[2011-11-22 12:10:25,708] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) [mp3 @ 0xa23cb20] max_analyze_duration 5000000 reached at 5015510
[2011-11-22 12:10:25,708] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) [mp3 @ 0xa23cb20] Estimating duration from bitrate, this may be inaccurate
[2011-11-22 12:10:25,708] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Input #0, mp3, from '/XXX/XXX/subsonicLibrary/White Zombie/Astro-Creep_ 2000/03 Real Solution #9.mp3':
[2011-11-22 12:10:25,708] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Metadata:
[2011-11-22 12:10:25,708] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) title : Real Solution #9
[2011-11-22 12:10:25,708] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) artist : White Zombie
[2011-11-22 12:10:25,708] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) album : Astro-Creep: 2000
[2011-11-22 12:10:25,709] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) disc : 1/1
[2011-11-22 12:10:25,709] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) genre : Hard Rock
[2011-11-22 12:10:25,709] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) encoded_by : iTunes v4.7
[2011-11-22 12:10:25,709] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) track : 3/11
[2011-11-22 12:10:25,709] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) TBPM : 87
[2011-11-22 12:10:25,709] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Duration: 00:04:50.37, start: 0.000000, bitrate: 160 kb/s
[2011-11-22 12:10:25,709] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 160 kb/s
[2011-11-22 12:10:25,727] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Output #0, mp3, to 'pipe:':
[2011-11-22 12:10:25,727] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Metadata:
[2011-11-22 12:10:25,727] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) TIT2 : Real Solution #9
[2011-11-22 12:10:25,728] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) TPE1 : White Zombie
[2011-11-22 12:10:25,728] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) TALB : Astro-Creep: 2000
[2011-11-22 12:10:25,728] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) TPOS : 1/1
[2011-11-22 12:10:25,728] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) TCON : Hard Rock
[2011-11-22 12:10:25,728] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) TENC : iTunes v4.7
[2011-11-22 12:10:25,728] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) TRCK : 3/11
[2011-11-22 12:10:25,728] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) TBPM : 87
[2011-11-22 12:10:25,728] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) TSSE : Lavf53.6.0
[2011-11-22 12:10:25,728] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream #0.0: Audio: libmp3lame, 44100 Hz, stereo, s16, 96 kb/s
[2011-11-22 12:10:25,729] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream mapping:
[2011-11-22 12:10:25,729] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream #0.0 -> #0.0
[2011-11-22 12:10:25,729] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Press [q] to stop, [?] for help
djton99
 
Posts: 6
Joined: Wed Jul 20, 2011 12:16 pm
Location: NH

Re: Android player won't play the whole song.

Postby Avathar » Sun Dec 18, 2011 11:21 am

exact same problem here with subsonic 4.6 final

every song stops after a fixed duration, which is different for each song
Avathar
 
Posts: 8
Joined: Sun Dec 18, 2011 11:09 am

Re: Android player won't play the whole song.

Postby bootlog » Sun Dec 18, 2011 2:35 pm

I found a workaround: switch your android player from "external player" to "web player" in webinterface (settings -> player).
At least that works for me.
bootlog
 
Posts: 1
Joined: Sun Dec 18, 2011 2:29 pm

Re: Android player won't play the whole song.

Postby Avathar » Sun Dec 18, 2011 3:05 pm

bootlog wrote:I found a workaround: switch your android player from "external player" to "web player" in webinterface (settings -> player).


works for me too..thank you very much
keep in mind, that you have to remove the cached files, because they aren't automatically redownloaded
Avathar
 
Posts: 8
Joined: Sun Dec 18, 2011 11:09 am

Re: Android player won't play the whole song.

Postby mrgospel » Fri Feb 03, 2012 11:23 pm

Finally it works!!! Tried it, and yes you must clear the cache.
mrgospel
 
Posts: 1
Joined: Fri Feb 03, 2012 11:21 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 25 guests