ekroth / mpd-monad

MPD Client written in Scala.
1 stars 1 forks source link

Hello! and collaborating #1

Open toddbernhard opened 9 years ago

toddbernhard commented 9 years ago

I'd like to update the mpd-common library to the current language versions (java 1.8, scala 2.11.5, sbt 0.13.7, scalaz 2.1.0), as well as write documentation to make it easier to use as a standalone library. Are the authors or users interested in collaborating and receiving pull-requests? I'm also interested in the license attached to this code, as I'd like to maintain and extend it.

Apologies if this is not the correct way to reach out. I really appreciate the work that's been done here and thank you for publishing it. Before I fork and go off on my own, I'd love to reach the authors, potentially collaborate, and at least say "thank you!".

You can see my changes at https://github.com/toddbernhard/mpd-scala or the comparison

ekroth commented 9 years ago

Awesome! It's nice to see this project being of some use to someone! I (and @3amice who did the web frontend) haven't really worked on this project since 2013, and even then it was just an experiment. The last thing I did was trying out the state monad in scalaz and I believe the usage is supposed to be something like:

def foo()(implicit deps: Base with Playback with Playlist) = {
  import deps._
  for { 
    _ <- connect("localhost", 6600)
    _ <- play(None)
    p <- playlistinfo()
    _ <- disconnect()
  } yield p
}

So basically the functions state which functionality that is required, this might have been a slight over-design, but hey, it was fun at the time.

We're not using nor maintaining this anymore, and there are no other users that I'm aware of. I won't accept any pull requests on this repository, since it makes more sense to extract the common, android and web frontends to different repositories. But right now I'm not interested in working on it.

The license is MIT.

I wouldn't expect any contributions from me nor 3amice. I might check out your repository again at a later time, and if I ever start working on a MPD client again I'll most likely use this library and then I might contribute.

If there are any questions regarding the source code I might be able to help, but it was quite some time ago since I last worked on this.