Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 3 123 LastLast
Results 1 to 10 of 29
  1. #1
    Senior Member
    Join Date
    Jun 2008
    Posts
    101

    Announce: Ampache plugin 1.0

    After what feels like an eternity of development, I'm happy to announce my first SqueezeCenter plugin. It provides SqueezeCenter with access to music stored on an Ampache server. You can find more info about Ampache at their site:

    http://www.ampache.org/

    You can download the plugin from:

    http://ampache-squeezecenter.googlecode.com/

    Since the plugin utilizes Ampache's XML based API the server can be located anywhere, effectively allowing SqueezeCenter to have a remote catalog. Essentially this provides similar functionality to the MP3Tunes plugin, minus the cost, but plus the need to setup and run an Ampache instance somewhere. Since you can connect multiple Ampache instances together, you and your friends can share your catalogs with each other and have access to everyone's music through SqueezeCenter.

    Since Ampache development is out of my control there are a few documented issues, but the majority of the functionality works as intended and should be fully functional after the next Ampache release.

    Please report any bugs or feature requests you might have. Patches and suggestions are always welcome. I'm sure some of the more savvy plugin developers out there might have a tip or two as to how I could have done things better. Enjoy.

    Robert

  2. #2
    egd
    Guest
    This is great news, I've been waiting for this to come along for as long as I've known of Ampache. Thank you :-)

  3. #3
    Junior Member
    Join Date
    Feb 2006
    Posts
    27

    I'm getting 404 Not Found error

    Robert,
    Tried installing the plugin with extension downloader and manually. Every time when I go to settings>plugins>ampache>settings I get "404 Not Found: settings/plugins/Ampache/settings/basic.html". Any suggestions? Thanks in advance.
    Silverbullet

    Version: 7.3.3 - 27044 @ Mon Jun 15 15:14:08 PDT 2009
    Hostname: Ted3
    IP: 192.168.1.22
    HTTP Port: 9000
    OS: Windows XP - EN - cp1252
    Platform: 586
    Perl Version: 5.8.8 - MSWin32-x86-multi-thread
    MySQL Version: 5.0.22-community-nt
    Total Players Recognized: 5

  4. #4
    Senior Member
    Join Date
    Jun 2008
    Posts
    101
    Quote Originally Posted by Silverbullet View Post
    Robert,
    Tried installing the plugin with extension downloader and manually. Every time when I go to settings>plugins>ampache>settings I get "404 Not Found: settings/plugins/Ampache/settings/basic.html". Any suggestions? Thanks in advance.
    Yup, the problem was I assumed that everyone's PERL install would include a particular module and it doesn't. I released version 1.1 earlier this week which includes Digest::SHA::PurePerl which should fix this problem.

  5. #5
    Junior Member
    Join Date
    Feb 2006
    Posts
    27
    Quote Originally Posted by flemming View Post
    Yup, the problem was I assumed that everyone's PERL install would include a particular module and it doesn't. I released version 1.1 earlier this week which includes Digest::SHA::PurePerl which should fix this problem.
    In my case this did not fix my problem. I have 1.1 installed and I still get the 404 error. Any additional things I can check?

  6. #6
    Senior Member
    Join Date
    Jun 2008
    Posts
    101
    Turn on debugging for 'plugin.ampache' under 'Settings/Advanced/Logging' and then check out the squeezecenter log file (not sure where that lives under Windows) for some hopefully more useful info. Let me know what you find. I've never tested the plugin under Windows, so there may be a couple other things I took for granted because I'm using Linux.

  7. #7
    Junior Member
    Join Date
    Feb 2006
    Posts
    27
    Quote Originally Posted by flemming View Post
    Turn on debugging for 'plugin.ampache' under 'Settings/Advanced/Logging' and then check out the squeezecenter log file (not sure where that lives under Windows) for some hopefully more useful info. Let me know what you find. I've never tested the plugin under Windows, so there may be a couple other things I took for granted because I'm using Linux.
    Funny thing there is no plugin.ampache in the list. But here is something from the log:
    [09-06-27 14:05:32.5469] Slim::bootstrap::tryModuleLoad (278) Warning: Module [Plugins::Ampache::Plugin] failed to load:
    Can't locate object method "BINMODE" via package "Slim::Utils::Log::Trapper" at /<C:\Program Files\SqueezeCenter\server\squeezecenter.exe>CGI.p m line 797.
    BEGIN failed--compilation aborted at Ampache/Ampache.pm line 33.
    Compilation failed in require at Plugins/Ampache/Plugin.pm line 24.
    BEGIN failed--compilation aborted at Plugins/Ampache/Plugin.pm line 24.
    Compilation failed in require at (eval 1152) line 2.
    BEGIN failed--compilation aborted at (eval 1152) line 2.

    [09-06-27 14:05:32.5477] Slim::Utils::PluginManager::enablePlugins (493) Error: Couldn't load Plugins::Ampache::Plugin

  8. #8
    Senior Member
    Join Date
    Jun 2008
    Posts
    101
    Hmmm, I'll need to dig up a Windows machine and do some poking around. I'll get back to you.

  9. #9
    egd
    Guest
    Robert

    I've gotten the plugin (1.1) installed and configured and I've got Ampache v.3.5-Beta2 Subversion Rev: 2001 running.

    Looking at the plugin settings it asks for:
    Ampache version #
    Ampache server URL
    Ampache username
    Ampache password

    I've supplied all these, saved the changes and restarted SC. Where to from here?
    Last edited by egd; 2009-06-28 at 12:48.

  10. #10
    Senior Member
    Join Date
    Jun 2008
    Posts
    101
    First off I'd highly suggest upgrading Ampache to 3.5.1 as it fixes a number of bugs in the API that the plugin relies on, but the SVN version you have may have those fixes already too. If you've got things configured and you've restarted Squeezecenter you should see Ampache under Music Services. If you don't then I'm going to jump out a window
    Last edited by flemming; 2009-06-28 at 14:41.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •