Songs Not Downloading Completely

Alternative Android Client for Subsonic

Moderators: daneren2005, moderators

Songs Not Downloading Completely

Postby jeffgt14 » Thu Sep 10, 2015 5:57 pm

This actually started even before the latest update but I seem to have a problem with songs not downloading completely but showing that they are. The song will play for a certain length and then just skip completely to the next song. I have to delete the cache and redownload the song every time this happens (which is a lot). Usually happens to about 1 song every album. Not sure what the problem is since DSub is showing the song as downloaded completely.
jeffgt14
 
Posts: 34
Joined: Tue Nov 18, 2014 9:35 pm

Re: Songs Not Downloading Completely

Postby daneren2005 » Fri Sep 11, 2015 5:01 pm

What are transcoding from and to? (ie: Flac -> 192 kpbs). You might need to make me a temp username/password so I can test it myself.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Songs Not Downloading Completely

Postby jeffgt14 » Fri Sep 11, 2015 6:00 pm

FLAC to OGG

ffmpeg -v 0 -i %s -f ogg -vn -acodec libvorbis -ar 44100 -aq 8 -ac 2 -

I never had any issues until maybe about a month or 2 ago.
jeffgt14
 
Posts: 34
Joined: Tue Nov 18, 2014 9:35 pm

Re: Songs Not Downloading Completely

Postby daneren2005 » Sun Sep 13, 2015 12:36 am

Honestly, your issue is probably system specific. Android by default does not support OGG and individual manufacturers implement it differently. Did your problem by chance start around when a new system update happened?
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Songs Not Downloading Completely

Postby jeffgt14 » Mon Sep 14, 2015 1:35 pm

It started after one of the incremental 4.7(?) updates of DSub. There may have been a contextual services update or something on my phone as well that screwed it up. I just don’t understand why it downloads fully 90% of the time and not 100% like it used to.
jeffgt14
 
Posts: 34
Joined: Tue Nov 18, 2014 9:35 pm

Re: Songs Not Downloading Completely

Postby daneren2005 » Mon Sep 14, 2015 2:15 pm

I'll need you to pm me a temp username password and an example song to look at
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Songs Not Downloading Completely

Postby jeffgt14 » Fri Sep 25, 2015 1:13 pm

I've noticed this is the error I get when a song doesn't finish downloading. Is this something server side I assume?

[9/25/15 7:50:34 AM CDT] INFO TranscodeInputStream Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-v] [0] [-i] [/Music/Ghost/Ghost - Infestissumam - Vinyl - [FLAC 96-24]/06 - Year Zero.flac] [-f] [ogg] [-vn] [-acodec] [libvorbis] [-ar] [44100] [-aq] [8] [-ac] [2] [-]
[9/25/15 7:50:35 AM CDT] WARN RESTFilter Error in REST API: EofException
[9/25/15 7:50:35 AM CDT] ERROR JAXBWriter Failed to marshal JAXB
[9/25/15 7:50:35 AM CDT] ERROR RESTFilter Failed to write error response.
[9/25/15 7:51:02 AM CDT] WARN RESTFilter Error in REST API: Closed
[9/25/15 7:51:02 AM CDT] ERROR JAXBWriter Failed to marshal JAXB
[9/25/15 7:51:02 AM CDT] ERROR RESTFilter Failed to write error response
jeffgt14
 
Posts: 34
Joined: Tue Nov 18, 2014 9:35 pm

Re: Songs Not Downloading Completely

Postby daneren2005 » Fri Sep 25, 2015 4:14 pm

It's very possible. Though if it was something server side I'm not sure why the problem would be so sporadic. I probably need to revisit the resuming logic. Most of it was coded assuming mp3s so one of the assumptions I make in determining whether the song had finished or not is probably wrong with ogg.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Songs Not Downloading Completely

Postby jeffgt14 » Mon Sep 28, 2015 1:22 pm

I added -map 0:0 to my transcode and it hasn't happened since then. Maybe that fixed it for now I don’t know.
jeffgt14
 
Posts: 34
Joined: Tue Nov 18, 2014 9:35 pm

Re: Songs Not Downloading Completely

Postby jeffgt14 » Mon Sep 28, 2015 4:33 pm

Spoke too soon… Still getting the error.
jeffgt14
 
Posts: 34
Joined: Tue Nov 18, 2014 9:35 pm

Re: Songs Not Downloading Completely

Postby jowtron » Tue Dec 08, 2015 4:32 am

I'm using:
ffmpeg -i %s -map 0:0 -b:a %bk -v 0 -f ogg -

No transcoding issues with the latest version of Vortexbox running subsonic 5.3
jowtron
 
Posts: 11
Joined: Thu Dec 20, 2012 11:37 pm


Return to DSub for Android

Who is online

Users browsing this forum: No registered users and 58 guests