Jump to content

Recommended Posts

Dickydodah!
Posted

Hi @SluggerI'm still using your excellent app and have never found anything else that comes close. I'm actually dipping my toes into the Linux pool now as my hardware is getting too old to run Windows even with all the hacks available. I've decided on OpenMediaVault as the basis for my server and so far its been a steep learning curve but I have everything working fine. I was wondering if you were likley to release a Docker container for Embysweeper as OMV is really only for Docker. I may be able to run Embysweeper using the OMV scripts plugin but having it in Docker would be much tidier 😀

Dickydodah!
Posted

I've decided to have a good go at this in linux and so far I've managed to get it running fine in a terminal using a modified version of my windows @options file. However OpenMediaVault doesnt like the @options file when I try to schedule the job so I tried to use the command with the options in a string. It's been a while since I set this all up and I recall having a few issues getting my head around the syntax.

This is my options file;

############################################

# TV shows cleanup
#
serieskeep
#     --log-file=emby_logs/EmbySweeper-log.txt    # Standard logs
# -qq --log-file=emby_logs/EmbySweeper-log.txt    # Error logs
# -q  --log-file=emby_logs/EmbySweeper-log.txt    # Warning and error logs
  -v  --log-file=emby_logs/embysweeper-log.txt    # verbose logs
# -v  --log-http=Logs/HTTP            # Verbose logs with API calls

  --server-host="localhost"
  --server-port=8096
  --server-login=embysweeper
  --server-password=#### 
  --lib-include "TV Shows"
  --filters IsPlayed=true;IsFavorite=false
  --cleanup-user="TV"
  --series-filters=IsFavorite=false
  --min-age-days=0
  --keep 1

############################################

This @options file works fine in Linux and Windows however the comand below works in Windows but not in Linux. I've been trying for a while but can't get this to work. Can you check the syntax for me please as I can't find the errors?

embysweeper serieskeep -v --log-file=Logs/EmbySweeper-log.txt --server-host="localhost" --server-login="embysweeper" --server-password=#### --server-port=8096 --lib-include "TV Shows" --filters IsPlayed=true;IsFavorite=false --cleanup-user=TV --series-filters=IsFavorite=false --min-age-days=0 --keep 1

This is the output from Linux

root@mediarr-2:~# embysweeper serieskeep -v --log-file=Logs/EmbySweeper-log.txt --server-host="localhost" --server-login="EmbySweeper" --server-password=##### --server-port=8096 --lib-include "TV Shows" --filters IsPlayed=true;IsFavorite=false --cleanup-user=TV --series-filters=IsFavorite=false --min-age-days=0 --keep 1
panic: missing flags: --keep=INT

goroutine 1 [running]:
github.com/samber/lo.must({0xca3d60, 0xc000096c60}, {0x0, 0x0, 0x0})
        /go/pkg/mod/github.com/samber/lo@v1.39.0/errors.go:53 +0x1df
github.com/samber/lo.Must[...](...)
        /go/pkg/mod/github.com/samber/lo@v1.39.0/errors.go:65
gitlab.com/ddb_db/embysweeper/internal/commands.Start({0xc0000fa100, 0xb, 0x10}, {0xe8ccb4?, 0x0?}, 0x0)
        /builds/ddb_db/embysweeper/internal/commands/root.go:47 +0x27d
main.main()
        /builds/ddb_db/embysweeper/main.go:14 +0x98
-bash: --cleanup-user=TV: command not found
root@mediarr-2:~#

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...