AMC Renaming errors + Pushbullet issue

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Zhongz
Posts: 7
Joined: 02 Oct 2014, 12:06

AMC Renaming errors + Pushbullet issue

Post by Zhongz »

Conan in this case is Conan (2010) but uses Conan, The Boy in Future

D:\FileBot\Filebot.Launcher.exe -script fn:amc --log-file "D:\Downloads\__Logs\Conan.2014.09.29.Ben.Kingsley.HDTV.x264-CROOKS.txt" --action copy --conflict auto -non-strict --def pushbullet=****** "seriesFormat=H:\{n}.{s00e00}.{t}{'.'+lang}" "movieFormat=H:\{n} ({y}){'.'+lang}" "animeFormat=H:\{n}.{s00e00}.{t}{'.'+lang}" subtitles=EN,NL "ut_dir=D:\Downloads\_TV\Conan.2014.09.29.Ben.Kingsley.HDTV.x264-CROOKS" "ut_kind=multi" "ut_title=Conan.2014.09.29.Ben.Kingsley.HDTV.x264-CROOKS" clean=y

Code: Select all

Parameter: pushbullet = *****
Parameter: seriesFormat = H:\{n}.{s00e00}.{t}{'.'+lang}
Parameter: movieFormat = H:\{n} ({y}){'.'+lang}
Parameter: animeFormat = H:\{n}.{s00e00}.{t}{'.'+lang}
Parameter: subtitles = EN,NL
Parameter: ut_dir = D:\Downloads\_TV\Conan.2014.09.29.Ben.Kingsley.HDTV.x264-CROOKS
Parameter: ut_kind = multi
Parameter: ut_title = Conan.2014.09.29.Ben.Kingsley.HDTV.x264-CROOKS
Parameter: clean = y
Input: D:\Downloads\_TV\Conan.2014.09.29.Ben.Kingsley.HDTV.x264-CROOKS\conan.2014.09.29.ben.kingsley.hdtv.x264-crooks.mp4
Exclude: D:\Downloads\_TV\Conan.2014.09.29.Ben.Kingsley.HDTV.x264-CROOKS\conan.2014.09.29.ben.kingsley.hdtv.x264-crooks.nfo
Group: [tvs:conan] => [conan.2014.09.29.ben.kingsley.hdtv.x264-crooks.mp4]
Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: D:\Downloads\_TV\Conan.2014.09.29.Ben.Kingsley.HDTV.x264-CROOKS\conan.2014.09.29.ben.kingsley.hdtv.x264-crooks.mp4
Get [Dutch] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: D:\Downloads\_TV\Conan.2014.09.29.Ben.Kingsley.HDTV.x264-CROOKS\conan.2014.09.29.ben.kingsley.hdtv.x264-crooks.mp4
Rename episodes using [TheTVDB]
Auto-detected query: [conan]
Fetching episode data for [Conan]
Fetching episode data for [Conan (2010)]
Fetching episode data for [Conan the Adventurer]
Fetching episode data for [Conan, The Boy in Future]
[COPY] Rename [D:\Downloads\_TV\Conan.2014.09.29.Ben.Kingsley.HDTV.x264-CROOKS\conan.2014.09.29.ben.kingsley.hdtv.x264-crooks.mp4] to [H:\Conan, The Boy in Future.S00E09..mp4]
Processed 1 files
Sending PushBullet report
Done ヾ(@⌒ー⌒@)ノ
The Daily Show episode info is wrong. Should be Lena Dunham as shown on the TVDB

D:\FileBot\Filebot.Launcher.exe -script fn:amc --log-file "D:\Downloads\__Logs\The.Daily.Show.2014.10.01.Lena.Dunham.720p.HDTV.x264-W4F.txt" --action copy --conflict auto -non-strict --def pushbullet=****** "seriesFormat=H:\{n}.{airdate.format('dd.MM.yyyy')}.{t}{'.'+lang}" "movieFormat=H:\{n} ({y}){'.'+lang}" "animeFormat=H:\{n}.{airdate.format('dd.MM.yyyy')}.{t}{'.'+lang}" subtitles=EN,NL "ut_dir=D:\Downloads\_TV\The.Daily.Show.2014.10.01.Lena.Dunham.720p.HDTV.x264-W4F" "ut_kind=multi" "ut_title=The.Daily.Show.2014.10.01.Lena.Dunham.720p.HDTV.x264-W4F" clean=y

