Giter VIP home page Giter VIP logo

Comments (5)

hakko avatar hakko commented on August 30, 2024

I used track.getSimilar in an early release of MusicCabinet but gave up on it. Reasons: generated playlists quickly became predictable, I had to invoke getSimilar "live" which made playlist generation take 5 sec or more (that's forever) and doing it for all tracks in advance isn't feasible. So I don't know.. I don't think it's the best approach.

How is downsampling used in Subsonic? I don't use that myself so I can't really tell for sure what the implications are. If you give me a good explanation on possible issues, I'll be more likely to remove the check. :)

Regards

from subsonic.

nichtmax avatar nichtmax commented on August 30, 2024

Regarding the downsampling: This is mainly used for external apps in cellular networks. Here's a screenshot from iSub..

I think Sindre realized this with lame in the first place. That is why lame is included in the package. Lame doesn't take anything else than MP3 (and wav..) as input, therefore the restriction. There is no reason not to do this with ffmpeg though, the main advantage would be that the input file could be M4A for instance. As ffmpeg is in the package as well there is no disadvantage.

The line for the downsampling would be

ffmpeg -i %s -ab %bk -v 0 -f mp3 -

from subsonic.

aaronk6 avatar aaronk6 commented on August 30, 2024

Hi hakko,

why do you think it's a problem when it takes 5 secs to generate a playlist?

Amarok 1.4 had this feature (I don't know about 2.x though) and it worked quite well. IIRC, there were two different ways to listen to similar tracks:

  • Create a dynamic playlist based on the currently playing track. This playlist contains 100 songs which last.fm consideres to be similar. If the currently playing song is over, a new one gets added to the end of the list. In fact, the playlist is endless.
  • Pick a similar song from the sidebar—there was a panel that always listed about 10 similar songs when you started listening to a song.

I'm not sure how this can be integrated into Subsonic/MusicCabinet. I would love this feature though.

Thanks for the good work!

from subsonic.

hakko avatar hakko commented on August 30, 2024

Thanks for the explanation wernermo! That makes sense to me. So I'll remove the restriction.

IceSheep: To me, using track.getSimilar just meant more repetitive playlists than the current artist radio implementation, and with slower generation, so they didn't really have any advantages. It would definitely be interesting to analyze tracks in your library and find similar ones, but I'd think that something like Echo Nest would be more useful for that.

from subsonic.

nichtmax avatar nichtmax commented on August 30, 2024

Awesome! If you need me to test it drop me a mail.

from subsonic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.