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.

JayBriers

Members
  • Joined

  • Last visited

  1. I have pushed up a PR. I havnt had chance to look at the other issues for now.
  2. Does it all make sense? Would you like me to put up a PR on GitHub?
  3. I can try have a look if I get a chance this week.
  4. I've done some more debugging this evening, and figured out two things. The find command shouldn't be using `-name` for entire paths, even if the path is to a file. Square brackets in a filepath breaks find. Running the following command now correctly removes that file from the list. find "/mnt/hddcache/media" -type f -not -name '.placeholder' -not -path "/mnt/hddcache/media/completeDownloads/*" -not -path "/mnt/hddcache/media/Films/The Bank Job (2008) {imdb-tt0200465}/The Bank Job (2008) {imdb-tt0200465} \[WEBDL-1080p]\[AAC 2.0]\[h264].mp4" So, as for age_mover, I think I've managed to fix my issues by escaping the opening square bracket via: ESCAPED_PATH=${skipped_path//[/\\[} which I then place into the FINDSTR (while also changing -name to -path) FINDSTR="$FINDSTR -not -path \"${ESCAPED_PATH}\"" # changed from '${skipped_path}'"
  5. Just came here to post about the same thing. After fixing my previous issue, I also seem to be having some weird issues with mover trying to move things in the ignore list. The Mover Action log seems to have duplicate entries for the same file, one to move, one to keep. My ignore file is only 76 entries long, but some of the filepaths are quite long... however, i dont think the length is a factor. I have extracted the find command from the age_mover script. Then run it manually, and I can also confirm that the file list returned contains files in the ignore! So I've simplified further and ran a simple find: find "/mnt/hddcache/media" -type f -not -name '.placeholder' -not -path "/mnt/hddcache/media/completeDownloads/*" -not -name "/mnt/hddcache/media/Films/The Bank Job (2008) {imdb-tt0200465}/The Bank Job (2008) {imdb-tt0200465} [WEBDL-1080p][AAC 2.0][h264].mp4" And that command is STILL returning /mnt/hddcache/media/Films/The Bank Job (2008) {imdb-tt0200465}/The Bank Job (2008) {imdb-tt0200465} [WEBDL-1080p][AAC 2.0][h264].mp4 in the list. Nothing I try will exclude that file from the results. I'm not sure whats going on, but I decided to change tact. I started looking at alternate ways, and i seems using a grep is more consistent, at least for me, but I had the change the printf to print each result on a new line, which meant changing the awk too, but ultimately, it comes out to a find command like this, which seems to give me the correct results. i.e. find "/mnt/hddcache/media" -type f -depth -not -name '.placeholder' -printf '%T@|%s|%S|%n|%i|%p|\n' | grep -vFf /path/to/myMoverignore.txt | awk -v RS='\n' -v FS='|' -v SPARSENESS='0' -v PRIMARYSTORAGENAME='hddcache' -v SECONDARYSTORAGENAME='user0' -v SHARENAME='media' -v SHAREUSECACHE='yes' -v PRIMARYSIZETHRESH='0' ' { printf "%s|%s|%s|%s|%d|%d|%d|%d|%d|%d|%s\n", PRIMARYSTORAGENAME, SECONDARYSTORAGENAME, SHARENAME, SHAREUSECACHE, $1, PRIMARYSIZETHRESH, $2, $3, $4, $5, $6}' Let me know if I can help out any more! EDIT: I've had some additional thoughts since, and I think the grep solution is good for files, however, it probably doesnt work for folders. I think the find command is a regex, which might be why it doesnt work properly for my filenames, that contain regex characters. Maybe a hybrid solution with the find command filtering folders, and the grep filtering files? I dont know. Just some thoughts
  6. Apologies, I should have put the error message in too. The message I am getting is: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: eval: line 739: syntax error near unexpected token `(' Essentially errorring at the next open bracket after the single quote, which would be in the next filepath. If I limit my ignore file to only two files, the first one being one with a single quote, the find str looks like find '/mnt/hddcache/media' -type f -depth -not -name '.placeholder' -not -name '/mnt/hddcache/media/TV/8 Out of 10 Cats Does Countdown (2013) {imdb-tt2345459}/Season 07/8 Out of 10 Cats Does Countdown (2013) - S07E08 - Roisin Conaty Sarah Millican Rhod Gilbert David O'Doherty [WEBDL-1080p][AAC 2.0][x264]-NAF.mkv' -not -name '/mnt/hddcache/media/TV/8 Out of 10 Cats Does Countdown (2013) {imdb-tt2345459}/Season 07/8 Out of 10 Cats Does Countdown (2013) - S07E09 - Seann Walsh Joe Wilkinson Danny Dyer Bill Bailey [WEBDL-1080p][AAC 2.0][x264]-NAF.mkv' -printf '%T@|%s|%S|%n|%i|%p|\0' | awk -v RS='\0' -v FS='|' -v SPARSENESS='0' -v PRIMARYSTORAGENAME='hddcache' -v SECONDARYSTORAGENAME='user0' -v SHARENAME='media' -v SHAREUSECACHE='yes' -v PRIMARYSIZETHRESH='0' ' { printf "%s|%s|%s|%s|%d|%d|%d|%d|%d|%d|%s\n", PRIMARYSTORAGENAME, SECONDARYSTORAGENAME, SHARENAME, SHAREUSECACHE, $1, PRIMARYSIZETHRESH, $2, $3, $4, $5, $6}' If I have only the one filepath in the ignorefile, I get the same error as you unexpected EOF while looking for matching `''
  7. Hi, I recently installed the latest version of this from @Masterwishx (2025.02.18.1752) after upgrading to Unraid 7. However, I am having an issue when the script processes my ignore list. I have a script that runs every couple of hours to check Plex OnDeck and Watchlists, and moves those files to the cache, and then adds the file names to an ignore list, so they dont get moved back. However, this version of mover can't deal with filenames that have single quotes in them. For example, /mnt/hddcache/media/TV/8 Out of 10 Cats Does Countdown (2013) {imdb-tt2345459}/Season 07/8 Out of 10 Cats Does Countdown (2013) - S07E11 - Mel Giedroyc Lee Mack David O'Doherty Adam Buxton [WEBDL-1080p][AAC 2.0][x264]-NAF.mkv To resolve this, I have changed the following lines in my age_mover file: Line 666: FINDSTR="$FINDSTR -not -path '${skipped_path}'" to FINDSTR="$FINDSTR -not -path \"${skipped_path}\"" Line 670: FINDSTR="$FINDSTR -not -name '${skipped_path}'" to FINDSTR="$FINDSTR -not -name \"${skipped_path}\"" This seems to resolve the issue, as the strings in the subsequent find command are now double quotes. I don't know if this is something that can be incorporated into the plugin itself, or not, but I thought I'd fire some feedback over.
  8. Thanks for taking the suggestions on board so quickly. Can confirm for others that these changes are working for me.
  9. Latest version of Mover Tuning, and Unraid 6.11.5
  10. Hi hugenbdd, I am having some issues setting up mover tuning on my media share. I believe its due to spaces in the filenames. I have managed to resolve this problem by putting double quotes around the variables that are echo'd and piped somewhere else. Such as `sed` and `move` An example of the logs im seeing are. Which appears to be an issue processing the filesize using sed. May 17 11:14:30 Falcon2 root: mover: started May 17 11:14:31 Falcon2 root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 233: ((: TOTALCACHESIZE+="/mnt/cache/media/Films/Blitz (2011) {imdb-tt1297919}/Blitz (2011) {imdb-tt1297919}: syntax error: operand expected (error token is ""/mnt/cache/media/Films/Blitz (2011) {imdb-tt1297919}/Blitz (2011) {imdb-tt1297919}") May 17 11:14:31 Falcon2 move: error: move, 392: No such file or directory (2): lstat: May 17 11:14:31 Falcon2 root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 146: ((: REMAININGCACHESIZE-="/mnt/cache/media/Films/Blitz (2011) {imdb-tt1297919}/Blitz (2011) {imdb-tt1297919}: syntax error: operand expected (error token is ""/mnt/cache/media/Films/Blitz (2011) {imdb-tt1297919}/Blitz (2011) {imdb-tt1297919}") May 17 11:14:31 Falcon2 root: mover: finished Once resolved, it started to error when I turned off test mode, when calling the mover itself May 17 14:03:44 Falcon2 root: mover: started May 17 14:03:44 Falcon2 move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/media/Films/Blitz (2011) {imdb-tt1297919}/Blitz (2011) {imdb-tt1297919 May 17 14:03:44 Falcon2 root: mover: finished I cannot see any up to date source code in the GitHub repo so i cannot open a pull request to show my changes but let me know if I can help with any more info.

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.