Code: Select all

Parameter: pushbullet = *****
Parameter: seriesFormat = H:\{n}.{airdate.format('dd.MM.yyyy')}.{t}{'.'+lang}
Parameter: movieFormat = H:\{n} ({y}){'.'+lang}
Parameter: animeFormat = H:\{n}.{airdate.format('dd.MM.yyyy')}.{t}{'.'+lang}
Parameter: subtitles = EN,NL
Parameter: ut_dir = D:\Downloads\_TV\The.Daily.Show.2014.10.01.Lena.Dunham.720p.HDTV.x264-W4F
Parameter: ut_kind = multi
Parameter: ut_title = The.Daily.Show.2014.10.01.Lena.Dunham.720p.HDTV.x264-W4F
Parameter: clean = y
Input: D:\Downloads\_TV\The.Daily.Show.2014.10.01.Lena.Dunham.720p.HDTV.x264-W4F\the.daily.show.2014.10.01.lena.dunham.720p.hdtv.x264-w4f.mkv
Exclude: D:\Downloads\_TV\The.Daily.Show.2014.10.01.Lena.Dunham.720p.HDTV.x264-W4F\the.daily.show.2014.10.01.lena.dunham.720p.hdtv.x264-w4f.nfo
Group: [tvs:the daily show] => [the.daily.show.2014.10.01.lena.dunham.720p.hdtv.x264-w4f.mkv]
Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: D:\Downloads\_TV\The.Daily.Show.2014.10.01.Lena.Dunham.720p.HDTV.x264-W4F\the.daily.show.2014.10.01.lena.dunham.720p.hdtv.x264-w4f.mkv
Get [Dutch] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: D:\Downloads\_TV\The.Daily.Show.2014.10.01.Lena.Dunham.720p.HDTV.x264-W4F\the.daily.show.2014.10.01.lena.dunham.720p.hdtv.x264-w4f.mkv
Rename episodes using [TheTVDB]
Auto-detected query: [the daily show]
Fetching episode data for [The Daily Show with Jon Stewart]
[COPY] Rename [D:\Downloads\_TV\The.Daily.Show.2014.10.01.Lena.Dunham.720p.HDTV.x264-W4F\the.daily.show.2014.10.01.lena.dunham.720p.hdtv.x264-w4f.mkv] to [H:\The Daily Show with Jon Stewart.01.10.2014.10 1 2014.mkv]
Processed 1 files
Sending PushBullet report
Done ヾ(@⌒ー⌒@)ノ
Finding your Roots renames to Roots. Previous episode did rename correctly.. (S02E01)

D:\FileBot\Filebot.Launcher.exe -script fn:amc --log-file "D:\Downloads\__Logs\Finding.Your.Roots.S02E02.Born.Champions.720p.HDTV.x264-TERRA.txt" --action copy --conflict auto -non-strict --def pushbullet=***** "seriesFormat=H:\{n}.{s00e00}.{t}{'.'+lang}" "movieFormat=H:\{n} ({y}){'.'+lang}" "animeFormat=H:\{n}.{s00e00}.{t}{'.'+lang}" subtitles=EN,NL "ut_dir=D:\Downloads\_TV\Finding.Your.Roots.S02E02.Born.Champions.720p.HDTV.x264-TERRA" "ut_kind=multi" "ut_title=Finding.Your.Roots.S02E02.Born.Champions.720p.HDTV.x264-TERRA" clean=y

Code: Select all

