[Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]

How-to guides, frequently asked questions, not-so-obvious features, etc
Post Reply
fireheart2008
Posts: 30
Joined: 29 Jul 2014, 05:39

Re: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1

Post by fireheart2008 » 21 Jun 2016, 09:10

Hello Ithiel

it appears to be some issues with the artwork fetching of TV

as you can see, I tried it on a series called Broadchurch, no photos were downloaded -only the .nfo file
tried it again on a more popular series [friends ] but same result

i hope these logs help you understand what's wrong

Code: Select all

��� 21, 2016 10:45:05 � net.sf.ehcache.store.disk.DiskStorageFactory <init>
WARNING: The index for data file C:\Users\Rami\AppData\Roaming\FileBot\cache\0\github_stable_0.data is out of date, probably due to an unclean shutdown. Deleting index file C:\Users\Rami\AppData\Roaming\FileBot\cache\0\github_stable_0.index
R:\Media\TV Shows\Broadchurch\Broadchurch S01 => Search by Broadchurch
R:\Media\TV Shows\Broadchurch\Broadchurch S01 => Broadchurch
Generate Series NFO: Broadchurch [266398]
No signature of method: net.filebot.WebServices$TheTVDBClientWithLocalSearch.getArtwork() is applicable for argument types: (net.filebot.web.SearchResult, java.lang.String, java.util.Locale) values: [Broadchurch, poster, en]
Possible solutions: getArtwork(int, java.lang.String, java.util.Locale), iterator()
groovy.lang.MissingMethodException: No signature of method: net.filebot.WebServices$TheTVDBClientWithLocalSearch.getArtwork() is applicable for argument types: (net.filebot.web.SearchResult, java.lang.String, java.util.Locale) values: [Broadchurch, poster, en]
Possible solutions: getArtwork(int, java.lang.String, java.util.Locale), iterator()
	at Script2.fetchSeriesBanner(Script2.groovy:72)
	at Script2$_fetchSeriesArtworkAndNfo_closure8$_closure24.doCall(Script2.groovy:131)
	at Script2$_fetchSeriesArtworkAndNfo_closure8.doCall(Script2.groovy:131)
	at Script2$_fetchSeriesArtworkAndNfo_closure8.doCall(Script2.groovy)
	at net.filebot.cli.ScriptShellBaseClass.tryLogCatch(ScriptShellBaseClass.java:127)
	at Script2.fetchSeriesArtworkAndNfo(Script2.groovy:125)
	at Script1$_run_closure1.doCall(Script1.groovy:46)
	at net.filebot.cli.ScriptShellMethods.eachMediaFolder(ScriptShellMethods.java:199)
	at Script1.run(Script1.groovy:7)
	at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:62)
	at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
	at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:114)
	at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
	at net.filebot.Main.main(Main.java:120)
Done ヾ(@⌒ー⌒@)ノ

Code: Select all

R:\Media\Friends\Friends S08 => Search by Friends
R:\Media\Friends\Friends S08 => Friends
Generate Series NFO: Friends [79168]
No signature of method: net.filebot.WebServices$TheTVDBClientWithLocalSearch.getArtwork() is applicable for argument types: (net.filebot.web.SearchResult, java.lang.String, java.util.Locale) values: [Friends, poster, en]
Possible solutions: getArtwork(int, java.lang.String, java.util.Locale), iterator()
groovy.lang.MissingMethodException: No signature of method: net.filebot.WebServices$TheTVDBClientWithLocalSearch.getArtwork() is applicable for argument types: (net.filebot.web.SearchResult, java.lang.String, java.util.Locale) values: [Friends, poster, en]
Possible solutions: getArtwork(int, java.lang.String, java.util.Locale), iterator()
	at Script2.fetchSeriesBanner(Script2.groovy:72)
	at Script2$_fetchSeriesArtworkAndNfo_closure8$_closure24.doCall(Script2.groovy:131)
	at Script2$_fetchSeriesArtworkAndNfo_closure8.doCall(Script2.groovy:131)
	at Script2$_fetchSeriesArtworkAndNfo_closure8.doCall(Script2.groovy)
	at net.filebot.cli.ScriptShellBaseClass.tryLogCatch(ScriptShellBaseClass.java:127)
	at Script2.fetchSeriesArtworkAndNfo(Script2.groovy:125)
	at Script1$_run_closure1.doCall(Script1.groovy:46)
	at net.filebot.cli.ScriptShellMethods.eachMediaFolder(ScriptShellMethods.java:199)
	at Script1.run(Script1.groovy:7)
	at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:62)
	at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
	at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:114)
	at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
	at net.filebot.Main.main(Main.java:120)
