maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Ampache client for N900 (https://talk.maemo.org/showthread.php?t=65625)

nesnomis 2010-11-14 20:36

Ampache client for N900
 
Since we have both iphone and android phones connecting to our Ampache server in the household (and my N900 did'nt ) i thought i would make an Ampache client, and so MaAmp was born.

http://hansim.no-ip.org/wp-content/g...reenshot27.png

It is an early version, but it can:
  • Connect to Ampache server
  • Get list of artists
  • Play albums
  • Auto-rotation

Future functions (if time allows it):
  • MAFW Backend?!
  • Playlists?!
  • Download album/song?!
  • Bugfixing and cleaning!... :)
  • Localplay on server!?

Even though it works fine for me, it would be nice if somebody with an Ampache server could test if it installs, and works for them?! I am also open for suggestions, tips, help etc.... :) .... Btw. I am not a programmer, and it is my first attempt at python, Qt... So, be gentle!... :)

It is in Fremantle Extras-devel and maybe in Fremantle Extras-testing.

Check out MaAmp

Sodki 2010-11-21 19:21

Re: Ampache client for N900
 
Hello, I've been trying to use this application to access my Ampache installation, but I always get an "unable to authenticate" message.

I think I might not be using the right server address. Mu Ampache installation can be accessed via: http://musica.sodki.org/login.php

In the MaAmp settings, what should I put in the Server? http://musica.sodki.org?

Thank you for this application, it looks wonderful.

nesnomis 2010-11-21 20:58

Re: Ampache client for N900
 
Quote:

Originally Posted by Sodki (Post 879707)
Hello, I've been trying to use this application to access my Ampache installation, but I always get an "unable to authenticate" message.

I think I might not be using the right server address. Mu Ampache installation can be accessed via: http://musica.sodki.org/login.php

In the MaAmp settings, what should I put in the Server? http://musica.sodki.org?

Thank you for this application, it looks wonderful.

Yepp... http://musica.sodki.org should work!... :) ... it automatically adds /server/xml.server.php to the url, so the url should point to the place where the /server folder is...

Thankyou for testing the application!... :)

Sodki 2010-11-23 17:46

Re: Ampache client for N900
 
I still can't connect. What version of Ampache do you connect to? I use version 3.5.0.

nesnomis 2010-11-24 07:37

Re: Ampache client for N900
 
Quote:

Originally Posted by Sodki (Post 881335)
I still can't connect. What version of Ampache do you connect to? I use version 3.5.0.

I am using version 3.5.4, but the xml api should work from 3.5.0 and up.. The authentication is based on time+key, so maybe it is a time problem? I have only used wlan connection when using it and i dont know if slower connections could be a problem?!

Edit: Tried it on gprs and it works fine here... so, slower connections should work...

nesnomis 2010-11-24 08:08

Re: Ampache client for N900
 
Ah... i see why....

"The API is disabled out of the box in versions earlier Ampache 3.5.4. You will need to make a few modifications to the default Ampache configuration. "

So, you have to set the acl type RPC to the start and end address you want to allow access via XML-RPC ..:) ... I have

ACL type: RPC
Start address: 0.0.0.0
End address: 255.255.255.255
Level and user: All

(i guess it is default in Ampache 3.5.4 and up)

Read more here... http://ampache.org/wiki/xmlapi

mikfri 2010-12-11 14:40

Re: Ampache client for N900
 
I'm happy you've built this wonderful client for N900 but as with pretty much all the clients out there it is slow to be almost unusable on big catalogs. So far the only client I've tried that works decently despite a big catalog is Lullaby for Android.

My catalog statistics:
Albums: 8428
Artists: 6851
Songs: 89912
Catalog Size: 485.77 GB

nesnomis 2010-12-11 15:02

Re: Ampache client for N900
 
Quote:

Originally Posted by mikfri (Post 894677)
I'm happy you've built this wonderful client for N900 but as with pretty much all the clients out there it is slow to be almost unusable on big catalogs. So far the only client I've tried that works decently despite a big catalog is Lullaby for Android.

My catalog statistics:
Albums: 8428
Artists: 6851
Songs: 89912
Catalog Size: 485.77 GB

That is a catalog much bigger than mine... :) ..

MaAmp is caching artist data on the first run, and progressively caching albums and album art as you browse the albums (rather crude cache). I think i will try to check out how lullaby does (it was crashing on the only android phone we have here, so i can't test how fast it is). One thing i can do is change caching to a sqlite database (as the native media player does).

As there was almost no response on MaAmp here, i had stopped developing... But it would be interesting to try to optimize it a bit :)

Cross 2010-12-17 02:08

Re: Ampache client for N900
 
Works very nice... I would like to get an album list.

I just installed my whole setup today;

LAMP using Peppermint ICE
Ampache
put the media where it needed to be
and now this on my N900... Amazing!

Thank you sir.

Hawkboy 2011-01-02 12:28

Re: Ampache client for N900
 
Hi, this looks like the app i'm looking for. I use the flashplayer right now but would love to use an app.

I can't seem to find it to install it. Do I need to add some extra repositories or something like that?

Cheers,
Bart


All times are GMT. The time now is 02:17.

vBulletin® Version 3.8.8