Ascoware / get-iplayer-automator

Get iPlayer Automator allows you to let Apple's TV app and your Mac to become the hub for your British television experience.
https://ascoware.github.io/get-iplayer-automator/
GNU General Public License v3.0
147 stars 26 forks source link

Completed Downloads wrongly reported as not in iTunes #36

Open sciencefish opened 7 years ago

sciencefish commented 7 years ago

What steps will reproduce the problem? Be specific, and provide as much detail as possible.

Download a sequence of a tv series e.g.

Materchef: Series 13 - Episodes 22-25

What is the expected output? What do you see instead?

Episode 22 is reported as complete & in iTunes. Episodes 23, 24, 25 reported as Complete: Not in iTunes

Episodes 22, 23, 24, 25 are in iTunes and function as expected.

Log reports for 23, 24 & 25 are identical:

AppController: Downloads Finished Adding MasterChef: Series 13 - Episode 25 to iTunes iTunes did not accept file. Unfortunately new versions of iTunes cannot accept this file.

What version of GiA are you using? On what version of OS X? Get iPlayer Automator 1.9b6 & 10.12.5 (16F73)

Are you using a web proxy? DNS proxy? VPN? VPS?

No

What program are you attempting to download (full title, series and episode)? Provide only ONE program as an example.

MasterChef Series 13 - 25. Episode 25

Please provide any additional information below.

Log below of successful added to iTunes, followed by not added to iTunes.

Downloading Show 1/4:

BBC Download (ID=b08qf9lq): Downloading MasterChef: Series 13 - Episode 22 INFO: pid found in cache INFO: 1 Matching Programmes INFO: Checking existence of original version INFO: hlshd1,hvfxsd1,hvfxsd2,hvfxsd3,hvfxsd4,hvfxsd5,hvfxsd6,dvfxsd1,dvfxsd2,hlsvhigh1,hvfxhigh1,hvfxhigh2,hvfxhigh3,dvfxhigh1,dvfxhigh2,hvflow1,hvflow2,hvflow3,dvflow1,dvflow2,hvfxsd1,hvfxsd2,hvfxsd3,hvfxsd4,hvfxsd5,hvfxsd6,dvfxsd1,dvfxsd2,hlsvhigh1,hvfxhigh1,hvfxhigh2,hvfxhigh3,dvfxhigh1,dvfxhigh2,hvflow1,hvflow2,hvflow3,dvflow1,dvflow2,hlsvhigh1,hvfxhigh1,hvfxhigh2,hvfxhigh3,dvfxhigh1,dvfxhigh2,hvflow1,hvflow2,hvflow3,dvflow1,dvflow2 modes will be tried for version original INFO: Trying hlshd1 mode to record tv: MasterChef: Series 13 - 22. Episode 22 INFO: File name prefix = MasterChef Series 13 - 22. Episode 22 ((hlshd))
INFO: Begin recording file: /Users/david/Movies/TV Shows/MasterChef Series 13/MasterChef Series 13 - 22. Episode 22 ((hlshd)).video.ts INFO: Begin recording at: 0.00 MiB (00:00:00) [1] INFO: Recorded: 1032.72 MiB (00:58:00) [348] in 00:11:05 at 12.42 Mibit/s INFO: Saved HLS video file: /Users/david/Movies/TV Shows/MasterChef Series 13/MasterChef Series 13 - 22. Episode 22 ((hlshd)).hls.ts INFO: Begin converting video file: /Users/david/Movies/TV Shows/MasterChef Series 13/MasterChef Series 13 - 22. Episode 22 ((hlshd)).hls.ts [h264 @ 0x7f8a25803c00] non-existing SPS 0 referenced in buffering period Last message repeated 1 times [NULL @ 0x7f8a25803c00] non-existing SPS 0 referenced in buffering period INFO: Converted to file: /Users/david/Movies/TV Shows/MasterChef Series 13/MasterChef Series 13 - 22. Episode 22 ((hlshd)).partial.mp4 INFO: Begin tagging file: /Users/david/Movies/TV Shows/MasterChef Series 13/MasterChef Series 13 - 22. Episode 22 ((hlshd)).mp4 Started writing to temp file. BBC Download (ID=b08qf9lq): MasterChef: Series 13 - Episode 22 Completed Successfully

Downloading Show 2/4:

BBC Download (ID=b08qfgg2): Downloading MasterChef: Series 13 - Episode 23 Adding MasterChef: Series 13 - Episode 22 to iTunes INFO: pid found in cache INFO: 1 Matching Programmes INFO: Checking existence of original version INFO: hlshd1,hvfxsd1,hvfxsd2,hvfxsd3,hvfxsd4,hvfxsd5,hvfxsd6,dvfxsd1,dvfxsd2,hlsvhigh1,hvfxhigh1,hvfxhigh2,hvfxhigh3,dvfxhigh1,dvfxhigh2,hvflow1,hvflow2,hvflow3,dvflow1,dvflow2,hvfxsd1,hvfxsd2,hvfxsd3,hvfxsd4,hvfxsd5,hvfxsd6,dvfxsd1,dvfxsd2,hlsvhigh1,hvfxhigh1,hvfxhigh2,hvfxhigh3,dvfxhigh1,dvfxhigh2,hvflow1,hvflow2,hvflow3,dvflow1,dvflow2,hlsvhigh1,hvfxhigh1,hvfxhigh2,hvfxhigh3,dvfxhigh1,dvfxhigh2,hvflow1,hvflow2,hvflow3,dvflow1,dvflow2 modes will be tried for version original INFO: Trying hlshd1 mode to record tv: MasterChef: Series 13 - 23. Episode 23 INFO: File name prefix = MasterChef Series 13 - 23. Episode 23 ((hlshd))
INFO: Begin recording file: /Users/david/Movies/TV Shows/MasterChef Series 13/MasterChef Series 13 - 23. Episode 23 ((hlshd)).video.ts INFO: Begin recording at: 0.00 MiB (00:00:00) [1] INFO: Recorded: 1031.80 MiB (00:58:13) [350] in 00:11:31 at 11.95 Mibit/s INFO: Saved HLS video file: /Users/david/Movies/TV Shows/MasterChef Series 13/MasterChef Series 13 - 23. Episode 23 ((hlshd)).hls.ts INFO: Begin converting video file: /Users/david/Movies/TV Shows/MasterChef Series 13/MasterChef Series 13 - 23. Episode 23 ((hlshd)).hls.ts [h264 @ 0x7fa0a7000e00] non-existing SPS 0 referenced in buffering period Last message repeated 1 times [NULL @ 0x7fa0a7000e00] non-existing SPS 0 referenced in buffering period INFO: Converted to file: /Users/david/Movies/TV Shows/MasterChef Series 13/MasterChef Series 13 - 23. Episode 23 ((hlshd)).partial.mp4 INFO: Begin tagging file: /Users/david/Movies/TV Shows/MasterChef Series 13/MasterChef Series 13 - 23. Episode 23 ((hlshd)).mp4 Started writing to temp file. Finished writing to temp file. BBC Download (ID=b08qfgg2): MasterChef: Series 13 - Episode 23 Completed Successfully

skovatch commented 7 years ago

Thanks - I'll look into this.

sciencefish commented 7 years ago

Here's another:

AppController: Downloads Finished Adding Bake Off Creme de la Creme: Series 2 - Episode 7 to iTunes iTunes did not accept file. Unfortunately new versions of iTunes cannot accept this file.

I'm using version iTunes 12.6.1 in case its an error with GiA parsing an iTunes error message. I can't find anything in the iTunes log to indicate a problem.

raythw commented 7 years ago

On very rare occasions I've had GiA appear to abort its processing, leaving the original .ts file instead of an .mp4, despite what the log may say. Is the file in your download folder a .ts or .mp4 file? If it's an .mp4 just open it with iTunes. Otherwise it can't be opened in iTunes and you'll have to download the whole thing again. I suspect this isn't really GiA, but rather an internet connection problem.

gacres2 commented 7 years ago

I have this happen when iTunes is busy doing something else - the program ends up in iTunes, but GiA reports it as not being there. I have always assumed that this was a time-out failure where GiA expects confirmation from iTunes within a certain time and a beach balling (or busy) iTunes fails to respond in time, but is working just fine.

sciencefish commented 7 years ago

On 15 Jun 2017, at 06:16, gacres2 notifications@github.com wrote:

I have this happen when iTunes is busy doing something else - the program ends up in iTunes, but GiA reports it as not being there. I have always assumed that this was a time-out failure where GiA expects confirmation from iTunes within a certain time and a beach balling (or busy) iTunes fails to respond in time, but is working just fine.

For reference this is still happening in the latest build.


David

David Scott. Mac & PC Computer Support. 30 Alfred Road, Acton, W3 6LH. 07956-589433 http://www.davidscott.org.uk/