Done ヾ(@⌒ー⌒@)ノ

i tried it on a movie , it worked

Code: Select all

R:\Media\Zodiac [2007, R, Rating 7.7] => Zodiac (2007)
Generate Movie NFO: Zodiac [1949]
Fetching R:\Media\Zodiac [2007, R, Rating 7.7]\poster.jpg => [posters/1400x2100, en, 0, https://image.tmdb.org/t/p/original/kIW7N2bKV42OWk1kkMeq5ewZQVh.jpg]
Fetching R:\Media\Zodiac [2007, R, Rating 7.7]\fanart.jpg => [backdrops/1280x720, en, 0, https://image.tmdb.org/t/p/original/qT3JZ4dt8YarSRWaiYFhiJGf4LI.jpg]
Fetching R:\Media\Zodiac [2007, R, Rating 7.7]\clearart.png => [hdmovieclearart, en, 2, http://assets.fanart.tv/fanart/movies/1949/hdmovieclearart/zodiac-56a78b5686713.png]
Fetching R:\Media\Zodiac [2007, R, Rating 7.7]\logo.png => [hdmovielogo, en, 3, http://assets.fanart.tv/fanart/movies/1949/hdmovielogo/zodiac-520be46305f94.png]
Fetching R:\Media\Zodiac [2007, R, Rating 7.7]\disc.png => [moviedisc/bluray, en, 5, http://assets.fanart.tv/fanart/movies/1949/moviedisc/zodiac-521a8cf10fb8f.png]
Done ヾ(@⌒ー⌒@)ノ

but there was an issue with fetching subtitles with Friends

Code: Select all

Ignore [Friends - S08E04 - The One With The Videotape.1080p.mkv]: File creation date is too far in the past
Ignore [Friends - S08E08 - The One With The Stripper.1080p.mkv]: File creation date is too far in the past
Done ヾ(@⌒ー⌒@)ノ

Ignore [Friends - S08E04 - The One With The Videotape.1080p.mkv]: File creation date is too far in the past
Ignore [Friends - S08E08 - The One With The Stripper.1080p.mkv]: File creation date is too far in the past
Done ヾ(@⌒ー⌒@)ノ

but tested it somewhere else, it worked

Code: Select all

Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
Fetching [English] subtitles [Black.Mass.2015.720p.BluRay.x264-BLOW.srt] from [OpenSubtitles]
Writing [Black.Mass.2015.720p.BluRay.x264-BLOW.srt] to [Black Mass.(2015).720p.eng.srt]
Get [Arabic] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
Fetching [Arabic] subtitles [Black Mass 2015.srt] from [OpenSubtitles]
Writing [Black Mass 2015.srt] to [Black Mass.(2015).720p.ara.srt]

User avatar
rednoah
The Source
Posts: 13947
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1

Post by rednoah » 22 Jun 2016, 10:05

The logs indicate that the version of filebot is incompatible with the version of the script. Call scripts via fn:name syntax instead of outdated local copies.
:idea: Please read the FAQ and How to Request Help.

ReddPool
Posts: 15
Joined: 14 Oct 2015, 11:05

Re: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1

Post by ReddPool » 22 Jun 2016, 14:59

Is it something that can be changed in the script on our own or should we wait for Ithiel to modify it ?

Thanks (sorry for the stupid question).

ReddPool
Posts: 15
Joined: 14 Oct 2015, 11:05

Re: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1

Post by ReddPool » 30 Jun 2016, 10:42

I've looked at Ithiel last connection and it was almost 2 months ago so is there a way to fix this script by ourselves or not ?

Thanks for the help ! :)

fireheart2008
Posts: 30
Joined: 29 Jul 2014, 05:39

Re: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]

Post by fireheart2008 » 08 Jul 2016, 02:03

to fix the tool, just download this registry file and install it

http://uptobox.com/14fe3srf9h1y

Image

CooLTanG
Posts: 21
Joined: 26 Jul 2016, 09:26

Re: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]

Post by CooLTanG » 27 Jul 2016, 08:26

Would be cool if you could just use this to revert back to original name too.

SHJordan
Posts: 13
Joined: 05 May 2015, 11:03

Re: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]

Post by SHJordan » 30 Jul 2016, 05:47

fireheart2008 wrote:to fix the tool, just download this registry file and install it

http://uptobox.com/14fe3srf9h1y

Image
can u fix it for Windows 10? cause it seems that we're no longer invoking the groovy files from the filebot folder and instead are using then directly through GitHub.

Thristle
Posts: 2
Joined: 06 Nov 2014, 14:15

Re: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]

