Subsonic 5.0.beta2 released

Announcements and discussion of new releases.

Moderator: moderators

Re: Subsonic 5.0.beta2 released

Postby sindre_mehus » Sun Aug 31, 2014 9:08 am

kargath wrote: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.


Have you tried to turn off "Settings > General > Sort albums by year"?

Regards, Sindre
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Re: Subsonic 5.0.beta2 released

Postby sindre_mehus » Sun Aug 31, 2014 10:09 am

daneren2005 wrote:
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.


Cool, I will try this. From what I could find it seems that most ZIP tools should understand this. For backward compatibility with Java 6 I'll just use the ZipOutputStream(OutputStream) constructor (which will default to UTF-8 on Java 7).

Thanks for the tip!
Sindre
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Re: Subsonic 5.0.beta2 released

Postby daneren2005 » Sun Aug 31, 2014 3:59 pm

If it defaults to utf-8 then I must have been wrong about it and specifying it probably won't do anything about it :(

Sent from my Nexus 5 using Tapatalk
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Subsonic 5.0.beta2 released

Postby sindre_mehus » Sun Aug 31, 2014 4:56 pm

daneren2005 wrote:If it defaults to utf-8 then I must have been wrong about it and specifying it probably won't do anything about it :(


No, please note that the ZipOutputStream currently used is from the org.apache.tools.zip package, not java.util.zip. When changed to the latter it worked properly on my Windows computer. (On my Mac it worked with either implementation).
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Re: Subsonic 5.0.beta2 released

Postby daneren2005 » Sun Aug 31, 2014 6:52 pm

Oh sweet. Glad it helped then!

Sent from my Nexus 5 using Tapatalk
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Subsonic 5.0.beta2 released

Postby rboshuis » Mon Sep 01, 2014 9:47 am

Is there a way to cast all songs to the chromecast? Currently only a single song is send to the chromecast.

I understand that the song is probably directly retrieved rom the Subsonic server, but may be the client could send (after the total time of the song), the following request to the chromecast?

rgds,
Ronald
rboshuis
 
Posts: 3
Joined: Sun Jul 03, 2011 10:05 pm

Re: Subsonic 5.0.beta2 released

Postby vancamp » Mon Sep 01, 2014 2:30 pm

sindre_mehus wrote:
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


This is unfortunate.
vancamp
 
Posts: 40
Joined: Wed Aug 11, 2010 7:00 am

Re: Subsonic 5.0.beta2 released

Postby chuckles » Mon Sep 01, 2014 9:00 pm

Still getting these messages using iSub over a LAN.

9/1/14 4:49:47 PM EDT] INFO PlayQueueInputStream admin listening to "Outside Looking In/10-Forever Young (The Wild Ones).mp3"
[9/1/14 4:49:47 PM EDT] DEBUG TranscodeInputStream Starting transcoder: [/Library/Application Support/Subsonic/transcode/ffmpeg] [-i] [/Volumes/Time Capsule/Music/CD/BoDeans/Outside Looking In/10-Forever Young (The Wild Ones).mp3] [-map] [0:0] [-b:a] [128k] [-v] [0] [-f] [mp3] [-]
[9/1/14 4:50:36 PM EDT] WARN RESTFilter Error in REST API: EofException
[9/1/14 4:50:36 PM EDT] ERROR JAXBWriter Failed to marshal JAXB
[9/1/14 4:50:36 PM EDT] ERROR RESTFilter Failed to write error response.
[9/1/14 4:50:38 PM EDT] INFO PlayQueueInputStream admin listening to "Outside Looking In/10-Forever Young (The Wild Ones).mp3"
[9/1/14 4:50:38 PM EDT] DEBUG TranscodeInputStream Starting transcoder: [/Library/Application Support/Subsonic/transcode/ffmpeg] [-i] [/Volumes/Time Capsule/Music/CD/BoDeans/Outside Looking In/10-Forever Young (The Wild Ones).mp3] [-map] [0:0] [-b:a] [128k] [-v] [0] [-f] [mp3] [-]


This seems to be random, but when it happens, there is a delay between tracks of 50 secs or more.
chuckles
 
Posts: 30
Joined: Mon Jan 24, 2011 7:54 pm

Re: Subsonic 5.0.beta2 released

Postby kargath » Wed Sep 03, 2014 7:57 pm

sindre_mehus wrote:
kargath wrote: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.


Have you tried to turn off "Settings > General > Sort albums by year"?

Regards, Sindre

