Page 1 of 3

Subsonic 5.0.beta2 released

PostPosted: Wed Aug 27, 2014 9:09 pm
by sindre_mehus
Hi folks,

Just released 5.0.beta2 with the following changes:

New: Support casting to remote Chromecasts (requires *.subsonic.org address)
New: Added video bitrate selector.
New: Make DLNA media server name configurable.
New: Updated Czech translation, courtesy of Trottel.
New: Enable compression for XML, JSON and JSONP in the REST API
New: Set X-Content-Duration to support opus encoding.
Bugfix: Fixed problem with whole tab being sent to Chromecast rather than just the video.
Bugfix: Access-Control-Allow-Origin header sometimes missing in REST responses.
Bugfix: Fixed DLNA recursion bug.
Bugfix: Fixed mixed content errors when changing cover art, and using https (courtesy of daneren2005)
Bugfix: Fixed errors on certain podcast feeds where they were being incorrectly labeled as video files (courtesy of daneren2005)
Bugfix: Updated ffmpeg commands to fix some transcoding issues.
Bugfix: Fixed bug in REST method changePassword
Bugfix: Avoid creating duplicate players when switching from Chromecast to local.

Thanks for using Subsonic!
Sindre

Re: Subsonic 5.0.beta2 released

PostPosted: Wed Aug 27, 2014 9:15 pm
by Override92
Nice thanks for that... Gonna try tomorrow :-)

Re: Subsonic 5.0.beta2 released

PostPosted: Thu Aug 28, 2014 2:48 am
by daneren2005
I have a couple more things it would be nice to add to the final release. There are fairly constant requests to make the playlists, and to a lesser extent genres, sort by name. Here are two separate patches to do both things. Each has two commits because I missed something in the first. Neither are hard to add though. You have non-accidental sort logic for the genres already so I don't know if you actually want it to be that way, but the playlists definitely make no sense to be listed by order added.

Playlists:
https://github.com/daneren2005/Subsonic ... 97f94e601b
https://github.com/daneren2005/Subsonic ... 9ee1a2dce9

Genres:
https://github.com/daneren2005/Subsonic ... 4ddf4d3355
https://github.com/daneren2005/Subsonic ... b1f925754f

Re: Subsonic 5.0.beta2 released

PostPosted: Thu Aug 28, 2014 5:23 am
by joost
Is there anybody who has xbmc running and can confirm that upnp works now?
Else i have to test it myself...

Thnx sindre.

Re: Subsonic 5.0.beta2 released

PostPosted: Thu Aug 28, 2014 2:50 pm
by HippopoKiboko
And still present bug. Nobody can't download files with unicode names.
It is terrible. This bug is present during SIX(!) years. :twisted:
If you can't fix this bug maybe you should write about this?
i.e. "If you are using non-english names for files please don't use the subsonic"? :?

viewtopic.php?f=2&t=1424&start=15#p59187

Re: Subsonic 5.0.beta2 released

PostPosted: Thu Aug 28, 2014 3:03 pm
by daneren2005
HippopoKiboko wrote:And still present bug. Nobody can't download files with unicode names.
It is terrible. This bug is present during SIX(!) years. :twisted:
If you can't fix this bug maybe you should write about this?
i.e. "If you are using non-english names for files please don't use the subsonic"? :?

viewtopic.php?f=2&t=1424&start=15#p59187

Well that's a bit silly. While it definitely should be fixed, its not like downloading is even remotely the point of subsonic. He could take it out altogether and I doubt more then a few percent of users would even notice.

Sent from my Nexus 5 using Tapatalk

Re: Subsonic 5.0.beta2 released

PostPosted: Thu Aug 28, 2014 11:36 pm
by tmwsiy
"Support casting to remote Chromecasts"


How does this feature work?

Re: Subsonic 5.0.beta2 released

PostPosted: Fri Aug 29, 2014 3:19 pm
by kargath
Again, I see this missing from the buxfix list:

