Songs stop after a few seconds

Need help? Post your questions here.

Moderator: moderators

Songs stop after a few seconds

Postby duckman » Tue Aug 23, 2011 4:45 pm

Hi, thanks for fantastic software!

I'm running Subsonic on a Ubuntu server, and recently upgraded to 4.5.beta2, after getting an annoying popup everytime anyone logged in - just saying "Error".

Yesterday it resurfaced, and today I startet getting problems with playing certain tracks.

They start, and play 4-5 seconds before stopping.
The log output is:
INFO StreamController Got range: Range[3999541,3999541] ( Numbers obviously change)

I changed the filename slightly (adding an underscore) and loaded the album again - song plays without problem.
Renamed back to original, same problem.

I then updated to 4.5 - and the "Error" message disappeared. There has NOT been any changes on either the server running the Subsonic service, or the fileserver. Both run updated Ubuntu Server. Files belong to root, with 0777 permission.

But the songs still keep stopping at a few seconds. It seems inconsistant, because I played the album which gave the error 3-4 times today before it happened.
Thought maybe you had gone all Spotify on me, putting in a maximum number of allowed plays ;)

Switching to a new computer helps, rebooting the computer did not help. I'm using Win7 with Google Chrome, Vista with Chrome and Linux Mint with Chrome.

Any way past this? It's getting extremely annoying to have to download the songs before I can play them...
duckman
 
Posts: 7
Joined: Tue Aug 23, 2011 2:00 pm

Re: Songs stop after a few seconds

Postby BKKKPewsey » Tue Aug 23, 2011 6:03 pm

I get this with Chrome on windows occasionally. 1st try to clear the browser cache and refresh page.
If that doesnt help delete the jetty cache (where that is on your system I dunno)
but on windoze its in c:/subsonic/jetty/xxxx/jsp/org/apache/jsp/delete what is here
Dont forget to stop SS first then restart.

If that doesn't work play the cd :wink:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Songs stop after a few seconds

Postby duckman » Wed Aug 24, 2011 6:22 am

Thank you! I'll try that.

BKKKPewsey wrote:If that doesn't work play the cd :wink:


That's sort of why I use Subsonic, I don't have a CD-player. I buy mainly LPs, downloading the mp3s or ripping to FLAC.
When I buy CDs I rip those from my computer, and put them on the server

At home I play using XBMC. At work and on the road I use Subsonic.

So when that stops working my life is in shambles ;)
duckman
 
Posts: 7
Joined: Tue Aug 23, 2011 2:00 pm

Re: Songs stop after a few seconds

Postby duckman » Thu Sep 01, 2011 1:37 pm

I've tried that a few times now, clearing the cache in the browser. Does no good at all.
Not clearing cache, not clearing cache on server.
And even if it HAD worked, I can't mess around with logging in to the server and deleting cache there whenever this happens, that's really something for the developer to fix.

It's really getting so annoying I've started looking around for options. I've even been using Crappify these last days.

Looking forward to a fix for this.
duckman
 
Posts: 7
Joined: Tue Aug 23, 2011 2:00 pm

Re: Songs stop after a few seconds

Postby yourlord » Thu Sep 01, 2011 10:25 pm

post all the logs from subsonic when the issue occurs next.
yourlord
 
Posts: 29
Joined: Fri Apr 29, 2011 1:05 am

Re: Songs stop after a few seconds

Postby duckman » Fri Sep 02, 2011 10:00 am

This is from trying to play a song that failed yesterday.

I'm using Chrome.

Code: Select all
[02.09.11 11:57:19 CEST]   INFO   StreamController   Got range: Range[10029055,10029055]
[02.09.11 11:57:19 CEST]   INFO   PlaylistInputStream   rune listening to "The Steel Wheels, Live at Goose Creek/13 Blueridge Mountains_Honey Bear_Hangman's Reel.mp3"
[02.09.11 11:57:19 CEST]   INFO   StreamController   Got range: Range[10029055,10029055]
[02.09.11 11:57:19 CEST]   INFO   PlaylistInputStream   rune listening to "The Steel Wheels, Live at Goose Creek/13 Blueridge Mountains_Honey Bear_Hangman's Reel.mp3"


As I said in the start, if I rename the song it plays nicely. Name it back to the original: same problem.

Same song plays nicely in IE.

It's not an option using another browser though. Chrome is what I have, and what I use. It needs to work there.
duckman
 
Posts: 7
Joined: Tue Aug 23, 2011 2:00 pm

Re: Songs stop after a few seconds

Postby duckman » Thu Nov 17, 2011 10:08 am

ANy progress on this?

It's getting utterly annoying. Chrome has been updated twice since this started, Java once. Still happens. It can happen to two songs in a row, and then the rest of the album plays nicely.

Code: Select all
[17.11.11 11:05:24 CET]   INFO   PlaylistInputStream   rune listening to "Fresh Water In The Salton Sea/02 Vapor Trails.mp3"
[17.11.11 11:05:25 CET]   INFO   StreamController   Got range: Range[5537791,5537791]
[17.11.11 11:05:25 CET]   INFO   PlaylistInputStream   rune listening to "Fresh Water In The Salton Sea/02 Vapor Trails.mp3"
[17.11.11 11:05:25 CET]   INFO   StreamController   Got range: Range[5537791,5537791]
[17.11.11 11:05:25 CET]   INFO   PlaylistInputStream   rune listening to "Fresh Water In The Salton Sea/02 Vapor Trails.mp3"
[17.11.11 11:05:26 CET]   INFO   StreamController   Got range: Range[5537791,5537791]
[17.11.11 11:05:26 CET]   INFO   PlaylistInputStream   rune listening to "Fresh Water In The Salton Sea/02 Vapor Trails.mp3"
[17.11.11 11:05:26 CET]   INFO   StreamController   Got range: Range[5537791,5537791]
[17.11.11 11:05:26 CET]   INFO   PlaylistInputStream   rune listening to "Fresh Water In The Salton Sea/02 Vapor Trails.mp3"
[17.11.11 11:05:31 CET]   INFO   StreamController   Got range: Range[6105087,6105087]
[17.11.11 11:05:31 CET]   INFO   PlaylistInputStream   rune listening to "Fresh Water In The Salton Sea/03 Stars In California.mp3"
[17.11.11 11:05:31 CET]   INFO   StreamController   Got range: Range[6105087,6105087]
[17.11.11 11:05:31 CET]   INFO   PlaylistInputStream   rune listening to "Fresh Water In The Salton Sea/03 Stars In California.mp3"
[17.11.11 11:05:37 CET]   INFO   StreamController   Got range: Range[6105087,6105087]
[17.11.11 11:05:37 CET]   INFO   PlaylistInputStream   rune listening to "Fresh Water In The Salton Sea/03 Stars In California.mp3"
[17.11.11 11:05:37 CET]   INFO   StreamController   Got range: Range[6105087,6105087]
[17.11.11 11:05:37 CET]   INFO   PlaylistInputStream   rune listening to "Fresh Water In The Salton Sea/03 Stars In California.mp3"
[17.11.11 11:05:39 CET]   INFO   PlaylistInputStream   rune listening to "Fresh Water In The Salton Sea/04 I've Got Some Leaving To Do.mp3"
duckman
 
Posts: 7
Joined: Tue Aug 23, 2011 2:00 pm

Re: Songs stop after a few seconds

Postby bushman4 » Thu Nov 17, 2011 1:29 pm

Have you tried the newest 4.6 beta 2 version?

According to this:
viewtopic.php?f=4&t=8193&start=60#p33555

Sindre found a bug that sounds like what you are experiencing.

That post was before the latest beta was released, and that release included this note:
Code: Select all
Bugfix: Don't estimate content-length for web players.


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: 873
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Songs stop after a few seconds

Postby null.pointer » Mon Dec 12, 2011 4:17 pm

Hi

i've the same problem.

Here my log:
Code: Select all
[12/12/11 16.36.52 CET]   INFO   DaoHelper   Checking database schema.
[12/12/11 16.36.55 CET]   INFO   DaoHelper   Done checking database schema.
[12/12/11 16.36.59 CET]   INFO   SearchService   Automatic index creation scheduled to run every 1 day(s), starting at Tue Dec 13 03:00:00 CET 2011
[12/12/11 16.37.00 CET]   INFO   PodcastService   Automatic Podcast update disabled.
[12/12/11 16.37.09 CET]   INFO   NetworkService   Deleted port mapping for port XXXXX
[12/12/11 16.58.22 CET]   INFO   VersionService   Resolved local Subsonic version to: 4.6
[12/12/11 16.58.23 CET]   INFO   VersionService   Resolved latest Subsonic final version to: 4.6
[12/12/11 16.58.23 CET]   INFO   VersionService   Resolved latest Subsonic beta version to: 4.6.beta2
[12/12/11 16.59.03 CET]   INFO   PlaylistInputStream   subuser listening to "Rihanna - Talk That Talk\Rihanna - You Da One.mp3"
[12/12/11 16.59.07 CET]   INFO   PlaylistInputStream   subuser listening to "Rihanna - Talk That Talk\Rihanna - Roc Me Out.mp3"
[12/12/11 16.59.44 CET]   INFO   PlaylistInputStream   subuser listening to "Radici nel cemento - Il paese di pulcinella\Radici Nel Cemento - Il Paese Di Pulcinella (Angelo Version).mp3"
[12/12/11 16.59.47 CET]   INFO   StreamController   Got range: Range[7158848,7158848]
[12/12/11 16.59.47 CET]   INFO   PlaylistInputStream   subuser listening to "Radici nel cemento - Il paese di pulcinella\Radici Nel Cemento - Il Paese Di Pulcinella.mp3"
[12/12/11 16.59.47 CET]   INFO   StreamController   Got range: Range[7158848,7158848]
[12/12/11 16.59.47 CET]   INFO   PlaylistInputStream   subuser listening to "Radici nel cemento - Il paese di pulcinella\Radici Nel Cemento - Il Paese Di Pulcinella.mp3"


I've Chrome 15.0.874.121 , and this is the /help.view?:
Versione 4.6 (build 2583) – 6 dicembre 2011
Server jetty-6.1.x, java 1.7.0, Windows XP (42,0 MB / 47,4 MB)


i've already deleted the cache in c:/subsonic/jetty/xxxx/jsp/org/apache/jsp/delete what is here, but without success.

if you need more info, ask me ...

thanks for your time :wink:


EDIT:

i've noticed that the same songs with admin account work fine. maybe, the problem is related to the privileges?
Here my query :
SELECT * FROM user_role
USERNAME ROLE_ID
admin 1
admin 2
admin 3
admin 4
admin 5
admin 6
admin 7
admin 8
admin 9
admin 10
admin 11
user 2
user 8
null.pointer
 
Posts: 2
Joined: Mon Dec 12, 2011 4:05 pm

Re: Songs stop after a few seconds

Postby BKKKPewsey » Tue Dec 13, 2011 12:39 am

null.pointer wrote:Versione 4.6 (build 2583) – 6 dicembre 2011
Server jetty-6.1.x, java 1.7.0, Windows XP (42,0 MB / 47,4 MB)


Try increasing your memory limit via control panel/settings
I would suggest 256MB.
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Songs stop after a few seconds

Postby null.pointer » Wed Dec 14, 2011 6:31 pm

Done 256MB, but no results.

Code: Select all
Server   jetty-6.1.x, java 1.7.0, Windows XP (15,5 MB / 29,0 MB)


Same problem with admin account but on different songs.

:cry: :cry:
null.pointer
 
Posts: 2
Joined: Mon Dec 12, 2011 4:05 pm

Re: Songs stop after a few seconds

Postby ytechie » Wed Dec 14, 2011 9:49 pm

This happens to me every once in a while while using Google Chrome. I clear the browser contents (cache) and everything works like it should.
It usually happens when I played a song a lot and didn't let it finish before clicking on it again. (I do this when I am testing.)
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Songs stop after a few seconds

Postby duckman » Thu Dec 15, 2011 1:18 pm

Same problem with new version.

I can get passed the problem by changing to a different player, and "Play All" again - then choosing the song with problems.

And like ytechie I've noticed that this is the same case with me - if I don't let a song finish, and start it again - this happens.
duckman
 
Posts: 7
Joined: Tue Aug 23, 2011 2:00 pm

Re: Songs stop after a few seconds

Postby ytechie » Sun Jan 15, 2012 1:36 am

User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Songs stop after a few seconds

Postby CasN » Tue Dec 25, 2012 10:48 am

I have exactly the same issue. Cleared the cache within Chrome, tried the fix from ytechie but unfortunately no luck.
Have switched off transcoding, also made no difference.
With Chrome, continue to have these problems whereas with FF & IE i do not have this problem.
So if there is another solution, I would love to hear :mrgreen:
CasN
 
Posts: 35
Joined: Wed Jan 12, 2011 2:24 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 18 guests