Comments (5)
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.
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.
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.
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.
Awesome! If you need me to test it drop me a mail.
from subsonic.
Related Issues (20)
- Make artist bio/albums visible/hidden on page render
- Sorting for "Play/enqueue/add all"
- REST API: list genres
- REST API: get artists from genre
- REST API: get genre description
- REST API: get genre recommended artists
- External player reported as broken
- subsonic-main missing dependency HOT 4
- Allow updating more file tags HOT 1
- Allow quick switch between sorting by album year/name
- Include cover art in generated playlists HOT 1
- Scrobble album name HOT 1
- Starring in REST API HOT 1
- Use a schema rather than a database HOT 6
- Loving track on Lastfm HOT 1
- Support HTTP Basic Authentication in REST API
- Searches with umlauts bring no results
- Null pointer when scanning library
- Last.fm data doesn't get fetched HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from subsonic.