Parameter: pushbullet = *****
Parameter: seriesFormat = H:\{n}.{s00e00}.{t}{'.'+lang}
Parameter: movieFormat = H:\{n} ({y}){'.'+lang}
Parameter: animeFormat = H:\{n}.{s00e00}.{t}{'.'+lang}
Parameter: subtitles = EN,NL
Parameter: ut_dir = D:\Downloads\_TV\Finding.Your.Roots.S02E02.Born.Champions.720p.HDTV.x264-TERRA
Parameter: ut_kind = multi
Parameter: ut_title = Finding.Your.Roots.S02E02.Born.Champions.720p.HDTV.x264-TERRA
Parameter: clean = y
Input: D:\Downloads\_TV\Finding.Your.Roots.S02E02.Born.Champions.720p.HDTV.x264-TERRA\Finding.Your.Roots.S02E02.Born.Champions.720p.HDTV.x264-TERRA.mkv
Exclude: D:\Downloads\_TV\Finding.Your.Roots.S02E02.Born.Champions.720p.HDTV.x264-TERRA\finding.your.roots.s02e02.born.champions.720p.hdtv.x264-terra.nfo
Group: [tvs:roots] => [Finding.Your.Roots.S02E02.Born.Champions.720p.HDTV.x264-TERRA.mkv]
Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: D:\Downloads\_TV\Finding.Your.Roots.S02E02.Born.Champions.720p.HDTV.x264-TERRA\Finding.Your.Roots.S02E02.Born.Champions.720p.HDTV.x264-TERRA.mkv
Get [Dutch] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: D:\Downloads\_TV\Finding.Your.Roots.S02E02.Born.Champions.720p.HDTV.x264-TERRA\Finding.Your.Roots.S02E02.Born.Champions.720p.HDTV.x264-TERRA.mkv
Rename episodes using [TheTVDB]
Auto-detected query: [Roots, Finding Your Roots]
Fetching episode data for [Roots]
Fetching episode data for [Roots: The Gift]
Fetching episode data for [Roots of Brazil]
Fetching episode data for [Roots: The Next Generations]
Fetching episode data for [Finding Your Roots]
Fetching episode data for [Finding Your Roots with Henry Louis Gates Jr.]
[COPY] Rename [D:\Downloads\_TV\Finding.Your.Roots.S02E02.Born.Champions.720p.HDTV.x264-TERRA\Finding.Your.Roots.S02E02.Born.Champions.720p.HDTV.x264-TERRA.mkv] to [H:\Roots.S01E02.Part II.mkv]
Processed 1 files
Sending PushBullet report
Done ヾ(@⌒ー⌒@)ノ

Other than that all pushbullets generate 3 reports in my Timer/ipad app, is this a pushbullet issue or something in AMC
User avatar
rednoah
The Source
Posts: 23006
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC Renaming errors + Pushbullet issue

Post by rednoah »

1.
A PushBullet report file gets posted to each device as defined by:
https://api.pushbullet.com/api/devices

2.
Works for me:

Code: Select all

Parameter: minFileSize = 0
Parameter: minLengthMS = 0
Argument: /Users/reinhard/Test/AMC-TEST
Input: /Users/reinhard/Test/AMC-TEST/Conan.2014.09.29.Ben.Kingsley.HDTV.x264-CROOKS/conan.2014.09.29.ben.kingsley.hdtv.x264-crooks.mp4
Input: /Users/reinhard/Test/AMC-TEST/Finding.Your.Roots.S02E02.Born.Champions.720p.HDTV.x264-TERRA/Finding.Your.Roots.S02E02.Born.Champions.720p.HDTV.x264-TERRA.mp4
Input: /Users/reinhard/Test/AMC-TEST/The.Daily.Show.2014.10.01.Lena.Dunham.720p.HDTV.x264-W4F/the.daily.show.2014.10.01.lena.dunham.720p.hdtv.x264-w4f.mp4
Group: [tvs:conan] => [conan.2014.09.29.ben.kingsley.hdtv.x264-crooks.mp4]
Group: [tvs:roots] => [Finding.Your.Roots.S02E02.Born.Champions.720p.HDTV.x264-TERRA.mp4]
Group: [tvs:the daily show] => [the.daily.show.2014.10.01.lena.dunham.720p.hdtv.x264-w4f.mp4]
Rename episodes using [TheTVDB]
Auto-detected query: [conan]
Fetching episode data for [Conan]
Fetching episode data for [Conan (2010)]
Fetching episode data for [Conan the Adventurer]
Fetching episode data for [Conan, The Boy in Future]
[COPY] Rename [/Users/reinhard/Test/AMC-TEST/Conan.2014.09.29.Ben.Kingsley.HDTV.x264-CROOKS/conan.2014.09.29.ben.kingsley.hdtv.x264-crooks.mp4] to [/Users/reinhard/Test/OUTPUT/TV Shows/Conan (2010)/Season 2014/Conan (2010) - S2014E118 - Ben Kingsley, Al Madrigal, Kenny Chesney.mp4]
Processed 1 files
Rename episodes using [TheTVDB]
Auto-detected query: [Roots, Finding Your Roots]
Fetching episode data for [Roots]
Fetching episode data for [Roots: The Gift]
Fetching episode data for [Roots of Brazil]
Fetching episode data for [Roots: The Next Generations]
Fetching episode data for [Finding Your Roots]
Fetching episode data for [Finding Your Roots with Henry Louis Gates Jr.]
Stripping invalid characters from new path: TV Shows/Finding Your Roots with Henry Louis Gates Jr./Season 02/Finding Your Roots with Henry Louis Gates Jr. - S02E02 - Born Champions
[COPY] Rename [/Users/reinhard/Test/AMC-TEST/Finding.Your.Roots.S02E02.Born.Champions.720p.HDTV.x264-TERRA/Finding.Your.Roots.S02E02.Born.Champions.720p.HDTV.x264-TERRA.mp4] to [/Users/reinhard/Test/OUTPUT/TV Shows/Finding Your Roots with Henry Louis Gates Jr/Season 02/Finding Your Roots with Henry Louis Gates Jr. - S02E02 - Born Champions.mp4]
Processed 1 files
Rename episodes using [TheTVDB]
Auto-detected query: [the daily show]
Fetching episode data for [The Daily Show with Jon Stewart]
[COPY] Rename [/Users/reinhard/Test/AMC-TEST/The.Daily.Show.2014.10.01.Lena.Dunham.720p.HDTV.x264-W4F/the.daily.show.2014.10.01.lena.dunham.720p.hdtv.x264-w4f.mp4] to [/Users/reinhard/Test/OUTPUT/TV Shows/The Daily Show with Jon Stewart/Season 20/The Daily Show with Jon Stewart - S20E03 - Lena Dunham.mp4]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
Looks like the info wasn't available at the time. You're now in charge of updating the data for those 3 shows on TheTVDB in a timely manner. ;)

