Other cover resize options / Improved Download

Got an idea? Missing something? Post your feature request here.

Moderator: moderators

Other cover resize options / Improved Download

Postby mxs » Mon Aug 07, 2006 6:45 pm

Hi,

been playing with 2.8b1 a bit. It's a nice piece of software. Though I do have a few feature requests/suggestions :

  • pluggable resizers for the cover art. The built-in one seems to be using a "just skip the line/column" approach, which yields aesthetically unpleasing resized images; a bicubic/bilinear resizer would be nice. Since, for instance, ImageMagick can do such a thing, it might be useful to have it be a pluggable option that would call an external tool to do this :-)
  • It would be nice if there were an option to have transcoders apply to the "download" links as well. For instance, I usually rip my CDs to flac for the server. iTunes cannot play flac, which is taken care of by transcoding tunes for streaming. If, however, you were to want to burn a copy of the song using iTunes, the "download" button would not help, since it transfers the file as flac. This is not a problem in the case where the user is savvy, but when, for instance, my sister were to do this, she'd be at a loss what on earth to do with a .flac file -- for her a .mp3 or Apple Lossless file would be a much better thing to have. If it were an option to have download through subsonic transcoded as well, this problem would disappear.
  • When using Mozilla and the download option, spaces are not translated correctly. Subsonic sends a
    content-disposition: attachment; filename=01 Into A Frenzy.mp3
    header, for instance; Firefox will make the filename into "01"; this may be a bug in firefox, but is annoying. Since filename is a quoted-string type, placing " " around the filename should never hurt and would probably get rid of this problem.
  • I am not sure why, but when going to "Home"->"Random" or "Newest", the system feels slow to respond (with 2423 albums). May be unavoidable.
  • There seems to be no way to remove a rating for any album or song. When you do not use ratings all that much, "Highest Ratings" will contain just the albums that you made a misclick on.
  • Some "common" directory structures are not recognized. i.e. if you have metallica/s&m/cd1 and metallica/s&m/cd2, subsonic assumes the name of the album is cd1 or cd2 and the band is s&m. Maybe a filter on names such as cd\d+ would be useful so that the information is displayed correctly. Likewise with samplers\alternative times\25 or samplers\zillo\12-06 ... The problem is that you cannot assign metadata to a directory either, so it's not fixable even if you know a mistake has happened.
  • More Metafile formats ! .flac tags, for instance, are disregarded entirely. When using "Edit tags", "Save" fails silently.
  • Character sets. Umlauts and other special characters are not handled correctly. For instance, a file named "Das Rätsel II" will be displayed as "Das R?tsel II". The problem here is that this proliferates into the URLs used as wall, so such files are unplayable through SubSonic.
  • And something out of the never-gonna-happen category : Daap server support ;-)

As said, I really like subsonic :-) It's fun to play with.[/list]
mxs
 
Posts: 2
Joined: Mon Aug 07, 2006 6:02 pm

Postby sindre_mehus » Mon Aug 07, 2006 7:59 pm

Hi,

Thanks for your excellent suggestions. I'll come back with more thorough comments later, but here are some initial thoughts:

Cover art resizing I'll look into that. I've previously worked with the Java Advanced Imaging API which has all kinds of fancy filters and scalers. I'll play with that.

Download transcoding I agree, particularily in the case of novice users. Will most likely be implemented in 2.8.

Wrong content-disposition Yup, that one is already fixed (see http://forum.subsonic.org/forum/viewtopic.php?t=89)

Remove rating Agreed. Will do in a later version.

More metafile formats That's something I need third-party libraries for, and there is currently not a lot for other formats than mp3. There is, however, the jaudiotagger project which aims at supporting more formats. I will be watching how it progresses. You should, however, get the following error if you try to edit tags in a flac file: "Tag editing of .flac files is not supported." Below the Save button. No?

Character sets Hm, that's strange, I don't have that problem. Actually, I put a lot of effort into making it work with different character sets. What's your operating system, Tomcat version and browser version? Maybe you can also email me one of your files which causes problems?

Thanks again :-)
Sindre
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby mxs » Mon Aug 07, 2006 10:56 pm

Hi,

thanks for the quick reply :-)

sindre_mehus wrote:Wrong content-disposition Yup, that one is already fixed (see http://forum.subsonic.org/forum/viewtopic.php?t=89)


Ah sorry, had not seen that.

More metafile formats That's something I need third-party libraries for, and there is currently not a lot for other formats than mp3. There is, however, the jaudiotagger project which aims at supporting more formats. I will be watching how it progresses. You should, however, get the following error if you try to edit tags in a flac file: "Tag editing of .flac files is not supported." Below the Save button. No?


Not in 2.8b1 ... When I click on "edit tags" in a folder of exclusively flac files, no such message appears.
Tags in general are not /that/ important, since the filename+directory will already carry most of the information needed. It's just a nice-to-have :)

Character sets Hm, that's strange, I don't have that problem. Actually, I put a lot of effort into making it work with different character sets. What's your operating system, Tomcat version and browser version? Maybe you can also email me one of your files which causes problems?


Debian etch, Tomcat 5.0, Opera 9. Though I just realized that my system indeed does not fit the required Tomcat version; I had just taken the Tomcat provided by Debian and subsonic requires 5.5 according to its download page; I'll compile a more recent tomcat tomorrow and see whether this error persists.
Though if you know this is not related to the tomcat version in use :
a directory named "plays music by debussy, fauré, & chopin" will not be displayed at all, neither is "björk". A file named "Käpt'n Blaubär & Crew - Alles im Lot.mp3" is displayed, but the special characters are wrong and the resulting URL is
/subsonic/playlist.view?play=%2Fscratch%2Fsamplers%2Fcustom+01%2FK%3Fpt%27n+Blaub%3Fr+%26+Crew+-+Alles+im+Lot.mp3
which does not yield anything actually playable.
On a shell, the file is readable :
less Käpt\'n\ Blaubär\ \&\ Crew\ -\ Alles\ im\ Lot.mp3
"Käpt\'n\ Blaubär\ \&\ Crew\ -\ Alles\ im\ Lot.mp3" may be a binary file. See it anyway?

Ah well. Charsets are always fun. :-)
mxs
 
