AMC Stopped Working (if I use filebot.launcher.exe)

All your suggestions, requests and ideas for future development
Post Reply
bsleepy
Posts: 2
Joined: 15 Jul 2017, 21:36

AMC Stopped Working (if I use filebot.launcher.exe)

Post by bsleepy »

I think this has to do with a recent java update but not positive. Haven't changed the script but it's below as well as my sys info. I've reinstalled both java and filebot with no luck. Please let me know if additional info is needed and how I can retrieve it. I'm a bit of a noob :( Thanks!

(running qbittorrent btw)

Code: Select all

filebot.launcher.exe -script fn:amc --output "E:/Kodi" --action hardlink --conflict auto -non-strict --log-file amc.log --def excludeList=amc.excludes unsorted=y music=y subtitles=en artwork=y "%F"

Code: Select all

FileBot 4.7.11 (r5158)
JNA Native: 5.1.0
MediaInfo: 0.7.93
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2017-05-15 (r500)
Groovy: 2.4.10
JRE: Java(TM) SE Runtime Environment 1.8.0_131
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 892 MB Max Memory / 81 MB Used Memory
OS: Windows 10 (amd64)
Package: APPX
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: AMC Stopped Working

Post by kim »

You don't say what the problem is and when it broke ?
have a log output ?

looks like you use "OS: Windows 10 (amd64) Package: APPX" aka the windows store ?
it has build in java, so maybe try uninstall java
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC Stopped Working

Post by rednoah »

Microsoft has changed it's policy and allows only one command per application now, so there's only the filebot command now. Using filebot.launcher.exe (the GUI executable) to run FileBot commands without console was always a bit of a hack anyway.

If you want to suppress CMD, then I recommend doing something like this:
viewtopic.php?f=4&t=5157

This will work for any command-line tool, not just FileBot. ;)
:idea: Please read the FAQ and How to Request Help.
bsleepy
Posts: 2
Joined: 15 Jul 2017, 21:36

Re: AMC Stopped Working (if I use filebot.launcher.exe)

Post by bsleepy »

My issue is that the AMC script doesn't automatically run anymore after download completion from qbitorrent and this started 7/12 or 7/13, immediately after a windows and java update. Yes, I'm running windows 10 and purchased filebot from the windows store. Is there a better way to uninstall filebot than right clicking from start menu? I couldn't find it in "programs and features" in my control panel to uninstall before doing a fresh install from the windows store. I've uninstalled java and replaced the filebot.launcher.exe with filebot. The amc still doesn't seem to run. Also, after updating the amc script, I still don't see the cmd pop up after a torrent completes. Haven't made any other recent changes/updates to qbittorrent.

My amc script now reads

Code: Select all

filebot -script fn:amc --output "E:/Kodi" --action hardlink --conflict auto -non-strict --log-file amc.log --def excludeList=amc.excludes unsorted=y music=y subtitles=en artwork=y "%F"
Below is my log(?), this was the amc.txt file located at
C:\Users\*name\AppData\Local\Packages\PointPlanck.FileBot_*#\LocalCache\Roaming\FileBot\logs
But all I can see is a manually renamed file, not the one the script should have ran after the torrent was finished.

Code: Select all

Run script [fn:amc] at [Sat Jul 15 21:58:58 MST 2017]
Parameter: excludeList = amc.excludes
Parameter: unsorted = y
Parameter: music = y
Parameter: subtitles = en
Parameter: artwork = y
Argument[0]: E:\downloads\Penn and Teller Fool Us S03E08 HDTV x264-W4F.mp4
Use excludes: E:\Kodi\amc.excludes (1403)
Input: E:\downloads\Penn and Teller Fool Us S03E08 HDTV x264-W4F.mp4
Group: [tvs:penn and teller fool us] => [Penn and Teller Fool Us S03E08 HDTV x264-W4F.mp4]
Get [English] subtitles for 1 files
CmdlineException: OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
Rename episodes using [TheTVDB]
Auto-detected query: [Penn and Teller Fool Us]
Fetching episode data for [Penn & Teller: Fool Us]
Fetching episode data for [Penn & Teller: Bullshit!]
Fetching episode data for [Penn & Teller Tell a Lie]
[HARDLINK] from [E:\downloads\Penn and Teller Fool Us S03E08 HDTV x264-W4F.mp4] to [E:\Kodi\TV Shows\Penn & Teller - Fool Us\Season 03\Penn & Teller - Fool Us - S03E08 - Here's Moxie.mp4]
Processed 1 files
Fetching series artwork for [Penn & Teller: Fool Us / Season 3] to [E:\Kodi\TV Shows\Penn & Teller - Fool Us\Season 03]
Generate Series NFO: Penn & Teller: Fool Us [239851]
Fetching E:\Kodi\TV Shows\Penn & Teller - Fool Us\poster.jpg => [poster/680x1000, en, 9.8, http://thetvdb.com/banners/posters/239851-2.jpg]
Fetching E:\Kodi\TV Shows\Penn & Teller - Fool Us\banner.jpg => [series/graphical, en, 8.2, http://thetvdb.com/banners/graphical/239851-g.jpg]
Fetching E:\Kodi\TV Shows\Penn & Teller - Fool Us\fanart.jpg => [fanart/graphical/1920x1080, en, 10.0, http://thetvdb.com/banners/fanart/original/239851-4.jpg]
Fetching E:\Kodi\TV Shows\Penn & Teller - Fool Us\Season 03\poster.jpg => [season/3, en, 10.0, http://thetvdb.com/banners/seasons/239851-3.jpg]
Resource not found: https://api.thetvdb.com/series/239851/images/query?keyType=seasonwide
Banner not found: E:\Kodi\TV Shows\Penn & Teller - Fool Us\Season 03\banner.jpg / seasonwide:seasonwide
Fanart not found: E:\Kodi\TV Shows\Penn & Teller - Fool Us\clearart.png / hdclearart
Fetching E:\Kodi\TV Shows\Penn & Teller - Fool Us\clearart.png => [clearart, en, 0.0, http://assets.fanart.tv/fanart/tv/239851/clearart/penn--teller-fool-us-4e160f6e6d518.png]
Fanart not found: E:\Kodi\TV Shows\Penn & Teller - Fool Us\logo.png / hdtvlogo
Fetching E:\Kodi\TV Shows\Penn & Teller - Fool Us\logo.png => [clearlogo, en, 0.0, http://assets.fanart.tv/fanart/tv/239851/clearlogo/penn--teller-fool-us-4e160f7be2e7c.png]
Fetching E:\Kodi\TV Shows\Penn & Teller - Fool Us\landscape.jpg => [tvthumb, en, 1.0, http://assets.fanart.tv/fanart/tv/239851/tvthumb/penn--teller-fool-us-5808b0e012cfb.jpg]
Fanart not found: E:\Kodi\TV Shows\Penn & Teller - Fool Us\Season 03\landscape.jpg / seasonthumb
Done ヾ(@⌒ー⌒@)ノ
If there is a different log file, please let me know where I can find it, I'm a bit of a noob :( Thanks in advance!
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC Stopped Working (if I use filebot.launcher.exe)

Post by rednoah »

1.
It seems you're on the right path. The log shows that FileBot is called and working:

Code: Select all

[HARDLINK] from [E:\downloads\Penn and Teller Fool Us S03E08 HDTV x264-W4F.mp4] to [E:\Kodi\TV Shows\Penn & Teller - Fool Us\Season 03\Penn & Teller - Fool Us - S03E08 - Here's Moxie.mp4]
Since there's no error, it worked. If you can't see the file, then it's a Windows Explorer problem. Maybe you just need to press F5 to refresh the view? You can also try to use --action copy because Windows Explorer traditionally doesn't do well with symlinks and hardlinks.


2.
Yes, Windows Store app can be uninstall via the tile menu. That would be the easiest way I imagine.
:idea: Please read the FAQ and How to Request Help.
Post Reply