-fixed sorting by alphabetical order

Or

Fixed: reverted to having option to sort by filename

This is a HIGHLY annoying issue that's been plaguing subsonic for years.

My MP3 folders don't sort properly even though all of them should have proper artist metadata.

My videos are all out of whack as well.

It's bad enough that you can't browse for anything. Have to know what you're looking for and use the search. That's a huge pain in the ass when you're just trying to scroll around randomly to figure out what you might want to listen to.

Re: Subsonic 5.0.beta2 released

PostPosted: Fri Aug 29, 2014 4:06 pm
by xtxer
Has anybody found a way to set a default Kbps for videos? It's defaulting to 200 for me. Simple enough to manually change it since I know what it means, but now my friends and family that aren't tech savvy think that videos look worse suddenly lol

Re: Subsonic 5.0.beta2 released

PostPosted: Fri Aug 29, 2014 4:11 pm
by matsinet
Is there a technical reason that you are required to have a *.subsonic.org url in order to do ChromeCast?

I am perfectly capable of making my content available why do I need to register as subsonic subdomain?

Thanks

Matt

Re: Subsonic 5.0.beta2 released

PostPosted: Fri Aug 29, 2014 4:18 pm
by daneren2005
HippopoKiboko wrote:And still present bug. Nobody can't download files with unicode names.
It is terrible. This bug is present during SIX(!) years. :twisted:
If you can't fix this bug maybe you should write about this?
i.e. "If you are using non-english names for files please don't use the subsonic"? :?

viewtopic.php?f=2&t=1424&start=15#p59187

For Sindre. In the file DownloadController.java, where the ZipOutputStream is created in the function downloadFiles, change

Code: Select all
ZipOutputStream out = new ZipOutputStream(RangeOutputStream.wrap(response.getOutputStream(), range));

to

Code: Select all
ZipOutputStream out = new ZipOutputStream(RangeOutputStream.wrap(response.getOutputStream(), range), Charset.forName("UTF-8"));


Being able to specify the character set is supported in Java 7+ only. I don't know whether you still plan on supporting Java 6 or not. If not, then this seems to be an easy fix for the issue. All of the other fixes seemed to be switching to a completely different zip library.

Re: Subsonic 5.0.beta2 released

PostPosted: Fri Aug 29, 2014 6:35 pm
by joost
I have tried to use the upnp functionality on XBMC 13.2 and 14 alpha. Both 4.9 and the beta 2 of 5.0 are not playing music. It looks like the link subsonic generates to the file is not usable for XBMC, and as seen here on the forum, many other players. Can you please implement UPNP functionality in a slightly different way....? Browsing the upnp share looks more stable then it was in 4.9, where it disappeared half of the time... Short testing of 5.0 doesn't show that behavior.

Re: Subsonic 5.0.beta2 released

PostPosted: Sat Aug 30, 2014 3:04 am
by tmwsiy
Does Sindre read and respond to any forum posts?

Re: Subsonic 5.0.beta2 released

PostPosted: Sat Aug 30, 2014 5:23 am
by alphawave7
tmwsiy wrote:Does Sindre read and respond to any forum posts?

Typically, no.

Sent from my amazing LGG3!

Re: Subsonic 5.0.beta2 released

PostPosted: Sun Aug 31, 2014 9:05 am
by sindre_mehus
daneren2005 wrote:I have a couple more things it would be nice to add to the final release. There are fairly constant requests to make the playlists, and to a lesser extent genres, sort by name. Here are two separate patches to do both things. Each has two commits because I missed something in the first. Neither are hard to add though. You have non-accidental sort logic for the genres already so I don't know if you actually want it to be that way, but the playlists definitely make no sense to be listed by order added.


Thanks, I'll add the patch for sorting playlists alphabetically. The genres are intentionally sorted by frequency and I think I'll keep it that way.

Cheers
Sindre