SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-11-23 22:02:21

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

shell-fm - a terminal app to play last.fm

Last edited by ohnonot (2012-12-02 21:56:59)

Offline

Help fund CrunchBang, donate to the project!

#2 2012-11-25 18:11:08

antiv0rtex
#! Die Hard
From: Earth
Registered: 2012-10-05
Posts: 574

Re: shell-fm - a terminal app to play last.fm

I am a lover of last.fm's artist radio function, so I will certainly keep this application in mind. Thank you very much for highlighting it! smile

Last edited by antiv0rtex (2012-11-25 18:11:55)

Offline

#3 2012-11-26 00:32:06

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

Re: shell-fm - a terminal app to play last.fm

@ohnonot:  Did you get "Chunked!" errors from the version in the repos?  Is this one of teh fixes in the current git version?

Offline

#4 2012-11-26 01:14:27

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: shell-fm - a terminal app to play last.fm

^ I am getting the same errors

I also cannot build from the git install with errors there too.

This is my build machine, with every build tool under the stars available and I still could not solve the issues from with the git build process.

Offline

#5 2012-11-26 19:30:12

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: shell-fm - a terminal app to play last.fm

Offline

#6 2012-11-27 23:48:54

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: shell-fm - a terminal app to play last.fm

It looks like today was the day Last FM changed there streaming protocol. I use Vagalume on Debian and aLastFM Player (no longer maintained) on Android and they both went kaput today. Boo.

Vagalume, a Last FM GUI client, may get a fix as it's in the Debian repos and I think it's still maintained.

Offline

#7 2012-11-28 08:27:13

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: shell-fm - a terminal app to play last.fm

yea, same here. shell-fm just exits...
has this change been announced, i mean did coders have time to change their software, or do we just have to wait?
right now i would love to be able to listen to last.fm in any way except from my browser, graphical or cli...

apart from that, what other services are out there?
i'm just trying out libre.fm - they have only music that is freely distributable, yes?
trying out zomg (terminal app to listen to libre.fm and supposedly also last.fm), doesn't seem to work.
cry

Last edited by ohnonot (2012-11-28 08:27:52)

Offline

#8 2012-11-28 15:56:47

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

Re: shell-fm - a terminal app to play last.fm

Odd...the version of shell-fm from the Stable repo still works.  It still chunks, but at least it still works.

Offline

#9 2012-11-28 16:47:05

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: shell-fm - a terminal app to play last.fm

debug: chunked

Last edited by ohnonot (2012-11-28 16:47:46)

Offline

#10 2012-11-28 18:25:55

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: shell-fm - a terminal app to play last.fm

I spoke too soon, Vagalume is working like a peach today and aLastFmPlayer is working as well as it can. Crossing my fingers that they've transitioned and it's not effecting those apps and that it's not that the site was down for something unrelated and I'll lose these apps after the 1st.

Offline

#11 2012-11-28 19:00:08

kowloonboy
#! Junkie
Registered: 2011-10-13
Posts: 443

Re: shell-fm - a terminal app to play last.fm

Thanks for posting this. I never would have know about it.


"To me, the extraordinary aspect of martial arts lies in its simplicity. The easy way is also the right way, and martial arts is nothing at all special; the closer to the true way of martial arts, the less wastage of expression there is." - Bruce Lee

Offline

#12 2012-11-28 19:33:07

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: shell-fm - a terminal app to play last.fm

so now both versions are working again.
roll roll roll
well i guess i should just be happy. sorry if i startled other people than myself.

Last edited by ohnonot (2012-11-28 19:34:30)

Offline

#13 2012-12-02 05:06:21

arman
Member
Registered: 2011-12-08
Posts: 27

Re: shell-fm - a terminal app to play last.fm

Good to hear it still works!
Thanks for this post, ohnonot!

Offline

#14 2012-12-02 12:28:17

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: shell-fm - a terminal app to play last.fm

username = <you>
password = xxxxxx
default-radio = lastfm://user/<you>/recommended
delay-change = 1
# download = /home/<you>/music/shellfm/%a;%t;%l;%d.mp3
# extern = mplayer -really-quiet -
title-format = %t by %a
preview-format = %t by %a
volume-update = Vol. %v

# unix = /home/<you>/.shell-fm/unix ????

np-file = /home/<you>/.shell-fm/info/nowtrk
np-file-format = %s %t by %a (%l) %f (%V)

# extern = tee "/home/<you>/music/shellfm/%a;%t;%l;%d.mp3" | madplay -Q -a -2 -
# downloads all - also non-free tracks