3.
You can avoid these issues by simply using --filter to completely exclude any episode data that was aired more than a few days ago. If you know that always process episodes within a few days of airing.
:idea: Please read the FAQ and How to Request Help.
Zhongz
Posts: 7
Joined: 02 Oct 2014, 12:06

Re: AMC Renaming errors + Pushbullet issue

Post by Zhongz »

Thanks for the reply and your work!

I am still getting a different result than you, I've just reran Finding your Roots s02e02 and the daily show it still does the same. Does it cache these results?

Conan does rename correctly now, without any change on my side..
User avatar
rednoah
The Source
Posts: 23006
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC Renaming errors + Pushbullet issue

Post by rednoah »

:idea: Please read the FAQ and How to Request Help.
Zhongz
Posts: 7
Joined: 02 Oct 2014, 12:06

Re: AMC Renaming errors + Pushbullet issue

Post by Zhongz »

Great, thanks again. Was trying to figure out if I got the latest and where to get. Apparently I wasn't. This helped me!
Zhongz
Posts: 7
Joined: 02 Oct 2014, 12:06

Re: AMC Renaming errors + Pushbullet issue

Post by Zhongz »

Hey Red, lately the colbert report/the daily show have showing "MM DD YYYY" instead of the episode title. I checked thetvdb the day before and the titles were up four episodes ahead.

Hope you can help, see the cmd/logs below

Code: Select all

D:\FileBot\Filebot.Launcher.exe -script fn:amc --log-file "D:\Downloads\__Logs\The.Colbert.Report.2014.10.09.Robert.Plant.720p.HDTV.x264-LMAO.txt" --action copy --conflict auto -non-strict --def pushbullet=***** "seriesFormat=H:\_TVSeries\{n}.{airdate.format('dd.MM.yyyy')}.{t}{'.'+lang}" "movieFormat=H:\_TVSeries\{n} ({y}){'.'+lang}" "animeFormat=H:\_TVSeries\{n}.{airdate.format('dd.MM.yyyy')}.{t}{'.'+lang}" subtitles=EN,NL  "ut_dir=D:\Downloads\_TV\The.Colbert.Report.2014.10.09.Robert.Plant.720p.HDTV.x264-LMAO" "ut_kind=multi" "ut_title=The.Colbert.Report.2014.10.09.Robert.Plant.720p.HDTV.x264-LMAO" clean=y

