HarryRosen Posted November 9, 2011 Share Posted November 9, 2011 I wanted to know if it would be possible to install this addon that was created for xbmc. it's a frontend server that connected to the xbmc and provides a great deal of info, it's writen in python so that shouldn't be a problem as sickbeard and couchpotato run fine, the problem is the additional components that have to be installed, I was wondering if I can install the following parts python-setuptools, so that you can use easy_install for the following: •CherryPy (easy_install cherrypy) •Flask (easy_install Flask) •Flask-SQLAlchemy (easy_install Flask-SQLAlchemy) •jsonrpclib (easy_install jsonrpclib) this is the project I am talking about http://forum.xbmc.org/showthread.php?t=113136 http://www.maraschinoproject.com Thanks for any info Quote Link to comment
N3MIS15 Posted December 4, 2011 Share Posted December 4, 2011 http://forum.xbmc.org/showpost.php?p=951677&postcount=553 Got it running, but its not very efficient, easyinstall needs to be run every boot. We need a pkg with the dependencies to make this a bit simpler and quicker, i have no idea how to achieve this... Quote Link to comment
naxiand Posted February 10, 2012 Share Posted February 10, 2012 a plugin would be nice Quote Link to comment
fonzie Posted February 11, 2012 Share Posted February 11, 2012 Yeah, I'd really like to run Maraschino off my unRAID box, but seeing as I'm not very experienced with python and whatnot I'm going to have to wait for a simple solution or a detailed tutorial that outlines exactly how to get it up and running. Its a shame, because the interface looks nice and I'd definitely like to use it. ...and now I play the waiting game. Quote Link to comment
HarryRosen Posted February 13, 2012 Author Share Posted February 13, 2012 There was a simple install script written, it's not a plugin but it works, then all you have to do is add the startup line to your go script. http://forum.xbmc.org/showthread.php?p=985806#post985806 post #1034 works really good Quote Link to comment
kizer Posted February 13, 2012 Share Posted February 13, 2012 How do you access the script on our own unRAID server? http:://url? Quote Link to comment
HarryRosen Posted February 14, 2012 Author Share Posted February 14, 2012 I took his script and just created a .sh file using notepad++ and named it installmaraschino.sh and upgrademaraschino.sh I copied it to a folder via WinSCP, did a chmod 777 on the files and then ran it using the following command. ./installmaraschino.sh and ./upgrademaraschino.sh if you want to get the latest version Quote Link to comment
internetfriend Posted February 19, 2012 Share Posted February 19, 2012 I tried doing this but I keep getting this error when I try to invoke the script. ./installmaraschino.sh: /bin/sh^M: bad interpreter: No such file or directory Not sure what to do at this point. Quote Link to comment
prostuff1 Posted February 19, 2012 Share Posted February 19, 2012 I tried doing this but I keep getting this error when I try to invoke the script. ./installmaraschino.sh: /bin/sh^M: bad interpreter: No such file or directory Not sure what to do at this point. google fromdos, or use an editor that does not use microsoft style line endings Quote Link to comment
internetfriend Posted February 19, 2012 Share Posted February 19, 2012 hmm. I use notepad++ and saved it as a .sh file, I guess I'll need to look into alternatives. Quote Link to comment
internetfriend Posted February 19, 2012 Share Posted February 19, 2012 BTW here is a beta5 plugin someone made people are confirming works well: http://forum.xbmc.org/showpost.php?p=1001671&postcount=1169 Quote Link to comment
stourwalk Posted February 20, 2012 Share Posted February 20, 2012 I wrote the Maraschino plugin for v5. It appears to work well, although for some people I've an issue where it doesn't start first time, but stopping the service and restarting it resolves the issue. Doesn't happen for everyone and would love some feedback as to whether it works for you. It was the first time I'd written a plugin, so I've probably missed something silly and easily fixable Chris Quote Link to comment
dannycorker Posted February 20, 2012 Share Posted February 20, 2012 I wrote the Maraschino plugin for v5. It appears to work well, although for some people I've an issue where it doesn't start first time, but stopping the service and restarting it resolves the issue. Doesn't happen for everyone and would love some feedback as to whether it works for you. It was the first time I'd written a plugin, so I've probably missed something silly and easily fixable Chris I was one of those on XBMC Forums who has trouble with it starting every time - not really a big deal though! Just wondering where the best place to keep an eye open for plugin updates is? That XBMC thread is busy, updates can get missed easily! Quote Link to comment
sacretagent Posted February 20, 2012 Share Posted February 20, 2012 it installled with no issues for me easy to setup... not sure if i need it but it is new .... so we will see where it goes .... i hope a CP module will be available soon Quote Link to comment
prostuff1 Posted February 20, 2012 Share Posted February 20, 2012 Since the plugin is specific to unRAID I highly suggest posting it in the Plugin section near the bottom of the forum. Quote Link to comment
naxiand Posted February 20, 2012 Share Posted February 20, 2012 I wrote the Maraschino plugin for v5. It appears to work well, although for some people I've an issue where it doesn't start first time, but stopping the service and restarting it resolves the issue. Doesn't happen for everyone and would love some feedback as to whether it works for you. It was the first time I'd written a plugin, so I've probably missed something silly and easily fixable Chris i am one that doenst work.....i have choosen 8084 port started but nothing...stopped returned itself to port 7000 started it again but no luck....havent tried to reboot,running beta 14 Quote Link to comment
stourwalk Posted February 21, 2012 Share Posted February 21, 2012 i am one that doenst work.....i have choosen 8084 port started but nothing...stopped returned itself to port 7000 started it again but no luck....havent tried to reboot,running beta 14 I'm back in front on my UnRaid machine in a couple of days - I'll have another dig around and try and resolve this properly then. Quote Link to comment
stourwalk Posted February 24, 2012 Share Posted February 24, 2012 Hi, I've had a look at the issue and I'm not sure what the problem is. When you start your unRaid server and Maraschino doesn't start can you tell me if there is anything in /var/run/maraschino Does ps -ef show Maraschino running? If there is a file in /var/run/maraschino then the script won't do much because it thinks it's already running (stopping it should remove the contents of /var/run/maraschino), i've updated the 0.3 plugin so that it clears the pid file on server startup - in case that affects it. What is the contents of /boot/config/plugins/maraschino/maraschino.cfg? What is the contents of settings.py in the INSTALLDIR? Cheers Chris Quote Link to comment
naxiand Posted February 24, 2012 Share Posted February 24, 2012 in var/run/maraschino i have a pid file open it and it shows 18961 18962 root@HP:~# ps -ef UID PID PPID C STIME TTY TIME CMD root 1 0 0 14:09 ? 00:00:03 init root 2 0 0 14:09 ? 00:00:00 [kthreadd] root 3 2 0 14:09 ? 00:00:00 [ksoftirqd/0] root 6 2 0 14:09 ? 00:00:00 [migration/0] root 7 2 0 14:09 ? 00:00:00 [migration/1] root 9 2 0 14:09 ? 00:00:00 [ksoftirqd/1] root 11 2 0 14:09 ? 00:00:00 [khelper] root 12 2 0 14:09 ? 00:00:00 [kworker/u:1] root 146 2 0 14:09 ? 00:00:25 [sync_supers] root 148 2 0 14:09 ? 00:00:00 [bdi-default] root 150 2 0 14:09 ? 00:00:00 [kblockd] root 258 2 0 14:09 ? 00:00:00 [ata_sff] root 268 2 0 14:09 ? 00:00:00 [khubd] root 373 2 0 14:09 ? 00:00:00 [rpciod] root 404 2 0 14:09 ? 00:00:40 [kswapd0] root 464 2 0 14:09 ? 00:00:00 [fsnotify_mark] root 483 2 0 14:09 ? 00:00:00 [nfsiod] root 491 2 0 14:09 ? 00:00:00 [crypto] root 660 1 0 14:09 ? 00:00:00 /sbin/udevd --daemon root 748 2 0 14:09 ? 00:00:00 [scsi_eh_0] root 750 2 0 14:09 ? 00:00:00 [scsi_eh_1] root 751 2 0 14:09 ? 00:00:00 [scsi_eh_2] root 772 2 0 14:09 ? 00:00:00 [scsi_eh_3] root 773 2 0 14:09 ? 00:00:00 [scsi_eh_4] root 774 2 0 14:09 ? 00:00:00 [scsi_eh_5] root 776 2 0 14:09 ? 00:00:00 [kworker/u:3] root 780 2 0 14:09 ? 00:00:00 [scsi_eh_6] root 781 2 0 14:09 ? 00:00:00 [usb-storage] root 883 1 0 14:09 ? 00:00:00 /usr/sbin/syslogd -m0 root 887 1 0 14:09 ? 00:00:00 /usr/sbin/klogd -c 3 -x root 921 660 0 14:09 ? 00:00:00 /sbin/udevd --daemon bin 996 1 0 14:09 ? 00:00:00 /sbin/rpc.portmap root 1000 1 0 14:09 ? 00:00:00 /sbin/rpc.statd root 1010 1 0 14:09 ? 00:00:00 /usr/sbin/inetd root 1017 1 0 14:09 ? 00:00:00 /usr/sbin/ntpd -g -p /var/run/nt root 1024 1 0 14:09 ? 00:00:00 /usr/sbin/acpid 81 1034 1 0 14:09 ? 00:00:00 /usr/bin/dbus-daemon --system root 1039 1 0 14:09 ? 00:00:00 /usr/sbin/crond -l notice daemon 1041 1 0 14:09 ? 00:00:00 /usr/sbin/atd -b 15 -l 1 root 11599 1 0 14:11 ? 00:00:01 /usr/local/sbin/emhttp root 11660 2 0 14:11 ? 00:00:00 [mdrecoveryd] root 11671 2 0 14:11 ? 00:00:00 [spinupd] root 11772 1 0 14:11 ? 00:00:00 /usr/sbin/nmbd -D root 11793 1 0 14:11 ? 00:00:00 /usr/sbin/smbd -D root 11827 11793 0 14:11 ? 00:00:00 /usr/sbin/smbd -D root 11865 2 0 14:11 ? 00:00:43 [unraidd] root 12041 2 0 14:11 ? 00:00:00 [reiserfs] root 12408 1 6 14:11 ? 00:06:01 /usr/local/sbin/shfs /mnt/user0 root 12431 1 0 14:11 ? 00:00:06 /usr/local/sbin/shfs /mnt/user - nobody 18844 1 0 14:11 ? 00:00:27 python /usr/local/couchpotato/Co root 18876 1 0 14:11 ? 00:00:03 /root/.dropbox-dist/dropbox root 19022 1 0 14:11 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --d mysql 19134 19022 0 14:11 ? 00:00:01 /usr/libexec/mysqld --basedir=/u nobody 19175 1 5 14:11 ? 00:04:25 python /usr/local/sabnzbd/SABnzb nobody 19238 1 0 14:12 ? 00:00:20 python /usr/local/sickbeard/Sick nobody 19253 1 0 14:12 ? 00:00:07 transmission-daemon --port 9091 nobody 19426 1 0 14:15 ? 00:00:06 /usr/bin/python /usr/bin/flexget root 19473 1 0 14:16 tty1 00:00:00 /sbin/agetty 38400 tty1 linux root 19474 1 0 14:16 tty2 00:00:00 /sbin/agetty 38400 tty2 linux root 19475 1 0 14:16 tty3 00:00:00 /sbin/agetty 38400 tty3 linux root 19476 1 0 14:16 tty4 00:00:00 /sbin/agetty 38400 tty4 linux root 19477 1 0 14:16 tty5 00:00:00 /sbin/agetty 38400 tty5 linux root 19478 1 0 14:16 tty6 00:00:00 /sbin/agetty 38400 tty6 linux root 19479 660 0 14:16 ? 00:00:00 /sbin/udevd --daemon root 19833 11793 0 14:43 ? 00:00:00 /usr/sbin/smbd -D root 19917 2 0 14:45 ? 00:00:01 [kworker/0:0] root 20340 2 0 15:12 ? 00:00:00 [kworker/1:0] root 20416 2 0 15:17 ? 00:00:00 [kworker/1:2] root 20494 2 0 15:22 ? 00:00:00 [kworker/0:2] root 20641 2 0 15:32 ? 00:00:00 [flush-8:16] maraschino.cfg # maraschino configuration SERVICE="enable" INSTALLDIR="/usr/local/maraschino" DATADIR="/mnt/cache/maraschino" RUNAS="nobody" install dir? wich file? regards Quote Link to comment
dragonfyre13 Posted February 26, 2012 Share Posted February 26, 2012 I wrote an unmenu package here: http://lime-technology.com/forum/index.php?topic=18681.0 Setting the port values, etc. all works great, only took a few minutes since I was writing a MovieGrabber plugin just before (just a couple tweaks, removing some dependencies) Quote Link to comment
stourwalk Posted February 27, 2012 Share Posted February 27, 2012 in var/run/maraschino i have a pid file open it and it shows 18961 18962 Ahh, that might explain it - I used to get the double PID appearing when I first wrote the script - it seems to happen when both the 'at' command and python are running - I fixed it by increasing the sleep time from 1 to 5 seconds - maybe just increasing it again to 10 secs will resolve the problem. I've updated the plugin - try this one http://dl.dropbox.com/u/6592585/XBMC/maraschino-0.4.plg and see if it helps. Quote Link to comment
naxiand Posted February 27, 2012 Share Posted February 27, 2012 Maraschino is running ...but no luck....is there anything more to configure before? Quote Link to comment
N3MIS15 Posted June 24, 2012 Share Posted June 24, 2012 Maraschino has gone through some major changes and now supports daemon, port, pidfile, logfile, database, develop and webroot args. maraschino-cherrypy.py has been removed and Maraschino.py is now the only way to run (it still uses the cherrypy server). settings.py is also gone with the new args covering all settings options (auth is now in the ui) This plugin will need to be updated to reflect this. so something like: python /usr/local/maraschino/Maraschino.py --pidfile /var/run/maraschino/maraschino.pid --log /mnt/cache/.maraschino/maraschino.log --database /mnt/cache/.maraschino/maraschino.db In the future i intend to have a datadir arg which will cover database, log and also anything we are caching (only trakt images atm) BTW there is also an auto updater now. Cheers. Quote Link to comment
marshcroft Posted September 18, 2012 Share Posted September 18, 2012 I installed Maraschino a few months ago and has been working great even autoupdates for me without any issues, if anyone wants to install it then you can follow this guideline that I found on the maraschino website thanks to acruther for putting this together. http://forums.maraschinoproject.com/showthread.php?tid=20&page=3 Anyway, the steps I did were: git clone https://github.com/mrkipling/maraschino.git /mnt/cache/.maraschino [i edited the /mnt/cache/default file with a text editor to update my app path] mkdir /etc/default cp -p /mnt/cache/.maraschino/initd /etc/rc.d/rc.maraschino cp -p /mnt/cache/.maraschino/default /etc/default/maraschino chmod a+x /etc/rc.d/rc.maraschino saved init-functions to /lib/lsb/init-functions (rename the file attached and delete the .txt extension ) saved start-stop-daemon to /sbin/start-stop-daemon (rename the file attached and delete the .txt extension ) /etc/rc.d/rc.maraschino start voila - works! I actually changed my install of the initd file to go to /etc/rc.d/rc.maraschino just to keep it not only cleaner but I was unsure if putting it in a init.d folder would fail it to autostart on a reboot. start-stop-daemon.txt start-stop-daemon.txt Quote Link to comment
Influencer Posted September 18, 2012 Share Posted September 18, 2012 Other than the actual install which you located on disk, the default directory and the rc.maraschino file will be wiped out on reboot. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.