np-cmd = cd /home/<you>/.shell-fm/info/ ; echo %I > get ; echo %t > trkinf0 ; echo %a > trkinf1 ; echo %l > trkinf2 ; echo %s > trkinf3 ; ./np.sh > /dev/zero ;
# all this to be executed after every track
# ./update_id3.sh; this only if download=... is enabled.

stream-timeout = 10
# no-rtp = 1
discovery = 1
gap = 0
minimum = 75
expiry = 864000

# key0x4C = /usr/bin/python ~/.shell-fm/scripts/lyrics.py %a %t
# key "L" triggers...

t-color = 1;34
a-color = 1;34
l-color = 1;34
v-color = 1;34
f-color = 1;34
# V-color = 0;33
b-color = 1;34
A-color = 1;34
S-color = 1;34

# screen-format = shell-fm
# term-format = shell-fm: %a: %t

Offline

#15 2012-12-02 18:40:24

user77
#! CrunchBanger
From: Dirty Denver
Registered: 2012-01-20
Posts: 161

Re: shell-fm - a terminal app to play last.fm

Got this all setup today, really cool app. Thanks for posting this.

Offline

#16 2012-12-02 21:52:55

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: shell-fm - a terminal app to play last.fm

thanks!

2 more additions:
- toggle shell-fm on/off with a shell script (that can be called from the menu)
- and start it straight into the system tray with alltray.

#!/bin/bash

if (pidof -x shell-fm) ; then 

killall shell-fm
rm -f /home/<you>/.shell-fm/info/icon.*
rm -f /home/<you>/.shell-fm/info/trkinf*
rm -f /home/<you>/.shell-fm/info/get ; 

else 

rm -f /home/<you>/.shell-fm/info/icon.*
rm -f /home/<you>/.shell-fm/info/trkinf*
rm -f /home/<you>/.shell-fm/info/get

alltray -st -stask -i ~/.shell-fm/lastfm2.png urxvt -uc -geometry 47x13+10+400 -e shell-fm

fi

--- "killall shell-fm" is not very elegant.
still waiting for some help with setting up that unix socket--- pretty please?

Last edited by ohnonot (2012-12-02 21:58:48)

Offline

#17 2012-12-05 20:58:29

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: shell-fm - a terminal app to play last.fm

Last edited by ohnonot (2012-12-08 17:08:54)

Offline

#18 2012-12-08 18:56:19

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: shell-fm - a terminal app to play last.fm

Offline

#19 2012-12-08 20:23:42

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

Re: shell-fm - a terminal app to play last.fm

I think this might be related to ongoing efforts of the labels to get money (allegedly to pay the artists' residuals, but we all know where most of the money goes).  D@mn RIAA...that's one of the reasons I mostly listen to indie artists now.

Offline

#20 2012-12-09 06:46:35

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: shell-fm - a terminal app to play last.fm

Last edited by ohnonot (2012-12-09 06:48:00)

Offline

#21 2012-12-09 23:08:23

ivanovnegro
Ivan #000000
From: unstable madness
Registered: 2011-06-02
Posts: 5,432

Re: shell-fm - a terminal app to play last.fm

Offline

#22 2012-12-12 16:12:43

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: shell-fm - a terminal app to play last.fm

a few days and many unanswered forumposts later i come to this conclusion:
without a subscription, nothing doing anymore. not even through my web browser.
for some weird reason, vagalume still plays my default radio station, and scrobbles.

Offline

#23 2012-12-12 16:42:20

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

Re: shell-fm - a terminal app to play last.fm

Even with a subscription, nothing doing through shell-fm...I keep getting 403 forbidden messages. hmm

Offline

#24 2012-12-12 19:32:39

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: shell-fm - a terminal app to play last.fm

i wrote a question to last.fm support.
they answered promptly, which is a good thing.
but they told me that even if i would get a subscription, radio streaming will become unavailable in my country from jan, 15th onwards.
i guess they mean streaming through an app instead of a browser?

this is starting to feel like discrimination: only credit card owners who use the newest mainstream systems and are willing to give up their privacy are allowed to use last.fm, evenif they pay for it. wtf?
and why is it different in finland than in germany or uk or us of friggin a? i mean, it's not like piratebay.

ps: vagalume also gave up today. it says "no more content to play" but the weird thing is, it also says that about my librefm account.

cry

Last edited by ohnonot (2012-12-13 07:28:05)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo