Version 5 Development > Plugin Design

Headphones(Music organizer) Plugin

(1/16) > >>

Influencer:
Let me start off by saying this is still very much a beta, I personally haven't used it a lot. I've poked around with it on and off, but thats pretty much the extent of it. With that being said, I do not support the app, just the plug-in. I'm not the best programmer/coder around, so the code might be ugly and it might take me longer than others to add stuff to the plug-in.

BUT, I've tested this plug-in just about every way I can and it seems solid. The only problem right now is with updates. I've added the option on the settings page to update, and it SHOULD work, but with how Headphones is coded, it wants git to verify the update + use the in-app updater. Without it headphones reports unknown version. I added the files to use the in-app updater, but commented them out until I get some feedback. The updater requires curl and git, curl is small at ~150 kb, but git is ~5mb. I know people like their unraid installs to be slim so I didn't make those download. You can un-comment the lines at the beginning of the plg or with feedback I'll do it and upload the new copy.

I'll also see about adding an option on the settings page to enable the in-app updater, which will essentially download the needed packages, disabling would delete the packages.

The setup is pretty much the same as sab/sickbeard/couchpotato, if you do not set the datadir your settings will not survive a reboot.

Download HERE!

UPDATE:
Updated 04-19-2012 - headphones-0.1b-influenced.plg - Removed unnecessary dependencies.

Updated 04-18-2012 - headphones-0.1a-influenced.plg - Fixed problem where plugin installed git and curl causing couchpotato to try and auto-update, breaking the plug-in. Also sometimes caused a loop trying to start the plug-in and wouldn't let array start on reboot.

Updated 05-19-2012 - headphones-1.0-influenced.plg - Added warning if data directory is located in volatile filesystem

 

mrow:
Awesome! Thanks!

EDIT: It won't let me change the data directory or the port. I manually edited the cfg file in the /boot/config/plugins/ directory for the data directory and port I want and that worked but the webgui wouldn't save any of the changes I made.

Influencer:
To save you have to be changing the status from enable to disable or vice versa.

So if your changing the port, if headphones is disabled, you would change the port, and then change from "disable" to "enable" and then save.

If that doesn't work let me know, I just downloaded and installed to my system and it works here(thought I may have uploaded the wrong one)

mrow:
Yeah it was disabled when I tried to make those changes.

Influencer:
Are you saying it was disabled and when you changed it you also enabled headphones at the same time?

 I set up a VM to test it on and it worked, I'll try on another physical machine.

Navigation

[0] Message Index

[#] Next page

Go to full version