Jump to content

flash2000

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by flash2000

  1. On 5/18/2023 at 9:16 PM, hugenbdd said:

    ###2023.05.18
    - Fixed a issue where SED was seeing [] and {} inside of the filepath string, by double quoting the echo'd variable.
    - Added softstop as a command to gracefully exit the mover from the command line.  Checks for a (empty) file under /var/run/moversoft.stop before sending each file to the binary mover.  Will exit the loop if the file exists and mover will stop once the current file is done moving.  This is more graceful than the original stop (Which still exists) that just kills the PID.

     

    Example: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover softstop

     

    Thank you for the update and support! it is working again 😍

  2. 7 hours ago, JayBriers said:

    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. 

     

    Hi hugenbdd,

     

    I rain into the exact same issue. Maybe i can contribute too for debugging?


    Im using a naming scheme from trash-guides for Radarrr and Sonarr.

    For example, Radarr (for plex) https://trash-guides.info/Radarr/Radarr-recommended-naming-scheme/

     

    logs:

    May 17 23:46:36 Lisa-System root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 146: ((: REMAININGCACHESIZE-="/mnt/datacache/data/media/movies/Searching (2018)/Searching (2018) {imdb-tt7668870}: syntax error: operand expected (error token is ""/mnt/datacache/data/media/movies/Searching (2018)/Searching (2018) {imdb-tt7668870}")
    May 17 23:46:37 Lisa-System root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 146: ((: REMAININGCACHESIZE-="/mnt/datacache/data/media/movies/Searching (2018)/Searching (2018) {imdb-tt7668870}: syntax error: operand expected (error token is ""/mnt/datacache/data/media/movies/Searching (2018)/Searching (2018) {imdb-tt7668870}")
    May 17 23:46:37 Lisa-System root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 146: ((: REMAININGCACHESIZE-="/mnt/datacache/data/media/movies/Second Act (2018)/Second Act (2018) {imdb-tt2126357}: syntax error: operand expected (error token is ""/mnt/datacache/data/media/movies/Second Act (2018)/Second Act (2018) {imdb-tt2126357}")
    May 17 23:46:38 Lisa-System root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 146: ((: REMAININGCACHESIZE-="/mnt/datacache/data/media/movies/Second Act (2018)/Second Act (2018) {imdb-tt2126357}: syntax error: operand expected (error token is ""/mnt/datacache/data/media/movies/Second Act (2018)/Second Act (2018) {imdb-tt2126357}")
    May 17 23:46:38 Lisa-System root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 146: ((: REMAININGCACHESIZE-="/mnt/datacache/data/media/movies/Sgt. Stubby An American Hero (2018)/Sgt. Stubby An American Hero (2018) {imdb-tt5314190}: syntax error: operand expected (error token is ""/mnt/datacache/data/media/movies/Sgt. Stubby An American Hero (2018)/Sgt. Stubby An American Hero (2018) {imdb-tt5314190}")

     

×
×
  • Create New...