Code: Select all

Parameter: pushbullet = *****
Parameter: seriesFormat = H:\_TVSeries\{n}.{airdate.format('dd.MM.yyyy')}.{t}{'.'+lang}
Parameter: movieFormat = H:\_TVSeries\{n} ({y}){'.'+lang}
Parameter: animeFormat = H:\_TVSeries\{n}.{airdate.format('dd.MM.yyyy')}.{t}{'.'+lang}
Parameter: subtitles = EN,NL
Parameter: ut_dir = D:\Downloads\_TV\The.Colbert.Report.2014.10.09.Robert.Plant.720p.HDTV.x264-LMAO
Parameter: ut_kind = multi
Parameter: ut_title = The.Colbert.Report.2014.10.09.Robert.Plant.720p.HDTV.x264-LMAO
Parameter: clean = y
Input: D:\Downloads\_TV\The.Colbert.Report.2014.10.09.Robert.Plant.720p.HDTV.x264-LMAO\The.Colbert.Report.2014.10.09.Robert.Plant.720p.HDTV.x264-LMAO.mkv
Exclude: D:\Downloads\_TV\The.Colbert.Report.2014.10.09.Robert.Plant.720p.HDTV.x264-LMAO\the.colbert.report.2014.10.09.robert.plant.720p.hdtv.x264-lmao.nfo
Group: [tvs:the colbert report] => [The.Colbert.Report.2014.10.09.Robert.Plant.720p.HDTV.x264-LMAO.mkv]
Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: D:\Downloads\_TV\The.Colbert.Report.2014.10.09.Robert.Plant.720p.HDTV.x264-LMAO\The.Colbert.Report.2014.10.09.Robert.Plant.720p.HDTV.x264-LMAO.mkv
Get [Dutch] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: D:\Downloads\_TV\The.Colbert.Report.2014.10.09.Robert.Plant.720p.HDTV.x264-LMAO\The.Colbert.Report.2014.10.09.Robert.Plant.720p.HDTV.x264-LMAO.mkv
Rename episodes using [TheTVDB]
Auto-detected query: [The Colbert Report]
Fetching episode data for [The Colbert Report]
[COPY] Rename [D:\Downloads\_TV\The.Colbert.Report.2014.10.09.Robert.Plant.720p.HDTV.x264-LMAO\The.Colbert.Report.2014.10.09.Robert.Plant.720p.HDTV.x264-LMAO.mkv] to [H:\_TVSeries\The Colbert Report.09.10.2014.10 9 2014.mkv]
Processed 1 files
Sending PushBullet report
Done ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 23006
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC Renaming errors + Pushbullet issue

Post by rednoah »

See what FileBot sees:

Code: Select all

filebot -list --q "The Daily Show with Jon Stewart" --filter "airdate.year == 2014"
People are adding these place holders:

Code: Select all

The Daily Show with Jon Stewart - 20x10 - Zach Galifianakis
The Daily Show with Jon Stewart - 20x11 - Bill O'Reilly
The Daily Show with Jon Stewart - 20x12 - Bryan Stevenson
The Daily Show with Jon Stewart - 20x13 - 10/27/2014
The Daily Show with Jon Stewart - 20x14 - 10/28/2014
The Daily Show with Jon Stewart - 20x15 - 10/29/2014
The Daily Show with Jon Stewart - 20x16 - 10/30/2014
FileBot will cache data for 2 days. So the data you need must be added at least 2 days in advance (or maybe 3 days due to caching on TheTVDB API side).

Looking at the data above, at least for the next two weeks there won't be any issues like that since data has already been added.
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 23006
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC Renaming errors + Pushbullet issue

Post by rednoah »

As for PushBullet. FileBot will send an update notification to each PushBullet device registered for your account, but maybe they changed their API to always sync notifications from each device to all devices, or maybe that's configurable.
:idea: Please read the FAQ and How to Request Help.
Zhongz
Posts: 7
Joined: 02 Oct 2014, 12:06

Re: AMC Renaming errors + Pushbullet issue

Post by Zhongz »

Thanks, I removed the extra devices in pushbullet which solved my pushbullet issue.

As for the caching, I'll keep an eye out for next weeks colberts/daily shows, if everything is as expected then I thank you. Otherwise I'll be back ;)
Post Reply