DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-01-19 21:58:24

Betse
Member
Registered: 2008-11-19
Posts: 12

last.fm proxy on the DNS 323?

Is there a way to use the Last.fm proxy (http://vidar.gimp.org/?page_id=50) without installing debian?
The proxy is made in python, so maybe we can use a python version on the DNS 323?

Offline

 

#2 2009-01-20 17:48:16

hell0
Member
From: .de
Registered: 2008-05-13
Posts: 81

Re: last.fm proxy on the DNS 323?

Works fine with the python package from optware (http://nslu2-linux.org/wiki/Optware/Dns323), although i don't know why i should use it as long as it doesn't save the music.. wink


CH3SNAS firmware 1.05 with WD1000FYPS and ffp 0.5 on USB Stick

Offline

 

#3 2009-01-20 18:44:48

Betse
Member
Registered: 2008-11-19
Posts: 12

Re: last.fm proxy on the DNS 323?

Well I have an internetradio and I want last.fm to play on it. I used a computer for that before, but the NAS is perfect for it.
I'm gonna try your link smile

edit: wow, that was easy smile
Just installed the python package and i could start the lastfm proxy immediately smile thanks again.

Last edited by Betse (2009-01-20 18:58:57)

Offline

 

#4 2009-01-21 16:34:57

Betse
Member
Registered: 2008-11-19
Posts: 12

Re: last.fm proxy on the DNS 323?

This works great however when i want to start a python script from a telnet login with a sh script. The script starts but when i close the telnet session this script stops working. How can I make sure that the process keeps on working in the background?

edit: nevermind found my own answer. Just put a '&' at the end of the command.

Last edited by Betse (2009-01-21 16:44:10)

Offline

 

#5 2009-01-22 22:35:52

bzhou
Member
Registered: 2008-02-15
Posts: 171

Re: last.fm proxy on the DNS 323?

Offline

 

#6 2009-01-23 11:03:04

knireis
Member
Registered: 2007-12-10
Posts: 231

Re: last.fm proxy on the DNS 323?

Betse wrote:

Well I have an internetradio and I want last.fm to play on it. I used a computer for that before, but the NAS is perfect for it.
I'm gonna try your link smile

edit: wow, that was easy smile
Just installed the python package and i could start the lastfm proxy immediately smile thanks again.

Could you give some instructions on how to start the proxy? I subtracted the tar.gz in the /opt folder and adjusted the config.py.

Offline

 

#7 2009-01-23 11:54:14

Betse
Member
Registered: 2008-11-19
Posts: 12

Re: last.fm proxy on the DNS 323?

then just start the proxy with
python /path/to/lastfmproxy/main.py
And if you want to keep it running use : nohup /path/to/lastfmproxy/main.py &

Offline

 

#8 2009-02-10 21:43:09

knireis
Member
Registered: 2007-12-10
Posts: 231

Re: last.fm proxy on the DNS 323?

Can't get it to work yet. It says python: not found but i installed the package via opt.

root@CH3SNAS:~# python /mnt/usb/ipkg/opt/lastfmproxy/main.py
-sh: python: not found

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB