Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
131 user(s) are online (77 user(s) are browsing Forums)

Members: 2
Guests: 129

bigmac, FlynnTheAvatar, more...

Headlines

 
  Register To Post  

last.fm
Quite a regular
Quite a regular


See User information
Is there any last.fm software for AmigaOS? I know there's a MorphOS AmigaAMP plugin, Amiscrobbler.

Go to top
Re: last.fm
Quite a regular
Quite a regular


See User information
@Thematic

Quote:

Thematic wrote:
Is there any last.fm software for AmigaOS? I know there's a MorphOS AmigaAMP plugin, Amiscrobbler.


Dunnoh about the existing software, but theoretically, it should be easy to make one, afaik, there's python proxy that can do the trick (google will get you there)

Their (last.fm) site has certain conventions. Once get my A1 working, I'll try to derive the conventions from Amarok's source and get it going, one it's done, the rest is streaming mp3 afaik.


Jack

Edit:
reworked the punctuation to make it readable.


Edited by Jack on 2007/9/16 19:27:32
Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top
Re: last.fm
Home away from home
Home away from home


See User information
@Jack

Quote:

Once get my A1 working, I'll try to derive the conventions from Amarok's source and get it going, one it's done, the rest is streaming mp3 afaik.

I don't think you will have much space left on your TODO pile
once i filed my (software/porting/bug fix) requests, so don't
take on any more projects you won't be able to handle (time wise)

hehehe

@Thematic

It would be a helluva lot easier if they'd put a stream (.pls) up

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: last.fm
Quite a regular
Quite a regular


See User information
@Raziel

Quote:

I don't think you will have much space left on your TODO pile
once i filed my (software/porting/bug fix) requests, so don't
take on any more projects you won't be able to handle (time wise)


getting up on feet and start running would be a start (will be pretty tight, moving to new house)

Quote:

@Thematic

It would be a helluva lot easier if they'd put a stream (.pls) up


It's not a "static host+port" there.
Is tunenet capable of streaming any url given the stream is mp3? If yes, then a plugin should be possible.

Jack.

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top
Re: last.fm
Home away from home
Home away from home


See User information
@Jack

Quote:

Is tunenet capable of streaming any url given the stream is mp3?

I think so, yes

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: last.fm
Just popping in
Just popping in


See User information
a last.fm client with tunenet & docky support would be fun.
A simple port of that amiscrobbler plugin could be enough, but afaik that client isn't working anymore, at least i couldn't get it to work under morphos when i tested it a long time ago. I havent tried that one on aminet but i think it's the same version as the one i used

Go to top
Re: last.fm
Just popping in
Just popping in


See User information
amiscrobbler doesn't work anymore.

Try to contact mahen and his great "zinouscrobbler".

Web page : http://mahen.free.fr/scrobbler

Go to top
Re: last.fm
Quite a regular
Quite a regular


See User information
@BatteMan

Quote:

BatteMan wrote:
amiscrobbler doesn't work anymore.

Try to contact mahen and his great "zinouscrobbler".

Web page : http://mahen.free.fr/scrobbler


Does this one work? Full functionality? Afaik the conventions changed a while ago ("Similar Artists"-related).

Jack

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top
Re: last.fm
Quite a regular
Quite a regular


See User information
@Thematic

Ok, quick and dirty shot on the issue:

1. unpack lastfm proxy from:
http://vidar.gimp.org/lastfmproxy/

2. change config.py to contain user data

3. makelink PYTHON:Lib/thread.py PYTHON:Lib/dummy_thread.py soft
makelink PYTHON:Lib/thread.pyc PYTHON:Lib/dummy_thread.pyc soft

4. edit PYTHON:Lib/threading.py:
comment out line to read:
#_sleep(0.000001) # 1 usec, to let the thread run (Solaris hack)

5. run "python main.py", ignore warnings

6. change main.py of the proxy at line~610 by commenting out the 3 lines:

# t = threading.Thread(target=self.metadataloop)
# t.start()
# runningthreads.append(t)

(the "metadataloop" yells at "time.sleep(1)" line, maybe some python gurus could spill some light on this)

7. add mime type
AUDIO/X-MPEGURL
extension: m3u
viewer: c:run
parameters path_to_mplayer -playlist %u -quiet
(or other app that is capable of playing streaming audio, I currently don't use tunenet because it causes AWeb to GR)
The viewer command and parameter work in AWeb.

8. point the browser to url as in example to listen artists similar to the band you wish:

http://localhost:1881/lastfm://artist/Comus/similarartists (enter)

and click "Play Radio" (on AWeb second click launches the mplayer)


Issues found so far:

the web-gui doesn't work as it should imho (browser issue?): while playing, http://localhost:1881 should display the info (album cover + names), AWeb seem to be stuck downloading image

there are no tags in the stream

sometimes the proxy streams, but the web interface is stuck (amiga python issue imho)

Any suggesstions/ideas?

Jack

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project