Page 1 of 1

[Feature Req] Whats missing in a series

Posted: 10 Jul 2016, 06:50
by Dilli
Hello,

I was hoping it was possible to get a feature added basically you would point to a series folder/season and it would scan and let you know if something was missing for that season/series.

i could see this as something i would use for both TV and Anime.

thanks,
Dilli

Re: [Feature Req] Whats missing in a series

Posted: 10 Jul 2016, 09:32
by rednoah
There's a script for that. No plans on making a GUI for something like that though.

@see viewtopic.php?f=4&t=5#p19132

Re: [Feature Req] Whats missing in a series

Posted: 10 Jul 2016, 18:19
by Dilli
Thanks for the response.

When i run that script i might not be understanding the output but it looks like it is just listing all episodes in the series and not doing a comparison. i remove a file i know as a test and it still show it in the list. i'm using the --log off output as per the instructions.
i'm also have my media on a UNC path \\nas\share\folder encase that matters

I'm a doing it wrong or could it be bugged.

Thanks for everything.
Dilli

Re: [Feature Req] Whats missing in a series

Posted: 10 Jul 2016, 19:10
by rednoah
Notes wrote:This script will not parse or guess any information from the filename. Files that do not contain xattr metadata will be ignored.
FileBot will write xattr on rename. If files have never been processed with FileBot, there will not be any xattr. If the filesystem (or smb share) does not support xattr, there will not be any xattr.

Most likely problem: Your smb share has extended attributes disabled.

e.g.

Code: Select all

$ filebot -script fn:xattr /media
/media/Avatar (2009).mp4
	net.filebot.filename: Avatar.mp4
	net.filebot.metadata: {"@type":"net.filebot.web.Movie","year":2009,"imdbId":499549,"tmdbId":19995,"language":"en","id":19995,"name":"Avatar","aliasNames":[]}

Example

Posted: 10 Jul 2016, 19:20
by rednoah

Code: Select all

$ filebot -rename *.mp4 --q Alias --db TheTVDB -non-strict --log info
[MOVE] Rename [Alias 1x01.mp4] to [Alias - 1x01 - Truth Be Told.mp4]

Code: Select all

$ filebot -script fn:miss .
TheTVDB::75930 | Alias - 1x01 - Truth Be Told | /media/Alias - 1x01 - Truth Be Told.mp4
Alias - 1x02 - So It Begins
Alias - 1x03 - Parity
Alias - 1x04 - A Broken Heart
Alias - 1x05 - Doppelgänger
...

Code: Select all

$ filebot -script fn:miss /media --log OFF
Alias - 1x02 - So It Begins
Alias - 1x03 - Parity
Alias - 1x04 - A Broken Heart
Alias - 1x05 - Doppelgänger
...