Posts: 2
Joined: Mon Aug 07, 2006 6:02 pm

Postby cup0spam » Tue Aug 08, 2006 7:08 am

being able to remove cover art would be nice, instead of having to manually browse to the directory and delete the image file...
cup0spam
 
Posts: 3
Joined: Mon Aug 07, 2006 7:12 am

Postby therequiem » Tue Aug 08, 2006 1:16 pm

mxs wrote:Tags in general are not /that/ important, since the filename+directory will already carry most of the information needed. It's just a nice-to-have :)

I think tags are very important. There is no "standard" directory architecture for keeping albums and mp3s, and each persons approach is slightly different. The metadata tags sort of aggregate all the info (and likely more) stored in the full path/name of the file.
ie, instead of having folders for cd1&cd2, as you do, i use the tags DISCNUMBER=1 and TOTALDISCS=2, with the entire album stored in a single directory. Just my approach, and it works for me.

That being said, I completely agree with your more tag formats request. I've noticed problems in subsonic between ID3 versions as well, but haven't spent the time to diagnose it. Just saw some inconsistencies while listening at work. Maybe I can take a look tonight.

cup0spam wrote:being able to remove cover art would be nice, instead of having to manually browse to the directory and delete the image file...

Instead of deleting, why not just use the "change" feature to change it to the correct / better cover?
Every time you delete data, god kills a fluffy kitten. Please, for the sake of the kittens, archive.
therequiem
 
Posts: 8
Joined: Mon Jul 10, 2006 5:53 pm
Location: Toronto, Ontario, Canada

Postby sindre_mehus » Tue Aug 08, 2006 4:16 pm

mxs wrote:Not in 2.8b1 ... When I click on "edit tags" in a folder of exclusively flac files, no such message appears.

Ok. The error message is displayed after you click Save.

mxs wrote:Debian etch, Tomcat 5.0, Opera 9. Though I just realized that my system indeed does not fit the required Tomcat version; I had just taken the Tomcat provided by Debian and subsonic requires 5.5 according to its download page; I'll compile a more recent tomcat tomorrow and see whether this error persists.

I'm not sure, but I wouldn't be surprised if the problem goes away with Tomcat 5.5.
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby sindre_mehus » Thu Sep 07, 2006 7:24 pm

Just a quick follow-up: Due to lack of time I wasn't able to implement download transcoding in 2.8. Look for it in a later release.

However, I did manage to optimize the "Home > Random", "Home > Newest" etc pages. It's a lot (10 times?) faster now.

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

Postby sindre_mehus » Sun Sep 24, 2006 4:21 pm

Hi,

As per your suggestion, I have improved the thumbnail quality in the upcoming 2.9 version. I'm using a step-wise bilinear resampling algorithm which produces fairly good results. Here's an example with "before" and "after":

Image

Image

Also, I've added a thumbnail disk cache so that rescaling only needs to be done once. This has a significant performance impact, in particular with large images (~1000x1000 pixels).

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

Postby flacflac » Sat Jul 04, 2009 10:50 pm

Sindre said...

Download transcoding I agree, particularily in the case of novice users. Will most likely be implemented in 2.8.


Sooo, has this been implemented at some point? I cannot seem to find a way to activate this and as this would be VERY useful I am wondering what the status of this development is. Maybe I'm just too blind to see it? :shock:

Thanks! :D
flacflac
 
Posts: 141
Joined: Mon Jun 01, 2009 7:43 am

Postby sindre_mehus » Sun Jul 05, 2009 9:00 am

Sorry, not yet.
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby flacflac » Wed Jul 08, 2009 5:57 pm

Is it still something you intend to implement? Any idea what version?

Thank you :)
flacflac
 
Posts: 141
Joined: Mon Jun 01, 2009 7:43 am

Could we please get a "download transcoded files"

Postby flacflac » Fri Apr 09, 2010 8:47 am

I know this is an old thread and I've bumped it before, but perhaps with the implementation of transcoded downloads in the android player this could be implemented for the desktop version as well.

@Sindre, this was initially planned for version 2.8 but unfortunately never made it. Some other users have been asking for this feature more recently:

http://forum.subsonic.org/forum/viewtopic.php?t=1379

Since this function apparently exists in android (don't have an android phone)...

http://forum.subsonic.org/forum/viewtopic.php?t=2976

...would it be easy to add this function for the dekstop player?

Thank you,
ff :shock:
flacflac
 
Posts: 141
Joined: Mon Jun 01, 2009 7:43 am


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 10 guests