Notices


Reply
Thread Tools
Posts: 8 | Thanked: 6 times | Joined on Nov 2010 @ Sweden
#1
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.



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
 

The Following 6 Users Say Thank You to nesnomis For This Useful Post:
Posts: 7 | Thanked: 0 times | Joined on Nov 2010
#2
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.
 
Posts: 8 | Thanked: 6 times | Joined on Nov 2010 @ Sweden
#3
Originally Posted by Sodki View Post
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!...
 
Posts: 7 | Thanked: 0 times | Joined on Nov 2010
#4
I still can't connect. What version of Ampache do you connect to? I use version 3.5.0.

Last edited by Sodki; 2010-11-23 at 17:48.
 
Posts: 8 | Thanked: 6 times | Joined on Nov 2010 @ Sweden
#5
Originally Posted by Sodki View Post
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...

Last edited by nesnomis; 2010-11-24 at 07:44.
 
Posts: 8 | Thanked: 6 times | Joined on Nov 2010 @ Sweden
#6
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
 
Posts: 1 | Thanked: 0 times | Joined on Dec 2010 @ Uppsala, Sweden
#7
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
 
Posts: 8 | Thanked: 6 times | Joined on Nov 2010 @ Sweden
#8
Originally Posted by mikfri View Post
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's Avatar
Posts: 13 | Thanked: 0 times | Joined on Nov 2007 @ Westhampton, MA
#9
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.
 
Posts: 3 | Thanked: 0 times | Joined on Jan 2011
#10
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
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 20:13.