Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mylar Plugin - Headphones for Comics

Featured Replies

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  ;D. 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

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.

  • 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.

  • 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

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

nice, can't wait to try it.

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!

  • 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

 

 

Most likely was downloaded wrong, if you scroll down on the github to downloads, right click save as

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.

  • 2 weeks later...

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.

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?

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.