Post by Thristle » 08 Aug 2016, 22:39

don't use the cloud managed schemes (needs to reinstall)

TehBotol
Supporter
Posts: 30
Joined: 06 Mar 2013, 00:01

Re: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]

Post by TehBotol » 29 Aug 2016, 20:48

It still working fine in windows 10

for my further reference

Fetch Extra Fan Art + Create IMDB URL

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\Folder_Menu\shell\002Fetch]
"MUIVerb"="Fetch"
"ExtendedSubCommandsKey"="FileBot\\\\Folder_Menu\\\\shell\\\\002Fetch"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\Folder_Menu\shell\002Fetch\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\Folder_Menu\shell\002Fetch\shell\001TVArtworkTV]
"MUIVerb"="Artwork for TV Shows (theTVDB)"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\Folder_Menu\shell\002Fetch\shell\001TVArtworkTV\command]
@="cmd /c filebot -script dev:artwork.tvdb --def extras=y \"%1\" --log-file context.log"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\Folder_Menu\shell\002Fetch\shell\002ArtworkMovies]
"MUIVerb"="Artwork for Movies (theMovieDB)"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\Folder_Menu\shell\002Fetch\shell\002ArtworkMovies\command]
@="cmd /c filebot -script dev:artwork.tmdb --def extras=y \"%1\" --log-file context.log"


SHJordan
Posts: 13
Joined: 05 May 2015, 11:03

Re: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]

Post by SHJordan » 03 Sep 2016, 04:48

Thristle wrote:don't use the cloud managed schemes (needs to reinstall)
care to elaborate?

SHJordan
Posts: 13
Joined: 05 May 2015, 11:03

Re: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]

Post by SHJordan » 03 Sep 2016, 06:51

after the windows 10 redstone update(anniversary update) when i click on any option of the script it only flashes the cmd screen and auto-close it.

idk even if it report a single error or something becaause if i try to run the commands of the regedit key manually on cmd it will work... so it a issue on the context menu or something i think. can anyone hint some solution?

ginolard
Posts: 1
Joined: 11 Dec 2016, 18:26

Re: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]

Post by ginolard » 11 Dec 2016, 18:30

I've been using these menus for years but I now want to change where it moves the renamed files to (as I've bought a NAS).

Is it easy to change the destination or do I have to run the setup again?

User avatar
Ithiel
Power² User
Posts: 204
Joined: 11 Jul 2013, 14:58

Re: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]

Post by Ithiel » 01 Jan 2017, 05:54

@ginolard & @SHJordan,

Rerunning the setup for the script should fix both your issues.

-------------------------------

@TehBotol,

I'm rusty as hell with this, but.. to recap - you're saying that replacing this section would fix the artwork fetch with current version, yes?

Code: Select all

-script fn:artwork.tvdb

Code: Select all

-script dev:artwork.tmdb --def extras=y
If you can confirm that to be the case, I'll edit the GitHub version accordingly for everyone.

-------------------------------

@rednoah

So... um... rumour has it that it's been a while since I've updated this thing and things *may* have changed a bit since, haha.

There anything else that you've seen needs updating to have it compatible with the latest release?
There can be only one Power² User

User avatar
rednoah
The Source
Posts: 13947
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]

Post by rednoah » 04 Jan 2017, 12:58

I've updated my Context Menu .reg files as well:
viewtopic.php?f=3&t=1053

It may not be as powerful as Ithiel solution, but it is easy to understand & modify.
:idea: Please read the FAQ and How to Request Help.

pranjal3029
Posts: 8
Joined: 26 Apr 2016, 14:19

Re: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]

Post by pranjal3029 » 15 Jan 2017, 20:10

Okay, I am on Windows 10(Anniversary Updated) and the menu works fine so far, I just can't get it to working on Folders. The context menu doesn't show up on Folders for me, any help?

TehBotol
Supporter
Posts: 30
Joined: 06 Mar 2013, 00:01

Re: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]

Post by TehBotol » 23 May 2017, 11:53

