[RELEASE] Ampache Client Plugin - Browse & search the catalog on your Ampache Server

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mbetter Offline
Member
Posts: 62
Joined: Nov 2010
Reputation: 0
Post: #11
PunkyMatt Wrote:great ! when XML-API of ampache will provides this, my dream will be fullfilled Smile

now back to your addon.

I tried it but I was unsuccessfull, here's the relevant part of the log:



as you can see the problem comes from my system which is 64bits whereas the library hashlib is compiled as 32bits.

Do you know where I can find a 64bits version ?

Thanks

I'm not a fan of including all of this binary crap in the package but I originally wrote guts of the plugin (all of the basic API authentication stuff) to Python 2.6, before I realized that XBMC was stuck on 2.4.

I found a pure python implementation of the hash function that I need; I uploaded 0.1.2b to the Google Code page. It's completely untested but give it a shot if you feel like it.
find quote
PunkyMatt Offline
Junior Member
Posts: 33
Joined: Aug 2009
Reputation: 0
Location: France, IdF
Post: #12
It's working nicely. Great addon you made ! Thank you.

Too bad we can't add an ampache server as a music source, so it would be possible to scan the ampache shared library in xbmc in order to display fanarts...
find quote
mbetter Offline
Member
Posts: 62
Joined: Nov 2010
Reputation: 0
Post: #13
That would be nice. Where does XBMC go to get fan art for music? I've hacked last.fm integration on to my Ampache server but last.fm artist pics are too small for fan art.

Edit: found htbackdrops.com. Looks like you'd need support for it on the Ampache server. When I get some time, I think I might be able to hack it onto mine.
(This post was last modified: 2010-11-16 22:54 by mbetter.)
find quote
PunkyMatt Offline
Junior Member
Posts: 33
Joined: Aug 2009
Reputation: 0
Location: France, IdF
Post: #14
yes xbmc scrapes music fanart on htbackdrops.com.

But if it find fanart locally it will use it. for example here's one of my music folder:

My music collection is organized like this:

Code:
Music/
---A/
------Artist Name/
---------Album1Year - Album1/
---------Album2Year - Album2/
---B/
...

Here's an example of what's inside an artist's folder:

Code:
drwxrwxr-x 1973 - New York Dolls/ <--- the album
drwxrwxr-x extrafanart/ <--- used by night (and maybe some other skins) to display multiple fanarts
-rw-rw-r--  fanart.jpg <--- fanart used by xbmc
(This post was last modified: 2010-11-16 23:09 by PunkyMatt.)
find quote
mbetter Offline
Member
Posts: 62
Joined: Nov 2010
Reputation: 0
Post: #15
We'd need to get Ampache to read the fanart on catalog updates and then pass a url in the API response. I'm not really up on Ampache's plugin interface but this seems like the kind of thing a plugin would be good for.

I added a license notice for the code I added this afternoon and called that beta you got v0.1.2.
find quote
mbetter Offline
Member
Posts: 62
Joined: Nov 2010
Reputation: 0
Post: #16
Matt, are you getting long gaps between songs? What version of XBMC are you using?

Edit: The newer version of XBMC that I installed is doing some seeking weirdness every time it hits a new url. It was bugging me so I disabled seeking in the http headers that Ampache sends. I'll try and figure out what the deal is on the XBMC side.
(This post was last modified: 2010-11-18 07:41 by mbetter.)
find quote
matt-tastic Offline
Junior Member
Posts: 8
Joined: Aug 2011
Reputation: 0
Post: #17
Is this project still being worked on? and can it compile for 64bit systems? I've got an Ampache server running, it streams to my android phone (using Amdroid) and I can access it form the web interface.

When i click on ampache, nothing happens. I don't even get a "loading script" message or "Script Failed" error.

Thanks in Advance!
find quote
Post Reply