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
Results 1 to 10 of 29
Thread: Announce: Ampache plugin 1.0
-
2009-05-24, 07:06 #1
- Join Date
- Jun 2008
- Posts
- 101
Announce: Ampache plugin 1.0
-
2009-06-13, 11:32 #2egdGuest
This is great news, I've been waiting for this to come along for as long as I've known of Ampache. Thank you :-)
-
2009-06-27, 10:22 #3
- 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
-
2009-06-27, 10:27 #4
- Join Date
- Jun 2008
- Posts
- 101
-
2009-06-27, 10:50 #5
- Join Date
- Feb 2006
- Posts
- 27
-
2009-06-27, 11:00 #6
- 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.
-
2009-06-27, 11:09 #7
- Join Date
- Feb 2006
- Posts
- 27
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
-
2009-06-28, 09:28 #8
- 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.
-
2009-06-28, 12:43 #9egdGuest
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.
-
2009-06-28, 13:51 #10
- 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.