Closed markus681 closed 2 years ago
I think the problem is just with your bash script, where you do "$2"
In your example command, markus@bigeddy /m/d/S/A/Archive 81 S01> tvnamer 390936 *
- in the bash script,
$1
is set to 390936$2
is set to the first filename$3
is set to the second filename..but you are only using $1
and $2
Using something like https://stackoverflow.com/questions/8906187/how-to-skip-the-first-argument-in would be the simplest solution I think, something like
#!/bin/bash
series_id=$1
files="${@:2}" # skip $0 and $1
python3 -m tvnamer -c /media/disk2/backup/mytvnamerconfig.json --series-id=$series_id $files
Hope that helps!
Hello,
I'am running tvnamer's last Version 3.0.4 on my Ubuntu 20.04.3 LTS Server on a headless machine, Python Version is "Python 3.8.10". I also have a TvDB API Key, that is in the config file.
My problem is that i only get the first Episode renamed from 8 that are available on "thetvdb.com". I don't know why this happens...hopefully you can help....
I also created a new config file from tvnamer and edited to my needs and add the API Key... here's my config file
for the command i created a bash file for simple rename
that's the Series i tried to rename the filenames are "archive.81.s01e02.german.dl.720p.web.x264-***.mkv"
Sorry for my bad English...
Thanks for the Help Guys
Greetz