September 26, 201213 yr I made a plugin for the program Mylar https://github.com/evilhero/mylar. Its a headphones like app for comics. Its completely taken from Influencers headphones plugin and if he wants this plugin he can have it . I would only be updating it after he updates his other plugins anyway. Feel free to ask any questions, and if I actually can answer them I will. Remember to replace .txt with .plg EDIT - There seems to be an issue with the datadir flag causing the This Week tag not to work, I am seeing if that can be fixed. Everything else seem to work though. EDIT 2 - Here is a link to the app creaters thread on comicrack http://comicrack.cyolito.com/forum/7-general/14368-sick-beard-for-comics--now-that-would-be-cool if you have any app questions or issues, he seems to be willing to help out with them. mylar.txt
September 26, 201213 yr This is a cool idea to get it up and running! I haven't had any luck with it unfortunately. I went back again trying to install and recorded my steps along the way but still am not sure what's going wrong: 1- download the mylar.txt file and rename to mylar.plg 2-copy to flash drive into the /boot/config/plugins/ directory 3-telnet as root with Putty to install: # installplg /boot/config/plugins/mylar.plg # mkdir /mnt/cache/.apps/mylar /mnt/cache/.apps/mylar/data # chown -R nobody:users /mnt/cache/.apps/mylar/ # ls -l /mnt/cache/.apps/mylar/ 4-navigate with Firefox to unRAID webGUI: http://Tower -> Settings -> Mylar 5-Configuration Part 1: Status: NOT INSTALLED Enable mylar: No Install Directory: /mnt/cache/.apps/mylar Data directory: (check box) /mnt/cache/.apps/mylar/data Port: 8088 Run as user: nobody Show storage memory usage: Yes Show data persistency information: Yes Click Apply 6-Configuration Part 2: Click Install (didn’t seem to do anything?), then Click Update PLG and again didn’t seem to load any files into the /mnt/cache/.apps/mylar/ Actually clicking it a few times I see it says "XML parse error" at the end very quickly. change Enable mylar: Yes , click Apply. installing latest Version of mylar Starting mylar: sudo -u nobody python /mnt/cache/.apps/mylar/Mylar.py -d -p 8088 --datadir /mnt/cache/.apps/mylar/data --nolaunch --pidfile /var/run/mylar/mylar-8088.pid The unRAID webGUI just freezes, and when I click back on Settings -> Mylar it indicates Status NOT INSTALLED but still says Enable mylar: Yes I'm running version: 5.0-rc8a with SAB, SB, CP, and HP all working and port 8088 is free.
September 26, 201213 yr Author this is not necessary : # mkdir /mnt/cache/.apps/mylar /mnt/cache/.apps/mylar/data # chown -R nobody:users /mnt/cache/.apps/mylar/ # ls -l /mnt/cache/.apps/mylar/ the plugin is going to do that for you just installplg /boot/config/plugins/mylar.plg then goto the config page and update whatever config info you want then click apply it should then install and start it (if you had enable set to yes) also if you data dir is inside the mylar folder anyway, setting up a datadir is redundant. thats only if you had the install dir in memory so the config data would survive. The update plg button wont do anything because thats influencers code for headphones, so there is nothing to update against. I didnt think it was necessary to comment that out, I should but not now. Cause like I said if influencer wants it its one less thing to change. If you are still having issues please telnet back into your server and as root type in /etc/rc.d/rc.mylar install let me know what the output is.
September 26, 201213 yr Author The mylar dev got back to me and fixed the issue I previously mentioned so it looks like it's working completely now. Sent from my Nexus 7 using Tapatalk 2
September 27, 201213 yr this is not necessary : # mkdir /mnt/cache/.apps/mylar /mnt/cache/.apps/mylar/data # chown -R nobody:users /mnt/cache/.apps/mylar/ # ls -l /mnt/cache/.apps/mylar/ the plugin is going to do that for you just installplg /boot/config/plugins/mylar.plg then goto the config page and update whatever config info you want then click apply it should then install and start it (if you had enable set to yes) I removed the mylar.plg and mylar directory in /boot/config/plugins/ that didn't seem to be working anyways, re-downloaded the file, renamed to mylar.plg, telnetted in as root with Putty: # installplg /boot/config/plugins/mylar.plg I went into the webGUI->Settings->mylar-> and just switched to "enable", clicked "Apply" and it installed and works just fine. This is what the webGUI shows: Status: RUNNING with version: 15ed313ed5cbb86239397a44479317a352939dfa Mylar is installed with version: 15ed313ed5cbb86239397a44479317a352939dfa Storage memory usage: install + data directory: 9.2M WARNING: Your Data Directory is not persistent and WILL NOT survive a reboot. Please locate Data Directory on disk for persistency Plug-in Version: 1.7 The problem is I don't want it in the default install directory: /usr/local/mylar So, I then clicked "Stop" and the status switched to stop. Then I edited Install Directory: /mnt/cache/.apps/mylar Data directory: (unchecked box) Clicked "Apply" and it gets stuck on the second line without ever installing/running: installing latest Version of mylar Starting mylar: sudo -u nobody python /mnt/cache/.apps/mylar/Mylar.py -d -p 8088 --datadir /mnt/cache/.apps/mylar --nolaunch --pidfile /var/run/mylar/mylar-8088.pid For some reason it seems when trying to install, it does like like another directory being located where files are to be installed: in my example it was the /mnt/cache/.apps/mylar/data/ directory that was problematic. Removing this, while keeping the parent directory: /mnt/cache/.apps/mylar/ solved the issue, which is shown below: root@Tower:~# /etc/rc.d/rc.mylar install installing latest Version of mylar fatal: destination path '/mnt/cache/.apps/mylar' already exists and is not an empty directory. mv: cannot stat `/mnt/cache/.apps/mylar/sabnzbd/ComicRN.py': No such file or directory ln: creating symbolic link `/mnt/cache/.apps/mylar/sabnzbd/ComicRN.py': No such file or directory root@Tower:~# rm -rf /mnt/cache/.apps/mylar/data root@Tower:~# cd /mnt/cache/.apps/mylar/ root@Tower:/mnt/cache/.apps/mylar# ls root@Tower:/mnt/cache/.apps/mylar# ls -l total 0 root@Tower:/mnt/cache/.apps/mylar# /etc/rc.d/rc.mylar install installing latest Version of mylar Cloning into /mnt/cache/.apps/mylar... git-remote-https: /usr/lib/libidn.so.11: no version information available (required by /usr/lib/libcurl.so.4) remote: Counting objects: 3142, done. remote: Compressing objects: 100% (1497/1497), done. remote: Total 3142 (delta 1632), reused 3116 (delta 1606) Receiving objects: 100% (3142/3142), 2.27 MiB | 376 KiB/s, done. Resolving deltas: 100% (1632/1632), done. After looking at the installed files, it appears making your own data directory within the mylar install directory not only is not advised (as Chronostriker mentioned above) but it will actually *prevent* mylar from installing entirely. If you're like me and prefer to have a data directory within the respective parent application install directory, don't worry... mylar automatically installs its own data directory exactly in this way, so be certain when installing to also ignore (i.e., keep unchecked the "Data directory:" option under mylar Configuration. Hopefully this helps others install the plugin. Below is now what it shows after clicking "Start" again: Mylar is installed with version: 15ed313ed5cbb86239397a44479317a352939dfa Storage memory usage: install + data directory: 7.7M Your data will persist after a reboot Plug-in Version: 1.7 Status: RUNNING with version: 15ed313ed5cbb86239397a44479317a352939dfa Mylar is installed with version: 15ed313ed5cbb86239397a44479317a352939dfa Storage memory usage: install + data directory: 9.2M Your data will persist after a reboot Plug-in Version: 1.7
September 28, 201213 yr Author The plugin is now in Infuencers git under his dev branch https://github.com/Influencer/UNplugged/tree/dev I am going to abandon this thread and answer questions in his so its nice and concise
October 2, 201213 yr I got the original one to work (from the first post, renamed to *.plg), but I only tried that because the one on Influencer's page was throwing errors. I was a knuckle-head and closed out of my Putty session so I don't have the codes here, though, and am currently having it add a few comics so I don't want to stop it at this moment. Let me know if the error codes are needed, I can probably get to it later this morning or afternoon. Thanks!
October 2, 201213 yr Author The one in influencers page is the exact same script, the only change is the file name, ether way give me what info you can and I'll try to help. Sent from my SPH-L710 using Tapatalk 2
October 2, 201213 yr Most likely was downloaded wrong, if you scroll down on the github to downloads, right click save as
October 2, 201213 yr It could have been, although I've downloaded everything else from you without problem ;-) Since the other is working and apparently exactly the same, I won't lose sleep. I'll see how this works out for now and try upgrading next time I take my server offline.
October 11, 201213 yr Just wanted to follow-up here: I totally did something wrong, as it is working now. I think I probably saved the links from above instead of the ones from below.
October 16, 201213 yr I can't get any comic to actually load. I do a search, add a comic, and then it just gets stuck on loading the info. Anyone else have this problem?
October 16, 201213 yr Yeah - on certain ones I get the same issue. I chalk it up to being so new. You should go to the site listed above and chime in - it sounds like the guy(s) behind it are pretty active and have good intentions!
Archived
This topic is now archived and is closed to further replies.