Subsonic 6.1.beta2 released

Announcements and discussion of new releases.

Moderator: moderators

Re: Subsonic 6.1.beta2 released

Postby Jägs » Fri Mar 31, 2017 9:37 pm

I think I spoke too soon about not having any problems :-(

I'm finding that I'm having random playback problems, and it does not seem to be isolated to any specific file type. I have a playlist of film scores, consisting of MP3s and FLACs. Subsonic will play a few pieces, and then just stop. The album art displays a question mark, the play icon has a pause, and the scrubber shows as being all the way to the end:

Image

When I check the log file, it only displays the ffmpeg decoding for the previous file, not the current one, as if it's not even getting to the point to send it to the transcoder. This just happened, so here's the complete log file from when the previous piece started playing, to the point where Subsonic stopped when trying to play the next piece:

Code: Select all
[3/31/17 4:07:28 PM CDT]   INFO   TranscodeInputStream   Starting transcoder: /var/subsonic/transcode/ffmpeg -i /media/music/Classical/Contemporary/Zimmer, Hans/Gladiator/Hans Zimmer - Gladiator [2000 Original Score] - 17 - Now We Are Free.flac -map 0:0 -b:a 320k -v 0 -f mp3 -
[3/31/17 4:11:46 PM CDT]   DEBUG   StreamController   GET /music/stream?player=2&id=12537&auth=394545575&scrobble=false, Range: bytes=0-1
[3/31/17 4:11:46 PM CDT]   DEBUG   StreamController   Content-Length: 2
[3/31/17 4:11:46 PM CDT]   DEBUG   StreamController   Content-Range: 0-1/11416191
[3/31/17 4:11:46 PM CDT]   DEBUG   StreamController   Wrote 2 bytes of 2 requested
[3/31/17 4:11:46 PM CDT]   DEBUG   StreamController   GET /music/stream?player=2&id=12537&auth=394545575&scrobble=false, Range: bytes=0-11416190
[3/31/17 4:11:46 PM CDT]   DEBUG   StreamController   Content-Length: 11416191
[3/31/17 4:11:46 PM CDT]   DEBUG   StreamController   Content-Range: 0-11416190/11416191
[3/31/17 4:11:56 PM CDT]   DEBUG   StreamController   Wrote 11416191 bytes of 11416191 requested
[3/31/17 4:19:46 PM CDT]   DEBUG   StreamController   GET /music/stream?player=2&id=14644&auth=406472299&scrobble=false, Range: bytes=0-1
[3/31/17 4:19:46 PM CDT]   DEBUG   StreamController   Content-Length: 2
[3/31/17 4:19:46 PM CDT]   DEBUG   StreamController   Content-Range: 0-1/5590519
[3/31/17 4:19:46 PM CDT]   DEBUG   StreamController   Wrote 2 bytes of 2 requested
[3/31/17 4:19:46 PM CDT]   DEBUG   StreamController   GET /music/stream?player=2&id=14644&auth=406472299&scrobble=false, Range: bytes=0-5590518
[3/31/17 4:19:46 PM CDT]   DEBUG   StreamController   Content-Length: 5590519
[3/31/17 4:19:46 PM CDT]   DEBUG   StreamController   Content-Range: 0-5590518/5590519
[3/31/17 4:19:46 PM CDT]   DEBUG   StreamController   GET /music/stream?player=2&id=14644&auth=406472299&scrobble=false, Range: bytes=32768-5590518
[3/31/17 4:19:46 PM CDT]   DEBUG   StreamController   Content-Length: 5557751
[3/31/17 4:19:46 PM CDT]   DEBUG   StreamController   Content-Range: 32768-5590518/5590519
[3/31/17 4:19:46 PM CDT]   DEBUG   StreamController   GET /music/stream?player=2&id=14644&auth=406472299&scrobble=false, Range: bytes=5342-5590518
[3/31/17 4:19:46 PM CDT]   DEBUG   StreamController   Content-Length: 5585177
[3/31/17 4:19:46 PM CDT]   DEBUG   StreamController   Content-Range: 5342-5590518/5590519
[3/31/17 4:19:46 PM CDT]   DEBUG   StreamController   Wrote 5585177 bytes of 5585177 requested


Any ideas what might be going on? I'm wondering if it might be having a problem with longer file/folder names, as in the example above, here's the full path:

/media/music/Classical/Contemporary/Compilations/Varese Saraband/Varese Sarabande 25th Anniversary Celebration, Volume 1/The Sixth Sense - De Profundis.flac

Perhaps the comma is causing a problem? Then again, it should have had the same problem with the Zimmer piece preceding it, which also has a comma.
Jägs
 
Posts: 86
Joined: Wed Apr 06, 2011 9:52 pm

Re: Subsonic 6.1.beta2 released

Postby wendigo » Sat Apr 01, 2017 9:10 pm

Hello,

I just found out Jukebox mode is not working properly for me after the update from 6.0 to 6.1beta2.
There's no sound, neither when the playback is initiated from mobile nor from web UI. The player looks like it starts playing for 3 seconds (visible on mobile app) but then it skips the rest of the track and jumps through the playlist.
Same happens for mp3 and flac files as well.

This is what the log for each file looks like:
Code: Select all
[4/1/17 9:35:37 PM CEST]   INFO   TranscodeInputStream   Starting transcoder: /var/subsonic/transcode/ffmpeg -ss %o -i /data/music/D/Dhul-Qarnayn/2009 - Thus Death/09 - Dhul-Qarnayn - Thus Death.mp3 -map 0:0 -v 0 -ar 44100 -ac 2 -f s16be -
[4/1/17 9:35:37 PM CEST]   DEBUG   JukeboxService   Opened line com.sun.media.sound.DirectAudioDevice$DirectSDL@41683231
[4/1/17 9:35:37 PM CEST]   INFO   JukeboxService   username starting jukebox for "2009 - Thus Death/09 - Dhul-Qarnayn - Thus Death.mp3"
[4/1/17 9:35:37 PM CEST]   DEBUG   JukeboxService   Closed line com.sun.media.sound.DirectAudioDevice$DirectSDL@41683231
[4/1/17 9:35:37 PM CEST]   INFO   JukeboxService   username stopping jukebox for "2009 - Thus Death/09 - Dhul-Qarnayn - Thus Death.mp3"


The system is Ubuntu 16.04, with Oracle Java 1.8.0_121
wendigo
 
Posts: 19
Joined: Sun Dec 11, 2011 11:50 am

Re: Subsonic 6.1.beta2 released

Postby sindre_mehus2 » Sun Apr 02, 2017 7:34 am

wendigo wrote:Hello,

I just found out Jukebox mode is not working properly for me after the update from 6.0 to 6.1beta2.
There's no sound, neither when the playback is initiated from mobile nor from web UI. The player looks like it starts playing for 3 seconds (visible on mobile app) but then it skips the rest of the track and jumps through the playlist.
Same happens for mp3 and flac files as well.


Confirmed. This is a regression. I have fixed it for the next release.

Thanks
Sindre
sindre_mehus2
 

Re: Subsonic 6.1.beta2 released

Postby manwithaplan » Sun Apr 02, 2017 1:06 pm

Sindre, now that Chrome supports native FLAC streaming in-browser (about 4 months ago they started this), is there a method you could recommend for us Chrome browser users to be able to stream the .flac files directly in the browser without transcoding? This would be a fairly big user experience enhancement.

Thanks as always.
Subsonic 5.2.1 on 2009 Apple XServe w/ Yosemite Server 10.10.5; 96GB RAM. Lots of Music - High Rez, native DSD streaming, and otherwise.
manwithaplan
 
Posts: 151
Joined: Sun Nov 28, 2010 5:01 pm

Re: Subsonic 6.1.beta2 released

Postby _vincent » Sun Apr 02, 2017 2:27 pm

sindre_mehus2 wrote:
wendigo wrote:Hello,

I just found out Jukebox mode is not working properly for me after the update from 6.0 to 6.1beta2.
There's no sound, neither when the playback is initiated from mobile nor from web UI. The player looks like it starts playing for 3 seconds (visible on mobile app) but then it skips the rest of the track and jumps through the playlist.
Same happens for mp3 and flac files as well.


Confirmed. This is a regression. I have fixed it for the next release.

Thanks
Sindre


Thanks! I'm having the same problem.

By the way, do you know how to avoid conflicts between Kodi and Subsonic jukebox? I'm running Ubuntu 16.04, and Subsonic generally seems to "lock" the soundcard for a while. I have to wait a few minutes between the time when I stop playback on jukebox mode and the time when Kodi manages to access the soundcard and starts making sound.
_vincent
 
Posts: 1
Joined: Sun Apr 02, 2017 2:24 pm

Re: Subsonic 6.1.beta2 released

Postby sindre_mehus2 » Mon Apr 03, 2017 5:01 pm

manwithaplan wrote:Sindre, now that Chrome supports native FLAC streaming in-browser (about 4 months ago they started this), is there a method you could recommend for us Chrome browser users to be able to stream the .flac files directly in the browser without transcoding? This would be a fairly big user experience enhancement.


Cool! I didn't know that. You can simply go to Settings > Transcoding and remove "flac" from the list of formats to convert.
sindre_mehus2
 

Re: Subsonic 6.1.beta2 released

Postby manwithaplan » Mon Apr 03, 2017 9:35 pm

sindre_mehus2 wrote:
manwithaplan wrote:Sindre, now that Chrome supports native FLAC streaming in-browser (about 4 months ago they started this), is there a method you could recommend for us Chrome browser users to be able to stream the .flac files directly in the browser without transcoding? This would be a fairly big user experience enhancement.


Cool! I didn't know that. You can simply go to Settings > Transcoding and remove "flac" from the list of formats to convert.


Indeed, works very nicely, even back on lowly SS 5.2.1 in fact! Yet another reason to use nothing but Chrome when using SS from a workstation/laptop! Cheers Sindre!!! Every now and then Google throws us a bone, and this one could not have come soon enough!! For those 'finicky' audio purists like myself, I have tested with not only simple CD rips in FLAC format, but also high resolution 24bit/192kHz FLAC files from the likes of HD Tracks and Acoustic Sounds and the like. No transcoding needed or desired! Cheers all!
Subsonic 5.2.1 on 2009 Apple XServe w/ Yosemite Server 10.10.5; 96GB RAM. Lots of Music - High Rez, native DSD streaming, and otherwise.
manwithaplan
 
Posts: 151
Joined: Sun Nov 28, 2010 5:01 pm

Re: Subsonic 6.1.beta2 released

Postby tmwsiy » Mon Apr 03, 2017 11:22 pm

I have had 503 HTTP errors 3 times since upgrading to 6.1.beta2.

I made a manual backup of DB folder after installation and am able to get Subsonic running again after replacing that.
My DB Backup folder does NOT seem to be working at all.
How often is the backup supposed to be updated?

When I replace with the backup, there are no users, folders, or index or anything.

Windows 7 machine it is running on.

thanks.
tmwsiy
 
Posts: 180
Joined: Tue Apr 06, 2010 6:26 pm

Re: Subsonic 6.1.beta2 released

Postby Tak-MK » Wed Apr 05, 2017 10:33 am

Hum..., where's the suffle option in the queue?
User avatar
Tak-MK
 
Posts: 98
Joined: Thu Dec 22, 2016 3:27 pm

Re: Subsonic 6.1.beta2 released

Postby acroyear » Wed Apr 05, 2017 11:28 am

Its not in the queue section, it is in the player section at the bottom. Star, Repeat, Shuffle, Back, Play/Pause, Forward, Cast. See the screenshot at the top of this page.

The playlist section you mention in Feature Requests has never had a 'shuffle' button, so that could still be useful. Several apps have it (but not the official Subsonic one).
--
Joe Shelby
http://subfiresuite.com/
http://subfireplayer.net/
User avatar
acroyear
 
Posts: 591
Joined: Wed Mar 27, 2013 8:05 pm
Location: Northern, VA

Re: Subsonic 6.1.beta2 released

Postby ARKaMAN » Wed Apr 05, 2017 3:00 pm

It would seem the last.fm scrobbler isn't working. :( Please fix.
ARKaMAN
 
Posts: 3
Joined: Wed Apr 05, 2017 2:58 pm

Re: Subsonic 6.1.beta2 released

Postby Jägs » Wed Apr 05, 2017 3:20 pm

The playlist section you mention in Feature Requests has never had a 'shuffle' button, so that could still be useful. Several apps have it (but not the official Subsonic one).


I'd second this. It'd be quite convenient to have a play-shuffled option in the playlist listing, and would save me a click.
Jägs
 
Posts: 86
Joined: Wed Apr 06, 2011 9:52 pm

Re: Subsonic 6.1.beta2 released

Postby Tak-MK » Thu Apr 06, 2017 7:50 am

acroyear wrote:Its not in the queue section, it is in the player section at the bottom. Star, Repeat, Shuffle, Back, Play/Pause, Forward, Cast. See the screenshot at the top of this page.

The playlist section you mention in Feature Requests has never had a 'shuffle' button, so that could still be useful. Several apps have it (but not the official Subsonic one).

Thanks! And yes, I think it would be useful, or at least when you shuffle a playlist, the active song should be the first one, so I can hear the entire playlist in the queue.
User avatar
Tak-MK
 
Posts: 98
Joined: Thu Dec 22, 2016 3:27 pm

Re: Subsonic 6.1.beta2 released

Postby amorris » Fri Apr 07, 2017 1:23 am

manwithaplan wrote:
sindre_mehus2 wrote:
manwithaplan wrote:Sindre, now that Chrome supports native FLAC streaming in-browser (about 4 months ago they started this), is there a method you could recommend for us Chrome browser users to be able to stream the .flac files directly in the browser without transcoding? This would be a fairly big user experience enhancement.


Cool! I didn't know that. You can simply go to Settings > Transcoding and remove "flac" from the list of formats to convert.


Indeed, works very nicely, even back on lowly SS 5.2.1 in fact! Yet another reason to use nothing but Chrome when using SS from a workstation/laptop! Cheers Sindre!!! Every now and then Google throws us a bone, and this one could not have come soon enough!! For those 'finicky' audio purists like myself, I have tested with not only simple CD rips in FLAC format, but also high resolution 24bit/192kHz FLAC files from the likes of HD Tracks and Acoustic Sounds and the like. No transcoding needed or desired! Cheers all!


Fantastic! But if I remove flac from the list of formats to convert, what happens when a user who is not using Chrome tries to play the track? Will it just refuse to play? Is there a way to specify that SS should transcode flac for users who are not on Chrome? Thanks.
User avatar
amorris
 
Posts: 9
Joined: Fri Oct 04, 2013 7:14 pm

Re: Subsonic 6.1.beta2 released

Postby manwithaplan » Fri Apr 07, 2017 2:31 am

amorris wrote:Fantastic! But if I remove flac from the list of formats to convert, what happens when a user who is not using Chrome tries to play the track? Will it just refuse to play? Is there a way to specify that SS should transcode flac for users who are not on Chrome? Thanks.


I would suggest not doing this at the global level - but only removing the flac-to-mp3 conversion for specific Users that are aware of the reason behind it and fully intend on using Chrome when they're on a desktop/laptop PC/Mac. Technically, the most discrete setting for this is possible because transcoding of any kind ultimately operates at the Player level, not even User per se, but the specific Player that the User is using when they hit Play. So again, I would only do this for the more 'power users' that understand that Chrome has these new capabilities and that they have expressed to you that they want the best fidelity possible when streaming on your site. You might find that the Chrome instance has its own "Player" and therefore you can actually do what you intend for Users that use for instance Firefox for some SS use, but Chrome of other times. By encouraging the power user to have a separate "Player" for the different browsers they use, you could effectively ensure that FLAC files are never transcoded when using Chrome but are indeed transcoded when using Firefox or others for instance.
Subsonic 5.2.1 on 2009 Apple XServe w/ Yosemite Server 10.10.5; 96GB RAM. Lots of Music - High Rez, native DSD streaming, and otherwise.
manwithaplan
 
Posts: 151
Joined: Sun Nov 28, 2010 5:01 pm

PreviousNext

Return to Announcements

Who is online

Users browsing this forum: No registered users and 2 guests