Yes. I have tried that and can confirm the issue persists. This was one of the first things I tried back with the revision of subsonic that introduced the sorting based on metadata.

If I have time, I'll try a clean install of 5.0 beta2, and change the option prior to the initial scan, but I believe I've already tried that with past revisions.
kargath
 
Posts: 33
Joined: Wed Feb 15, 2012 2:31 pm

Re: Subsonic 5.0.beta2 released

Postby baaldemon » Thu Sep 04, 2014 2:36 pm

xtxer wrote: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


Not sure if there is a better way to do it at the JSP level, but essentially what I did was modified the VideoPlayerController.java file to include the DEFAULT_BIT_RATE as the first element in the array. It works, though not the most elegant solution.

I changed
Code: Select all
    public static final int DEFAULT_BIT_RATE = 2000;
    public static final int[] BIT_RATES = {200, 300, 400, 500, 700, 1000, 1200, 1500, 2000, 3000, 5000};

TO
Code: Select all
    public static final int DEFAULT_BIT_RATE = 2000;
    public static final int[] BIT_RATES = {DEFAULT_BIT_RATE, 200, 300, 400, 500, 700, 1000, 1200, 1500, 2000, 3000, 5000};
baaldemon
 
Posts: 99
Joined: Fri May 07, 2010 11:54 am

Re: Subsonic 5.0.beta2 released

Postby xnor » Thu Sep 04, 2014 4:48 pm

In the release notes I see:
Bugfix: Updated ffmpeg commands to fix some transcoding issues.

I'm wondering if those are the ones listed here:
http://www.subsonic.org/pages/transcoding.jsp

Or if there are new recommended commands. I had customized mine in order to help resolve playback pausing issues and I'd like to try the defaults, as I'm still having trouble with this recent release.

-Alex
xnor
 
Posts: 30
Joined: Tue Aug 02, 2011 8:54 pm

Re: Subsonic 5.0.beta2 released

Postby blightzero » Thu Sep 04, 2014 7:15 pm

I have a setup, where my Subsonic server is located behind a Reverse Proxy with HTTPS (TLS) only protocol. However the new URLs for the Flash Videolayer now always point to the right Domain and Path, but wrong Protocol (http). While the reverse proxy redirects to HTTPS on the same URL, the Flashplayer does not seem to follow the redirect. I don't know whether the links are now generated in a different way, or whether the Flashplayer behaves is differently, but it was working in the previous version.
blightzero
 
Posts: 12
Joined: Sat Jan 30, 2010 2:27 pm

Re: Subsonic 5.0.beta2 released

Postby askedal » Thu Sep 04, 2014 9:47 pm

Hi,
my xbmc is not able to play any of the music presented by the upnp server (5.0 beta 2). The error I get is a

