PhAzE

Community Developer
  • Posts

    1585
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by PhAzE

  1. Those are variable names. If you look at the interface shown in Unraid settings it is labeled: - Install directory - config/library directory - Transcode diectory Most people won't look at the code to see the variable names because the actual name of the variables aren't important. You can map those 3 directories to the folders you have currently set and it should work like normal. However if you already have Plex setup and working you probably don't have to upgrade right now. I've tested it as much as I could and use it on my own Unraid setup. I will install the old plugin tonight on mine and then install my new one to see how the transfer from one plugin to the other handles, then I will pay back here to let you know.
  2. It's the data directory on influencers plugin. My plugins don't allow the config directory and install directory merge however because that can cause issues when upgrading our moving the config directory, so if you set the "data" Dir to the install dir it will auto create a config subdirectory. Sorry, but that confuses me more. What I am trying to do is upgrade from Influencer's plugins. With those I have a data directory mapped to folders on the cache drive so things are saved between reboots. Is that what you are calling the config directory or the admin directory? Sorry, yes. Map config directory on my plugin to data directory on influencer plugin.
  3. I don't use mysql on my Unraid but when I get time I'll have a look unless someone else is in charge of that plugin.
  4. It's the data directory on influencers plugin. My plugins don't allow the config directory and install directory merge however because that can cause issues when upgrading our moving the config directory, so if you set the "data" Dir to the install dir it will auto create a config subdirectory.
  5. Legend - Thanks! NZBMegasearch is failing after a few minutes. Not sure why, I have attached the log file to help. Can you tell me which version of unraid you are running, as well as go to prompt and type "python --version" and let me know what version shows up?
  6. Hey guys, I've added the plex plugin. Again, since I don't have a plex pass account, I haven't been able to fully test the login, other than on another users PC which it worked. Please try it out and let me know if you are having any problems relating to the plugin. Note that it checks the latest version when you open the GUI so it may take 3-5 second to load the GUI. -=PhAzE=-
  7. I've updated the plugins this morning to include python 2.7.3, recommended to update the plugins then reboot to ensure the new python is used. Nzbmegasearch added too. If you have problems with megasearch it is likely due to another plugin using a different python version as megasearch doesn't work with newer python versions past 2.7.3 yet. As always, please let me know if any glaring problems occur. You can always downgrade to the last version in the GUI. If you've used a previous nzbmegasearch plugin, make sure to remove the ICON on your usb config folder so you can get the new one I made. I also re-made the sickbeard logo so it looks a little cleaner, you can remove that from your USB and reload the plugin for that one too if it matters to you, otherwise don't worry about it.
  8. All of that is done already in my plugin . With the way I designed my plugins from the start, every variable has quotes around then to prevent null values. Any spaces in directory entries are replaced with underscored because that currently breaks all influence plugins. The temp (transcode) directory must be set in the plugin because that folder boats when Plex is transcoding so it can completely use up your ram if located on the system ram drive which means it can cause Unraid stability problems. My plugin will warm the user of this if it is incorrectly set. Also my plugin will modify the Plex INI correctly so that the transcode directory shoes up in Plex correctly this eliminating the Plex write issues some users are experiencing. A lot of the fixes are present in all of my plugins.
  9. Lol transmission will hopefully be my next one.
  10. I've managed to get nzbmegasearch working for unraid 5 and 6, and will update the plugins later today to use python 2.7.3 (i used this version as nzbmegasearch is not compatible with 2.7.5 and all the other apps work on 2.7.3) The plex app is just being tested by a few to make sure the plex pass login is working, then it will be up too. I'll have a look at the new plugin structure to see how different it is from what i've made so far.
  11. It's not working for me. These plugins seem to ignore my "config directory" settings, even if I disable it completely. It always adds /config at the end, so it doesn't detect the old programs correctly. Hmm, it shouldn't be doing that, unless you have the config files merged with the application files. Can you post your install dir and config dir settings by chance?
  12. OK so no guarantees but I will at least have a look at the other programs requested here to see how difficult it will be. With a new born son, it's my lack of time that really makes the choice for me So far requested: - NZBMegaSearch - done - Transmission - done - Flexget - done - nzbget (overbyrn will update his plugin) - serviio - done - airvideo (overbyrn will update his plugin) - vfs_recycle - Not being worked on Request to change to python 2.7 vs 2.6 (all depends on how the current apps break when making that change) - Does anyone currently have the apps in post 1 running with python 2.7? Any issues you are aware of?
  13. I haven't spoken to Limetech at all. Do you know if they have any threads talking about their plan for plugins? I used python 2.6 since all the apps i've worked on work best with that so far. It's pretty easy to change, but then there would ned to be some testing done, and I believe ... couchpotato? breaks on 2.7. Is it just deluge that is using 2.7 right now and does that not work with 2.6?
  14. Just updated the BINUTILS link in the nzbdrone unraid 5 plugin as that link no longer exists. Those of you using nzbdrone will see the update in the GUI now.
  15. I can take a look to see what's involved with that. I have never used it before. Edit: Looks pretty easy. Are you aware of any glaring issues with the influencer one that I should address?
  16. Yes, it's a Plugin. It will grab the latest version and download / extract it using the latest Ubuntu version. It will also store a copy on your USB packages folder so it doesn't have to redownload after each boot. You will be able to switch from standard version to plexpass version if you have login credentials for plexpass. It will also check for updates when you go into the GUI page and then you can hit one button to update to the latest version. Much easier than having to reboot with a txz file or modifying the DEB files into a txz file. I actually have it completed EXCEPT because I don't have a plexpass account I can't verify that my code works to download the plexpass version. I will need a beta tester of someone who has that account.
  17. Important info regarding unRAID 6.2 and beyond. ***unRAID 6.2 Compatible*** Hello again! I've done another overhaul of the plugins too add new features and update for the unRAID 6.1 security changes, please see the plugin changes below. Note that your SERVER NEEDS A REBOOT AFTER UPGRADE if you are upgrading from any plugin prior to version 2015.09.06.1, to clear out old dependencies. v3 Features: NEW SickRage and Ubooquity plugins Fully compatible with unRAID 5.x, 6.0.x, and 6.1.x standards Includes all v1 features still Includes all v2 features still Dependencies now install to cache drive if located Plugin follows array status rules due to changes in dependencies, cannot start when array is offline RAM usage is now largely reduced when a cache drive is present Activity log added so you can see the history of what the plugin has done (start, stop, install, update...) New layout for the settings GUI Shows installed version even when app is stopped Shows array status Reduced GUI output to minimal, added full verbose to plugin activity log file Fixed up some app dependencies that may have been missing Added HTTPS settings to any app that supports it Dark theme support CSS cleaned up entirely into CSS files RC script now moved to plugin folder under /usr/local/emhttp/plugins folder, symlink created in /etc/rc.d for backwards compatibility When running "update" command from command line, no longer necessary to specify "Running" as it will detect current state of app New loading screen tells you what the plugin is doing when the page is loading (not fully working on unRAID 5, cosmetic) Many (and I mean MANY) more back-end changes to the code to clean it up Hi again, I've done some big overhaul work on these plugins so they will be designated as v2. See the features below (mostly back-end). v2 Features: Includes all v1 features still Everything is MD5 or SHA1 checked so no more bad downloads (at least without showing an error message) App install files are now stored on the USB drive in the app bundle folder, no more re-downloading on each reboot The app bundle folder now holds the control files and dependency files for that app, no more re-downloading on each reboot Updated dependencies for some apps for slightly better operation If no internet connection is detected, plugin will attempt to locate a copy on the USB and install that so server can still start and function Universal plugin for Unraid 5 and Unraid 6 Uninstall option added, will remove the plugin but leaves your install/config directories intact Fully compatible with Plugin Manager on Unraid 6 beta 12+ (These don't work on Unraid 6 beta 10 and under) Plugin detects if internet is out, and won't hang your server while booting or opening the settings gui When changing config directory, it will move the items rather than copy them as to not add extra space on the cache drive when nearing capacity Added option to disable version checking on the settings GUI, makes page load faster, but you won't get notified on app updates Added manual update check when auto version checking is disabled Downgrade plugin updated for U6B12+ (which normally doesn't let you install an older plugin file) Segregated all dependencies into a PhAzE-Common folder as to not interfere with the OS, uses a wrapper when starting the apps Now lists major dependency versions on settings GUi page, shows 'not working' if they fail to run, and 'not installed' if missing Reduced sleep commands where possible, updated notification messages and streamlined the plugin template to make new apps easier to develop into plugins No need for the GUI fix in the GO file with these, if you have that set up, you can remove them once you upgrade to these Likely more minor tweaks I just can't think of at the moment... Hey Everyone, I've recently decided to make plugins for all the apps I currently use so that I know how they work and can easily troubleshoot them, as well as add in extra features that I might use. I thought I'd share them all on here for anyone interested in trying them. I've tried to unify the way they work so that all the plugins use similar structure and design when functioning. Since I'm only one person with a basic Unraid set-up, I was hoping other people could both use and benefit from these while at the same time help me discover any flaws so I can improve them. Downloads for Unraid 5 and 6 are below. v1 Features: Gets current installed version of application, notifies you of an update to the app when one is available Update to app can be installed from the plugin GUI Notifies you of an update to the plugin if one is available, and can also be updated in the GUI Ability to downgrade to the previous plugin version if you don't like the latest update Update buttons only show when an update is available, checks are done when you open the GUI page Extended functionality for the applications, such as ability to set URL base, or select different BRANCH/BETA of app Ability to set HTTPS if the application allows it to be set externally Improved app directory size calculations, shows you breakdown of directory sizes if they are not subdirectories of each other Improved "RUNNING" link which can be clicked to open the app, includes port and URL base, and HTTPS if they are set Settings changed in the plugin GUI are updated in the apps settings Settings changed in the app will reflect in the plugin GUI Checks entries for port number fields to make sure they are numeric and within proper port ranges Checks entries for directory fields to make sure they don't mix (IE: config dir and install dir are separate) GIT installs retain hidden .GIT files when moved so you won't get "invalid git repo" errors Plugin Downloads: (Right-Click -> Save Link As) CouchPotato:(v3)Unraid 5/6Emby Server:(v3)Unraid 5/6FileBot:(v3)Unraid 5/6FlexGet:(v3)Unraid 5/6Headphones:(v3)Unraid 5/6Maraschino:(v3)Unraid 5/6Mylar:(v3)Unraid 5/6NZBGet:(v3)Unraid 5/6NZBmegasearcH:(v3)Unraid 5/6PlexConnect:(v3)Unraid 5/6Plex Media Server:(v3)Unraid 6 (Unraid 5 no longer supported)Resilio Sync:(v3)Unraid 5/6SABnzbd:(v3)Unraid 5/6Serviio:(v3)Unraid 5/6SickBeard:(v3)Unraid 5/6SickBeard_alt:(v3)Unraid 5/6SickRage:(v3)Unraid 5/6Sonarr:(v3)Unraid 5/6Subsonic:(v3)Unraid 5/6Transmission:(v3)Unraid 5/6Ubooquity:(v3)Unraid 5/6 These should fully work but if you come across a bug, post it here so I can update the plugin *** BACKUP YOUR DATA BEFORE INSTALLING AS A PRECAUTION *** Usage (Unraid 6): - Navigate to the Plugins tab on the Unraid interface - Click the 'install plugin' sub tab - Either paste the LINK or navigate to the .PLG file and press install - Go to the Unraid Settings page, click on the app icon, setup the way you want, and hit apply. Usage (Unraid 5): - Place .PLG file in /config/plugins/ folder on your USB stick - Reboot OR run installplg /boot/config/plugins/pluginname.plg from prompt on the server - Go to the Unraid Settings page, click on the app icon, setup the way you want, and hit apply. Thanks: - Influencer - Some code has been reused, cleaned up, and extended from his plugins - dragonfyre13 - Created the code to install nzbdrone .deb file and get the latest version number - spidi - Some code has been reused from his Plex plugin Help: If you are having problems with the plugins, please first check out this common problems thread I made to resolve some of the more common issues with plugins: LINK Notes: - PlexConnect needs to use port 80 by default, but unRAID Web GUI uses that port already. You can change the Web GUI port in the GO script by adding -p 1234 to the end of the startup command for emhttp like this: /usr/local/sbin/emhttp -p XX & (where XX is the new web port to use) then reboot. You would then access the web GUI with: http://IPofSERVER:XX - Sabnzbd uses port 8080 as a default. If you have Unmenu installed, that also uses port 8080. Remember to change the sabnzbd port to a different one so there is no conflict. - You can create a cron job to update these apps by running the following: /etc/rc.d/rc.APPNAME update - Here is a small tutorial for changing from old Plex installs/plugins to my plugin so you can keep your database and settings: Link - I recommend leaving "Show storage memory usage" set to "no" for the plex plugin as this will speed up the plugin GUI for people with large databases. Plex stores many files for its database/metadata and can cause this option to hang the browser for a while when it checks the storage size. - Transmission requires the 'transmission remote' application separately to connect and adjust more details on the daemon, or you can edit the settings.json file in your config directory if you wish. Also note that settings changed from the client app while the daemon is running will not save to the settings file until transmission-daemon is terminated. This is of course normal operation for this program so those that have used it before should be aware of this. - if Plex won't start, but installs fine, the problem is likely GCC and GCC-G++ packages installed by unmenu. They break the ability to set the locale which Plex needs to have set. These files aren't needed and are safe to remove unless you have any apps that compile from source. - Flexget runs as a daemon (aka always on), and on the web interface (click 'running' on plugin gui) you can set the schedule for tasks. Have a look at the flexget website for details on this. If no schedule is set, flexget automatically runs every task each hour. Scheduling works similar to cron jobs but is the prefered method when using the daemon. This install also sets up a flexget script in /usr/bin should you wish to stop the daemon and just make your own cron jobs. - Any plugin that allows you to change the REPO, be aware it will delete your install and config directories when you change over so there are no application conflicts of databases or config files. If you plan on going back to the previous repo, backup your config directories before making the switch. Also, there is always the chance that the custom repo you choose uses a heavily modified app that my plugin isn't compatible with so use at your own risk. - If you are using Unraid 6 Beta 12 or higher, you need the v2 plugins in order to see the plugin GUI under settings. The v1 plugins will not show up on this version of the OS. - If you are using Unraid 6.1 or higher, you need the v3 plugins in order for the buttons on the GUI to work. Other: Donations are greatly appreciated but never required: PayPal -=PhAzE=-
  18. Hey, so I've checked the version currently used in Unraid 6 beta 3 and it's OpenSSL 1.0.1e which is affected by the bug announced yesterday. The next beta should be updated to OpenSSL 1.0.1g or anything in the 0.9.8 or 1.0.0 branches to prevent any hackers from gaining full access to your ram. This is especially bad in this case since the entire OS is stored in ram and the bug gives the attacker full access to everything in RAM. Affected versions of OpenSSL are 1.0.1 to 1.0.1f (g is not affected nor are the other branches lower than 1.0.1)
  19. I was wondering if when I shutdown the array, do sickbeard, couchpotato, and sab also shutdown? If not what happens when I reboot, do they get abruptly terminated or do they have a graceful shutdown? Thx for any assistance.
  20. I'm actually having the same problem, however I have no cache drive and it's happening directly on my array. In this case, I have a "new stuff" folder that is writeable by anyone. The odd time, one PC will drop a file into that share and it will never show up for other people. Most times it works perfectly though. I also had setup the recycle VFS stuff for samba, so when a file is deleted it went into a 'recycler' folder, and often the clients that had the window open would never see those files yet they are there when browsing on the web browser or through IP.
  21. Hello, sorry if this was already asked but I didn't see it. My goal with unRAID is to have one share (\\NAS) setup with all my files in there so I can map just one drive on my laptop and PC. Below is a quick pseudo layout: (Level 1) (Level 2) (Level 3) (Level 4) NAS -> Media -> Movies -> Movie directories -> TV Shows -> Show directories -> Other -> more directories -> Comp Files -> Files + directories -> New Files -> Files + directories I want to map one drive on Windows - NAS (Level 1), then have read access for Media by my user and guest + all the sub directories, except I want the OTHER directory (Level 3) to be hidden so my kids can't find it on the share. Also I want Comp Files (Level 2) and New Files (Level 2) to be seen only by my user and not guest. Is this type of granular permissions possible on unRAID? Being able to modify permissions at a sub directory level is possible on Windows when shared but from what I see, even a custom SMB file tends to apply just to the specific share and not subdirectories in that share, or am I missing something? Not having a bunch of mapped drives keeps things neat and tidy for my family members, which is why Level 1 exists.