News for hackers. Stuff that matters.
Re:Mopidy – Server which can play music from multiple sources by rakoo on Monday March 03, 2014 @07:13PM (#7337562)
I am both happy to see such a useful software and saddened to see that it's reimplementing tomahawk [0] from scratch.

Let's see where it all leads!

[0] http://www.tomahawk-player.org/.

Re:Mopidy – Server which can play music from multiple sources by adamcik on Monday March 03, 2014 @08:02PM (#7337757)
Part of the reason for having started mopidy was that we wanted something MPD like, but with Spotify support, which at the time was not reasonable to integrate directly.

Now we've evolved quite a bit since then and are now at a stage where we are modular music server, where the MPD frontend is just one of many possible ways of talking to our server. Additionally everything is an extension, so we don't end up like some other systems I've seen where plugins end being second class citizens.

Edit: Other things to note is that at the time we started, 2009, we were not aware of Tomahawk, and more importantly, we wanted a server, not a GUI app.

Re:Mopidy – Server which can play music from multiple sources by rakoo on Tuesday March 04, 2014 @04:34AM (#7339256)
Actually tomahawk's logic was based off of playdar[0], which is a "Music content resolver", what mopidy seems to be. I'm not close to the project, but it seems like playdar focused too much on the server and lacked a really good ui. They started from scratch with Tomahawk, and now are based on a UI.

[0] http://www.playdar.org/

Re:Mopidy – Server which can play music from multiple sources by roel_v on Tuesday March 04, 2014 @07:58AM (#7339884)
Can mopidy play several streams at the same time, through separate sound cards? I'm looking for something like that for a multi-room audio system.
Re:Mopidy – Server which can play music from multiple sources by adamcik on Tuesday March 04, 2014 @09:18AM (#7340260)
Single stream at this point in time, so you would need a mopidy instance per output. So doable but not pretty or something I would really recommend.
Re:Mopidy – Server which can play music from multiple sources by roel_v on Wednesday March 05, 2014 @05:35AM (#7346277)
Is it a lot of work to implement? For example, do you already pass a 'stream id' to each command to identify multiple streams, or would that have to be added to everything? And is it something that somebody is working on or that is planned for the near future, or just on some 'nice to have someday' list?
Re:Mopidy – Server which can play music from multiple sources by rjzzleep on Tuesday March 04, 2014 @05:01AM (#7339342)
i'm assuming spotify and soundcloud management doesn't really work with the mpd clients does it?

also, i think part of the reason why i moved away from mpd, and towards cmus, was because of things like ape, and library management. i see there is a beets plugin for library management.

what about cue sheet support? how complex, simple, would it be to add cue sheet support?

Re:Mopidy – Server which can play music from multiple sources by adamcik on Tuesday March 04, 2014 @09:22AM (#7340278)
Do you mean playlist management? The upcomming 0.19 release has a target of fixing that for the MPD frontend, from there the backend authors just need to make sure they implement the right interfaces and this will work.

CUE sheets as in using them as playlists? There are a few ways of doing this depending on what your use case is, but very much doable. Drop by #mopidy on freenode or send us an email and we can help work out the details.

Re:Mopidy – Server which can play music from multiple sources by kingosticks on Tuesday March 04, 2014 @09:32AM (#7340339)
As in embedded cue sheets? Are you sure this isn't supported? At first glance it looks like gstreamer understands these and hence mopidy should.

EDIT: I'm wrong: it's not in currently supported version of gstreamer (sorry).

Re:Mopidy – Server which can play music from multiple sources by rattboi on Monday March 03, 2014 @07:39PM (#7337666)
It is unclear to me if tomahawk provides a single frontend or if the frontends are also pluggable. My main use case for mopidy is to allow me to treat Subsonic as if it were a local MPD server instead of using the web interface.

I've written the Subsonic backend, which is available at https://github.com/rattboi/mopidy-subsonic/

Re:Mopidy – Server which can play music from multiple sources by lewispollard on Tuesday March 04, 2014 @07:12AM (#7339720)
I run Mopidy on a headless raspberry pi to wirelessly play Spotify through my amp. Can use DLNA clients and a web interface to control. Wouldn't be able to do that with Tomahawk.
Re:Mopidy – Server which can play music from multiple sources by jjsz on Tuesday March 04, 2014 @08:50AM (#7340107)
Hey, what other mini servers / applications duos do you run ;)?
Re:Mopidy – Server which can play music from multiple sources by robbiet480 on Monday March 03, 2014 @07:30PM (#7337635)
The downside that I found to Tomahawk was that I could not select individual songs, only play shuffle mode, at least with Spotify (yes, I have a premium account, etc)
Re:Mopidy – Server which can play music from multiple sources by stingraycharles on Monday March 03, 2014 @07:25PM (#7337611)
I'm unfamiliar with both. How do they compare, and which would you recommend?
Re:Mopidy – Server which can play music from multiple sources by rdeboo on Tuesday March 04, 2014 @07:34AM (#7339792)
I've run both. They solve different, but related problems.

* Tomahawk is a desktop app. It integrates various music sources so you can play from whatever source is available. I can search for whatever and it will look on my local harddisk, on my Synology NAS, on Soundcloud, youtube, etc. It will play from the "best" source, determined by search match accuracy and bitrate. What's pretty cool is that it is integrated with Echonest (www.echonest.com) so you can define "Radio Stations" based on criteria like artist similarity, song mood, energy, etc. And those songs will be automatically resolved. My experience has been very good, everything works out of the box. Only the youtube resolver needs to be enabled manually (for copyright reasons).

* Mopidy, as far as I know, aims to do this on the server side. I've run an early version, I think 0.18 or something, on my Raspberry Pi. It involves some configuration to get it to work. Also, I don't think it can resolve songs in the way that Tomahawk does it: because MPD seems to have a static concept of the "Library". So you can import your Soundcloud "Liked songs", and they will be available in your library, but you cannot search for arbitrary songs. At least I didn't find that option.

A hybrid of both solutions would be awesome.

Re:Mopidy – Server which can play music from multiple sources by kingosticks on Tuesday March 04, 2014 @09:17AM (#7340253)
You can search for arbitrary songs with most extensions and I believe this includes mopidy-soundcloud. You must have used something much older than v0.18 as it was released about a month ago and needs no more configuration than any other media player i.e. where's the music. Finding a an MPD client that works how you want is the tricky bit.
Re:Mopidy – Server which can play music from multiple sources by rakoo on Tuesday March 04, 2014 @04:46AM (#7339296)
I'm also not completely familiar with tomahawk, although I have read quite a bit about it.

Tomahawk is a UI that has a standard "music player" behaviour. The sources are plugged in (they're called resolvers[0]), so that the core remains more or less the same.

AFAIU, mopidy acts a middle-man between sources (installed as plugins) and uis. It's more or less what playdar [1] (the ancestor of tomahawk) was, at least functionnally.

[0] https://github.com/tomahawk-player/tomahawk-resolvers [1] http://www.playdar.org/