Jump to content

Cessquill

Members
  • Posts

    789
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Cessquill

  1. Not a problem. I'm not far ahead of you. I'm sure there's a more efficient way of scripting it, since I'm just literally converting each step of the manual process into a docker command.
  2. Go back to the previous page where you got this script from and recreate it using that - it's been updated with the exec command in place. Also note in the one you've just quoted there is a line break missing, so two commands are on a single line (in other words, replace it with the new version).
  3. Updated the user script on the previous page to add "exec" to the file that's created. Thanks for looking into this. On my 1050ti I've been getting high CPU usage on occasion too.
  4. I tested it on my system and it seems fine to me.
  5. There may be a valid reason why this is not done already, but if you edit the name of the script, could it also update the name of the corresponding folder in the user.scripts\scripts directory? When I'm working on something I'll often call it something like "z docker testing" to put it at the end of the list. When finished, I rename it, but it still stays at the bottom. I'm guessing the plugin sorts the scripts list by folder name?
  6. Put this together earlier. If it's correct, it's a User Script that applies the Plex hardware decoding patch... #!/bin/bash con="plex" echo "" echo "<font color='red'><b>Applying hardware decode patch...</b></font>" echo "<hr>" docker exec -i $con mv "/usr/lib/plexmediaserver/Plex Transcoder" "/usr/lib/plexmediaserver/Plex Transcoder2" docker exec -i $con /bin/sh -c 'printf "#!/bin/sh\nexec /usr/lib/plexmediaserver/Plex\ Transcoder2 -hwaccel nvdec "\""\$@"\""" > "/usr/lib/plexmediaserver/Plex Transcoder";' docker exec -i $con chmod +x "/usr/lib/plexmediaserver/Plex Transcoder" docker exec -i $con chmod +x "/usr/lib/plexmediaserver/Plex Transcoder2" docker restart $con echo "" echo "<font color='red'><b>Done!</b></font>" Disclaimer: I know very little about bash, docker commands or what the above patch actually does. It's just pieced together from working out how I think it's done manually and converting that into a script. If it can be improved (or if it's dangerously wrong), please let me know. If it's fine, I'll put it in the User Scripts area. Notes: Should be run when Plex is installed/updated From the command line, run "docker ps" to see what your plex container is called. Set that as the "con" variable in your script (mine is "plex") This script is only required until Plex officially supports hardware decoding It preforms the same as recommended earlier in this thread, namely... Renames the file "Plex Transcoder" to "Plex Transcoder2" Creates a new "Plex Transcoder" file with the suggested contents Changes permissions on both "Plex Transcoder" and "Plex Transcoder2" files (not sure it's required on Transcoder2 - seemed to work for me without) Restarts the Plex container (not sure if required, but doing it anyhow) Probably best nothing is playing whilst the script is run You'll need to have Plex running for the script to work. Would require different code if stopped (would probably be safer to stop the container first, make the changes then start again, but here we are) Run "nvidia-smi dmon -s u" from the terminal (not within Plex container) to check whether the decoding is working. Set a video to play in a transcoded state, and the 3rd and 4th columns from the end should be non-zero Good luck!
  7. Waiting for an -RC5 version of the nvidia plugin. I was having spin up issues on -RC4 so had to roll back. Once that's available I'll go for it.
  8. Why did I have it in my head a dev was on here? Apologies.
  9. Hi - is it (or might it be) possible to add a note to the weekly email? There's often times when there's a small announcement that doesn't warrant it's own email. If a field could be populated during the week, inserted into the email and then cleared that would be very handy. 😀
  10. Haven't found one myself, but it might be worth also considering power consumption on a 24/7 server too. For example, the 1050ti doesn't need an extra power cable from the PSU (nor does the P2000) and Its draw is rated at 75W. AFAIK, the 1060 and above draw more. Brief tests yesterday between midnight and 2am (when I had time to install and set up) had a used 1050ti streaming two 4K movies to my Plex browser running over wifi, and the system didn't seem to be breaking a sweat (like it has done previously). That's with the Plex patch to decode. Obviously not extensive, but it's an indication that quite a lot is possible. I'm not sure how relevant GPU benchmarks are to transcoding, but I understand that the P2000 (with its unlimited transcoding) falls between the 1050ti and 1060.
  11. Completely understand, and share concerns. Maybe appending a download request url with "&new=true" (or technical equivalent and encrypted depending on mechanism)? As I understand it (and I'm wrong a lot), your download is already counted but not associated with anybody. This just allows that same count to be arguably more useful, and it's still not tied to you. I get why it's a contentious issue - just thinking out loud.
  12. That's not what I meant, TBH. When your client downloads something, it currently adds 1 to a download count for the star system (the way I understand it). I was proposing that the count is only increased if it's a fresh install, and not an upgrade. It's not storing anything about you specifically having it. There is some mechanism (I'm guessing client-side) to list your previous apps and installed apps already within CA. Therefore, when an app is downloaded, a yes/no flag would highlight whether this was a new install. Wouldn't be super-accurate. Obviously getting hypothetical, since I have no real clue how it works, but ultimately I wasn't suggesting that CA maintain an online database of who's got what. Just some kind of anonymous count.
  13. Sorry, "most people use" wasn't a great phrase, and I get why it's not that simple, and potentially misleading. Some containers update almost daily. Having some mechanism to auto-highlight the most popular on a list without necessarily having to sort by it would be handy though. Can you easily discern between fresh install and upgrade? Hopefully as CA knows what a user has installed, it might somehow maintain an install count for each app. Lots of ifs and maybes in there though. I wouldn't know how useful an actual rating system would be. This time around I went to the support threads of each and tried to work it out for myself. Thanks for the comments, very interesting.
  14. I was looking to install Emby for the first time the other day, and wanted a quick way from the search results to see which one most people use. In the past I'd normally go down the "most starred" route. Whether that's fair to the other devs (or best for my use case) is debatable, but it helps make a choice (in the same way that plumping for an Amazon product with the highest rating does).
  15. Apologies - I stared at that for ages and still missed it. Long day. Didn't help that I checked against mine on a mobile phone and don't have 58946 mapped. As you were...
  16. According to your screenshot, you've got the same port mapped three times in your container settings (port 58846). That doesn't look right.
  17. That's handy (I hope). I sent @SlrG my conf file, which was slightly modified but not crazy - and it doesn't look like anything in it would prevent it from starting. Could be another plugin/setting I've got - my machine's not a mess, but it's been upgraded since v4.7, so you never know.
  18. /usr/local/SlrG-Common/usr/local/sbin/proftpd: error while loading shared libraries: libssl.so.1: cannot open shared object file: No such file or directory I'm in a similar boat - RC4 won't start, whereas 6.6.6 was fine. The above is the result of your command
  19. Thanks for confirming. Can't check myself as I don't have a card (on order). Could tidy up a lot for me. I have quite a few duplicates, as my Nvidia TV Shield can stream up to 4K direct, but everything else throws the CPU in the red.
  20. I was under the impression that the patch for Plex mentioned earlier in this thread enabled hardware decoding (at least until it's officially turned on). Is that not the case? This comment
  21. Will do. More accurately, will be testing on stock Unraid. Apologies, bit of a stupid morning.
  22. Before I dive into finding out why later, has anybody had any issues with drives not spinning down? I went from 6.6.6 to RC4 yesterday, and all but parity has been up since (from what I can tell). I did also go via the Nvidia plugin (I know, I know - change one thing at a time!), but hopefully that shouldn't affect it. It *looks* like every drive is being read every 20 seconds or so - not sure whether a plugin/docker isn't happy. Haven't seen anybody mention it here, but thought I'd ask before attacking it seriously.
  23. Thanks - that's what I was thinking. PIA has a 5 connection limit, so it's not the end of the world using 2 or 3 of those on Unraid. Would rather use as few as possible though. (the support link in CA currently points to here - assuming a new topic will be created and linked in due course)
  24. Apologies if this is the wrong thread , but a support link in CA sent me here. Just found binhex-privoxyvpn in CA, and from what I can tell it's fairly new. Is it the "VPN" part of the other binhex containers (ie, binhex-delugevpn without the deluge)? If so, this might come in handy - I've raised before that I've wanted to stop a container, but couldn't because VPN traffic was going through it. If so, I'm guessing deluge/rtorrent can be set to use a proxy and have VPN turned off?
×
×
  • Create New...