ERROR: Playlist Player: skipping unplayable item: 0, path [upnp://2b2bc519-4228-d2ba-0000-000054159bb0/167870/]

in the xbmc log and this is the corrosponding subsonic log:

[9/4/14 11:26:07 PM CEST] INFO FolderBasedContentDirectory UPnP request - objectId: 0, browseFlag: BrowseDirectChildren, filter: dc:date,dc:description,upnp:longDescription,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:rating,upnp:lastPlaybackPosition,upnp:lastPlaybackTime,upnp:playbackCount,upnp:originalTrackNumber,upnp:episodeNumber,upnp:programTitle,upnp:seriesTitle,upnp:album,upnp:artist,upnp:author,upnp:director,searchable,childCount, firstResult: 0, maxResults: 200
[9/4/14 11:26:09 PM CEST] INFO FolderBasedContentDirectory UPnP request - objectId: folder-167820, browseFlag: BrowseDirectChildren, filter: dc:date,dc:description,upnp:longDescription,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:rating,upnp:lastPlaybackPosition,upnp:lastPlaybackTime,upnp:playbackCount,upnp:originalTrackNumber,upnp:episodeNumber,upnp:programTitle,upnp:seriesTitle,upnp:album,upnp:artist,upnp:author,upnp:director,searchable,childCount, firstResult: 0, maxResults: 200
[9/4/14 11:26:11 PM CEST] INFO FolderBasedContentDirectory UPnP request - objectId: folder-167822, browseFlag: BrowseDirectChildren, filter: dc:date,dc:description,upnp:longDescription,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:rating,upnp:lastPlaybackPosition,upnp:lastPlaybackTime,upnp:playbackCount,upnp:originalTrackNumber,upnp:episodeNumber,upnp:programTitle,upnp:seriesTitle,upnp:album,upnp:artist,upnp:author,upnp:director,searchable,childCount, firstResult: 0, maxResults: 200
[9/4/14 11:26:13 PM CEST] INFO FolderBasedContentDirectory UPnP request - objectId: folder-167864, browseFlag: BrowseDirectChildren, filter: dc:date,dc:description,upnp:longDescription,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:rating,upnp:lastPlaybackPosition,upnp:lastPlaybackTime,upnp:playbackCount,upnp:originalTrackNumber,upnp:episodeNumber,upnp:programTitle,upnp:seriesTitle,upnp:album,upnp:artist,upnp:author,upnp:director,searchable,childCount, firstResult: 0, maxResults: 200
[9/4/14 11:26:15 PM CEST] INFO FolderBasedContentDirectory UPnP request - objectId: folder-167867, browseFlag: BrowseDirectChildren, filter: dc:date,dc:description,upnp:longDescription,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:rating,upnp:lastPlaybackPosition,upnp:lastPlaybackTime,upnp:playbackCount,upnp:originalTrackNumber,upnp:episodeNumber,upnp:programTitle,upnp:seriesTitle,upnp:album,upnp:artist,upnp:author,upnp:director,searchable,childCount, firstResult: 0, maxResults: 200
[9/4/14 11:26:21 PM CEST] INFO FolderBasedContentDirectory UPnP request - objectId: 167870, browseFlag: BrowseMetadata, filter: dc:date,dc:description,upnp:longDescription,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:rating,upnp:lastPlaybackPosition,upnp:lastPlaybackTime,upnp:playbackCount,upnp:originalTrackNumber,upnp:episodeNumber,upnp:programTitle,upnp:seriesTitle,upnp:album,upnp:artist,upnp:author,upnp:director,searchable,childCount, firstResult: 0, maxResults: 1
[9/4/14 11:26:21 PM CEST] INFO FolderBasedContentDirectory UPnP request - objectId: 167871, browseFlag: BrowseMetadata, filter: dc:date,dc:description,upnp:longDescription,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:rating,upnp:lastPlaybackPosition,upnp:lastPlaybackTime,upnp:playbackCount,upnp:originalTrackNumber,upnp:episodeNumber,upnp:programTitle,upnp:seriesTitle,upnp:album,upnp:artist,upnp:author,upnp:director,searchable,childCount, firstResult: 0, maxResults: 1
[9/4/14 11:26:21 PM CEST] INFO FolderBasedContentDirectory UPnP request - objectId: 167872, browseFlag: BrowseMetadata, filter: dc:date,dc:description,upnp:longDescription,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:rating,upnp:lastPlaybackPosition,upnp:lastPlaybackTime,upnp:playbackCount,upnp:originalTrackNumber,upnp:episodeNumber,upnp:programTitle,upnp:seriesTitle,upnp:album,upnp:artist,upnp:author,upnp:director,searchable,childCount, firstResult: 0, maxResults: 1
[9/4/14 11:26:21 PM CEST] INFO FolderBasedContentDirectory UPnP request - objectId: 167873, browseFlag: BrowseMetadata, filter: dc:date,dc:description,upnp:longDescription,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:rating,upnp:lastPlaybackPosition,upnp:lastPlaybackTime,upnp:playbackCount,upnp:originalTrackNumber,upnp:episodeNumber,upnp:programTitle,upnp:seriesTitle,upnp:album,upnp:artist,upnp:author,upnp:director,searchable,childCount, firstResult: 0, maxResults: 1
[9/4/14 11:26:21 PM CEST] INFO FolderBasedContentDirectory UPnP request - objectId: 167874, browseFlag: BrowseMetadata, filter: dc:date,dc:description,upnp:longDescription,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:rating,upnp:lastPlaybackPosition,upnp:lastPlaybackTime,upnp:playbackCount,upnp:originalTrackNumber,upnp:episodeNumber,upnp:programTitle,upnp:seriesTitle,upnp:album,upnp:artist,upnp:author,upnp:director,searchable,childCount, firstResult: 0, maxResults: 1
[9/4/14 11:26:21 PM CEST] INFO FolderBasedContentDirectory UPnP request - objectId: 167875, browseFlag: BrowseMetadata, filter: dc:date,dc:description,upnp:longDescription,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:rating,upnp:lastPlaybackPosition,upnp:lastPlaybackTime,upnp:playbackCount,upnp:originalTrackNumber,upnp:episodeNumber,upnp:programTitle,upnp:seriesTitle,upnp:album,upnp:artist,upnp:author,upnp:director,searchable,childCount, firstResult: 0, maxResults: 1
[9/4/14 11:26:21 PM CEST] INFO FolderBasedContentDirectory UPnP request - objectId: 167876, browseFlag: BrowseMetadata, filter: dc:date,dc:description,upnp:longDescription,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:rating,upnp:lastPlaybackPosition,upnp:lastPlaybackTime,upnp:playbackCount,upnp:originalTrackNumber,upnp:episodeNumber,upnp:programTitle,upnp:seriesTitle,upnp:album,upnp:artist,upnp:author,upnp:director,searchable,childCount, firstResult: 0, maxResults: 1
[9/4/14 11:26:21 PM CEST] INFO FolderBasedContentDirectory UPnP request - objectId: 167877, browseFlag: BrowseMetadata, filter: dc:date,dc:description,upnp:longDescription,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:rating,upnp:lastPlaybackPosition,upnp:lastPlaybackTime,upnp:playbackCount,upnp:originalTrackNumber,upnp:episodeNumber,upnp:programTitle,upnp:seriesTitle,upnp:album,upnp:artist,upnp:author,upnp:director,searchable,childCount, firstResult: 0, maxResults: 1
[9/4/14 11:26:22 PM CEST] INFO FolderBasedContentDirectory UPnP request - objectId: 167878, browseFlag: BrowseMetadata, filter: dc:date,dc:description,upnp:longDescription,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:rating,upnp:lastPlaybackPosition,upnp:lastPlaybackTime,upnp:playbackCount,upnp:originalTrackNumber,upnp:episodeNumber,upnp:programTitle,upnp:seriesTitle,upnp:album,upnp:artist,upnp:author,upnp:director,searchable,childCount, firstResult: 0, maxResults: 1
[9/4/14 11:26:22 PM CEST] INFO FolderBasedContentDirectory UPnP request - objectId: 167879, browseFlag: BrowseMetadata, filter: dc:date,dc:description,upnp:longDescription,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:rating,upnp:lastPlaybackPosition,upnp:lastPlaybackTime,upnp:playbackCount,upnp:originalTrackNumber,upnp:episodeNumber,upnp:programTitle,upnp:seriesTitle,upnp:album,upnp:artist,upnp:author,upnp:director,searchable,childCount, firstResult: 0, maxResults: 1
[9/4/14 11:26:22 PM CEST] INFO FolderBasedContentDirectory UPnP request - objectId: 167880, browseFlag: BrowseMetadata, filter: dc:date,dc:description,upnp:longDescription,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:rating,upnp:lastPlaybackPosition,upnp:lastPlaybackTime,upnp:playbackCount,upnp:originalTrackNumber,upnp:episodeNumber,upnp:programTitle,upnp:seriesTitle,upnp:album,upnp:artist,upnp:author,upnp:director,searchable,childCount, firstResult: 0, maxResults: 1
[9/4/14 11:26:22 PM CEST] INFO FolderBasedContentDirectory UPnP request - objectId: 167881, browseFlag: BrowseMetadata, filter: dc:date,dc:description,upnp:longDescription,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:rating,upnp:lastPlaybackPosition,upnp:lastPlaybackTime,upnp:playbackCount,upnp:originalTrackNumber,upnp:episodeNumber,upnp:programTitle,upnp:seriesTitle,upnp:album,upnp:artist,upnp:author,upnp:director,searchable,childCount, firstResult: 0, maxResults: 1

Best regards
Clas
User avatar
askedal
 
Posts: 16
Joined: Mon Jan 30, 2012 11:49 am

Re: Subsonic 5.0.beta2 released

Postby dirkal » Fri Sep 05, 2014 4:02 am

Looks like the Playlist Edit feature is now a bit wonky. None of the boxes are mouse selectable anymore. It all now appears a bit greyed out. The text boxes are able to accept info, however navigation is only possible via Tab key. Is anyone else experiencing this issue?

Also did this update address the Java 7 incompatibility?
dirkal
 
Posts: 13
Joined: Sat Nov 05, 2011 8:20 pm

Re: Subsonic 5.0.beta2 released

Postby MediaHive » Fri Sep 05, 2014 7:27 pm

Hi,

I have an issue on the Startpage.
A screenshot is in the attachment.

Greetings
Hyper
MediaHive
 
Posts: 9
Joined: Sat Jan 09, 2010 12:23 am

PreviousNext

Return to Announcements

Who is online

Users browsing this forum: No registered users and 3 guests