Yoni Rabkin | 9 Dec 2009 23:36

emms-lastfm-client.el lives!


Streaming music from Last.fm, showing which track is playing and
skipping to the next track now work in a friendly manner. More
importantly the initial, one-time authentication is now documented in
the file header and relatively painless.

It should be pretty buggy since it hasn't been tested for any
significant amount time. More features, bug fixes to come.

$ git clone http://yrk.nfshost.com/repos/emms-yrk.git

The existing emms-lastfm.el and emms-last-played.el are defunct but are
useful for me to see what features to implement in
emms-lastfm-client.el.

Any objections to me installing emms-lastfm-client.el in git.sv.gnu.org
in the near future?

--

-- 
   "Cut your own wood and it will warm you twice"

William Xu | 10 Dec 2009 04:26
Picon
Gravatar

Re: emms-lastfm-client.el lives!

Yoni Rabkin <yoni <at> rabkins.net> writes:

> The existing emms-lastfm.el and emms-last-played.el are defunct but are
> useful for me to see what features to implement in
> emms-lastfm-client.el.

emms-last-played.el seems irrelevant here? 

> Any objections to me installing emms-lastfm-client.el in git.sv.gnu.org
> in the near future?

It would be good to have.  Although I haven't been using it for the
passed months, this would drive me to have another try. 

--

-- 
William

http://xwl.appspot.com

Yoni Rabkin | 10 Dec 2009 07:18

Re: Re: emms-lastfm-client.el lives!


> emms-last-played.el seems irrelevant here? 

forget i said that, wrong file

(setq red-face t)

--

-- 
   "Cut your own wood and it will warm you twice"

Lucas Bonnet | 10 Dec 2009 12:38

Re: emms-lastfm-client.el lives!

Yoni Rabkin <yoni <at> rabkins.net> writes:

> Any objections to me installing emms-lastfm-client.el in git.sv.gnu.org
> in the near future?

None.

Thanks for the patch :)

Regards,
-- 
Lucas
Yoni Rabkin <yoni <at> rabkins.net> writes:

> Any objections to me installing emms-lastfm-client.el in git.sv.gnu.org
> in the near future?

None.

Thanks for the patch :)

Regards,
--

-- 
Lucas
Paul Michael Reilly | 14 Dec 2009 21:46

flac help

I'm trying to setup emms to listen to my flac library but first I 
figured I'd get things working with the mp3 library.

I configured emms as:

(require 'emms-setup)
(emms-standard)
(emms-default-players)

(setq emms-source-file-directory-tree-function 
'emms-source-file-directory-tree-find
       emms-source-file-default-directory "/mnt/data/audio/mp3/")

(emms-add-directory-tree "/mnt/data/audio/mp3")

where the mp3 hierarchy as some 13000 plus .mp3 files organized by 
artist/album/track*.mp3

When I type M-x emms it am put into the *EMMS Playlist* buffer with all 
gazillion tracks.  The tracks are of the form:

/mnt/data/audio/mp3/'Til Tuesday/0J00-80's Pop Hits (disc 1)/12 - Voices 
Carry.mp3
/mnt/data/audio/mp3/'Til Tuesday/6A19-Voices Carry/01 - Love In A Vacuum.mp3
/mnt/data/audio/mp3/'Til Tuesday/6A19-Voices Carry/02 - Looking Over My 
Shoulder

which I take to mean that the files are not being "grokked" by emms to 
the extent that the lines are not being converted to a nice format.

(Continue reading)

Yoni Rabkin | 14 Dec 2009 23:34

Re: flac help

Paul Michael Reilly <pmr <at> pajato.com> writes:

> which I take to mean that the files are not being "grokked" by emms to
> the extent that the lines are not being converted to a nice format.

The variable `emms-info-functions' defines which functions run to get
the track info. Emms calls command line tools to get track information.
You can check to see what your `emms-info-functions' contains and if you
have mp3info installed on your system.

You can also opt for using `emms-info-libtag' as your sole provider of
track info. See the comments in the header of lisp/emms-info-libtag.el
for more details.

--

-- 
   "Cut your own wood and it will warm you twice"

Paul Michael Reilly | 15 Dec 2009 03:58

Re: flac help

On 12/14/2009 05:34 PM, Yoni Rabkin wrote:
> Paul Michael Reilly<pmr <at> pajato.com>  writes:
>
>> which I take to mean that the files are not being "grokked" by emms to
>> the extent that the lines are not being converted to a nice format.
>
> The variable `emms-info-functions' defines which functions run to get
> the track info. Emms calls command line tools to get track information.
> You can check to see what your `emms-info-functions' contains and if you
> have mp3info installed on your system.
>
> You can also opt for using `emms-info-libtag' as your sole provider of
> track info. See the comments in the header of lisp/emms-info-libtag.el
> for more details.
>

Excellent.  After installing mp3info and mpg321 emms is providing joy. 
Does emms cache the file name to track info associations?  With 
thousands and thousands of tracks I'd rather that emms not recompute all 
this data each time I startup my emms Emacs instance. Also, how can I 
best discern the functions (and external programs) that emms wants/needs 
to support flac format.  Maybe I should read the info page and come back 
... good idea.

Thanks,

-pmr

Yoni Rabkin | 24 Dec 2009 20:44

Re: Re: emms-lastfm-client.el lives!

William Xu <william.xwl <at> gmail.com> writes:

> Yoni Rabkin <yoni <at> rabkins.net> writes:
>
>> The existing emms-lastfm.el and emms-last-played.el are defunct but are
>> useful for me to see what features to implement in
>> emms-lastfm-client.el.
>
> emms-last-played.el seems irrelevant here? 
>
>> Any objections to me installing emms-lastfm-client.el in git.sv.gnu.org
>> in the near future?
>
> It would be good to have.  Although I haven't been using it for the
> passed months, this would drive me to have another try. 

I've pushed it to Savannah and included it in emms-setup under
'emms-devel. Once it is feature-laden and stable enough to move to
'emms-all I'll update the manual.

--

-- 
   "Cut your own wood and it will warm you twice"


Gmane