the dev:artwork.tmdb is for the filebot so it use the development branch which usually are more updated than the fn:artwork.tmdb
and the --def extras=y is for the extrafanart
Ithiel wrote:
@TehBotol,

I'm rusty as hell with this, but.. to recap - you're saying that replacing this section would fix the artwork fetch with current version, yes?

Code: Select all

-script fn:artwork.tvdb

Code: Select all

-script dev:artwork.tmdb --def extras=y
If you can confirm that to be the case, I'll edit the GitHub version accordingly for everyone.

TehBotol
Supporter
Posts: 30
Joined: 06 Mar 2013, 00:01

Re: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]

Post by TehBotol » 23 May 2017, 12:00

which context menu do you use
for Ithiel context menu there's two registry in the classes root
one is Folder_Menu
and the other one is FILE_Menu
try checking them in
HKEY_CLASSES_ROOT\FileBot\Folder_Menu\shell\002Fetch

if there is no such key then maybe reinstall the context menu setup

for rednoah context menu i haven't tried it so i can't help you sorry
pranjal3029 wrote:Okay, I am on Windows 10(Anniversary Updated) and the menu works fine so far, I just can't get it to working on Folders. The context menu doesn't show up on Folders for me, any help?

Rawne007
Posts: 3
Joined: 31 May 2017, 19:39

Re: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]

Post by Rawne007 » 31 May 2017, 19:44

rednoah wrote:I've updated my Context Menu .reg files as well:
viewtopic.php?f=3&t=1053

It may not be as powerful as Ithiel solution, but it is easy to understand & modify.
I'm having some issues importing the Rednoah context files into the Windows 10 registry using regedit.

The error message reported is that the selected key is invalid. Any suggestions?

http://imgur.com/a/ckUcT

GrEaTwArRiOr
Posts: 1
Joined: 07 Sep 2017, 05:15

Re: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]

Post by GrEaTwArRiOr » 07 Sep 2017, 05:25

hi Ithiel,

thank you for your awesome and great work,
TV Show [TvRage] is not working anymore can you please add instead TV Show[TheMovieDB],

if i try rename one particular tv show which is a lot of shows on same name can give options to choose the right one would be awesome, also in the first page some information still old and not clear.

thanks and regards,
Great

cbogedain
Posts: 1
Joined: 17 Feb 2018, 07:12

Re: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]

Post by cbogedain » Yesterday, 17:04

Loving the script. Helps a ton, thanks for sharing.

I wanted to see if anyone would be willing to help me tweak a script. I have 10k+ movies but there area ton of duplicates. I was hoping to use the tv and movie file naming scheme from your script to put with the AMC script to organize them all and after then to be used with NZBGet. I am a newb when it comes to programming. This is what i pulled from your script.
{collection.replaceFirst(/^(?i)(The)\s(.+)/, /$2, $1/).replaceFirst(/^(?i)(Collection of the)\s(.+)/, /$2 Collection/).replaceAll(/Saga Collection/, "Saga").replaceAll(/[`´‘’ʻ""“”]/, "'").replaceAll(/[:|]/, " - ").replaceAll(/[?]/, "!").replaceAll(/[*\s]+/, " ")}\{norm = {it.upperInitial().lowerTrail().replaceTrailingBrackets().replaceAll(/[`´‘’ʻ""“”]/, "'").replaceAll(/[:|]/, " - ").replaceAll(/[?]/, "!").replaceAll(/[*\s]+/, " ").replaceAll(/\b[IiVvXx]+\b/, { it.upper() }).replaceAll(/\b[0-9](?i:th|nd|rd)\b/, { it.lower() }).replaceFirst(/^(?i)(The)\s(.+)/, /$2, $1/)}; norm(n)}{if (norm(n) != norm(primaryTitle)) ' ('+norm(primaryTitle)+')'}{fn.contains('3D') || fn.contains('3-D') ? ' '+'3D':""} ({y}{' '+any{certification}{imdb.certification}.replaceAll(/^\d+$/, 'PG-$0')})/{norm(n)}{fn.contains('3D') || fn.contains('3-D') ? ' '+'3D':""}{' (' + fn.matchAll(/extended|uncensored|remastered|unrated|uncut|directors.cut|special.edition/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[._]/, " ") + ')'}{" Part $pi"}{" [$vf $vc $ac $af]"}
If anyone can help me convert it to work with the --def movieFormat="Z:\movies-done\Movies/???????????????????"

i would greatly appreciate it. If i broke any forum rules postng..... i am sorry.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests