AppleTV Movies and TV Show script for Mac

Come up with a useful post-processing script? Share it here!
Post Reply
randyharris
Full Member
Full Member
Posts: 146
Joined: January 21st, 2010, 5:36 pm

Re: AppleTV Movies and TV Show script for Mac

Post by randyharris »

teszeract wrote: Whoopsie ... first time ever I got a failed installation on my mac.  The message was:

Install Failed.
The installer could not install some files in "/usr/lib".
Contact the software manufacturer for assistance.

Will head over to the readme file and check out the logs.

Update:
I see log entries about iCal buddy crashing immediately after install. I'm using iCalbuddy with Nerdtool.
The message that attracted my attention was:

Code: Select all

Nov 12 17:59:04 UserName [0x0-0x91091].com.allocinit.NerdTool[9012]: dyld: Library not loaded: /usr/lib/libbz2.1.0.dylib
Does libbz2.1.0.dylib have anything to do with the library the installer tried to process?

Update 2:
I somehow hosed my system :( Now re-installed and updated to 10.5.8. I'm reluctant to try again (just in case it was the script that caused issues). I noticed I can't look into the .pkg at all - is that normal?

But I really want to make this script work, so I might bite the bullet and try again :nervous

ps The tutorial has a link on p3 to the AppleTV Script Pak, which is a dead link - is that the same as the download above, or additional?
You must have munged something via terminal trying to fix things with that libbz2.1.0.dylib file. The script or install pak in no way could have caused system problem. Maybe try saving out the current libbz2.1.0 file in your system, let the install pak install the one it bundles and evaluate if both the script and your other app works with the newer file as well. Alternatively, if there is issue you could restore back the original libbz2.1.0 file and see if that works with all.

Here are links to files showing exactly what is installed on your system.

file1
file2
Last edited by randyharris on November 13th, 2010, 8:53 am, edited 1 time in total.
teszeract
Release Testers
Release Testers
Posts: 13
Joined: August 30th, 2010, 1:54 am

Re: AppleTV Movies and TV Show script for Mac

Post by teszeract »

Thanks for the reply. I'll do that.
teszeract
Release Testers
Release Testers
Posts: 13
Joined: August 30th, 2010, 1:54 am

Re: AppleTV Movies and TV Show script for Mac

Post by teszeract »

Hi randyharris

2nd attempt also failed: Here's the log output.

Code: Select all

Nov 13 19:22:41 userName hdiejectd[16416]: running
Nov 13 19:22:48 userName kernel[0]: Finder[411] Unable to clear quarantine `iTunes Script Pak.pkg': 30
Nov 13 19:22:49 userName Installer[16430]: OpenScripting.framework - 'gdut' event blocked in process with mixed credentials (issetugid=1 uid=502 euid=502 gid=502 egid=502)
Nov 13 19:23:09 userName ReportCrash[16480]: Formulating crash report for process payloadExtractor[16479]
Nov 13 19:23:09 userName ReportCrash[16480]: Saved crashreport to /Library/Logs/CrashReporter/payloadExtractor_2010-11-13-192309_userName.crash using uid: 0 gid: 0, euid: 0 egid: 0
Nov 13 19:23:10 userName Installer[16430]: The Installer could not install some files in “/usr/lib”. Contact the software manufacturer for assistance.

after failed install, tried again, and:

Nov 13 19:28:08 userName ReportCrash[16617]: Formulating crash report for process Installer[16616]
Nov 13 19:28:08 userName ReportCrash[16617]: Saved crashreport to /Users/userName/Library/Logs/CrashReporter/Installer_2010-11-13-192808_userName.crash using uid: 502 gid: 502, euid: 502 egid: 502
Nov 13 19:28:08 userName com.apple.launchd[375] ([0x0-0xae0ae].com.apple.installer[16616]): Exited abnormally: Trace/BPT trap
Nov 13 19:28:11 userName ReportCrash[16617]: Formulating crash report for process Installer[16618]
Nov 13 19:28:11 userName ReportCrash[16617]: Saved crashreport to /Users/userName/Library/Logs/CrashReporter/Installer_2010-11-13-192810_userName.crash using uid: 502 gid: 502, euid: 502 egid: 502
Nov 13 19:28:10 userName [0x0-0xaf0af].com.apple.installer[16618]: dyld: Library not loaded: /usr/lib/libbz2.1.0.dylib
Nov 13 19:28:10 userName [0x0-0xaf0af].com.apple.installer[16618]:   Referenced from: /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
Nov 13 19:28:10 userName [0x0-0xaf0af].com.apple.installer[16618]:   Reason: no suitable image found.  Did find:
Nov 13 19:28:10 userName [0x0-0xaf0af].com.apple.installer[16618]: 	/usr/lib/libbz2.1.0.dylib: unknown required load command 0x80000022
Nov 13 19:28:15: --- last message repeated 1 time ---
Nov 13 19:28:11 userName com.apple.launchd[375] ([0x0-0xaf0af].com.apple.installer[16618]): Exited abnormally: Trace/BPT trap
I had a peek into the /usr/lib folder -- it's now mostly empty. I'm right now trying to restore my backup of that folder, but I'm not getting anywhere. I wonder if the copying function itself needs one of the missing libraries?
randyharris
Full Member
Full Member
Posts: 146
Joined: January 21st, 2010, 5:36 pm

Re: AppleTV Movies and TV Show script for Mac

Post by randyharris »

teszeract wrote: Hi randyharris

2nd attempt also failed: Here's the log output.
Sorry but I don't know how to help with this - I'm not a programmer, and I just installed the iTunes Script Pak on my work machine without trouble - it's worked fine on every machine I've run it on.

Possibly I'm not aware of the Mac needing to be newer than 10.5? I think you said you were on 10.5.8, Mine are both on 10.6.4 up until recently and now 10.6.5 - just a guess.

:(
teszeract
Release Testers
Release Testers
Posts: 13
Joined: August 30th, 2010, 1:54 am

Re: AppleTV Movies and TV Show script for Mac

Post by teszeract »

Ok. Thanks anyway.

Just for the record, if anyone else comes up with the same issue, to restore the computer the second time, I booted off the OS X install disk, opened the terminal and copied the lib folder from my backup back onto the startup disk. Saved a lot of time reinstalling.
randyharris
Full Member
Full Member
Posts: 146
Joined: January 21st, 2010, 5:36 pm

Re: AppleTV Movies and TV Show script for Mac

Post by randyharris »

My how quickly things change - it must have been a LONG time since I've downloaded an MPG file, because the script wasn't set to take an MPG as the source file, lol - a few years about that would have been far more common.

The iTunes AppleTV Script Pak has now been updated to handle MPG as the source.

If you are updating an existing setup, just backup your /Applications/SAB/scripts/iTunes  file and replace the new one that is placed where when you install this update. That way you will save your settings.

Download the Mac SAB iTunes Script Install Pak.
n3n
Newbie
Newbie
Posts: 4
Joined: March 16th, 2009, 4:51 pm

Re: AppleTV Movies and TV Show script for Mac

Post by n3n »

Script also caused my mini to stop booting. Needed to reinstall. Please be aware..
randyharris
Full Member
Full Member
Posts: 146
Joined: January 21st, 2010, 5:36 pm

Re: AppleTV Movies and TV Show script for Mac

Post by randyharris »

n3n wrote: Script also caused my mini to stop booting. Needed to reinstall. Please be aware..
WOW - I am proved wrong, and terribly sorry for this inconvenience. I have personally installed it on several computers without issue so was shocked at the news but now this is twice.

pulled.

I'll continue using it and loving it, really sorry for the trouble, no idea why its causing issue for some, but I am extremely sorry for any trouble you're having as a result of it.
n3n
Newbie
Newbie
Posts: 4
Joined: March 16th, 2009, 4:51 pm

Re: AppleTV Movies and TV Show script for Mac

Post by n3n »

Hi Randy,

Stuff happens. I noticed you told someone else it is only meant for 10.6. I was running 10.5.8. Wanted to update either way, just took some more time now :P
randyharris
Full Member
Full Member
Posts: 146
Joined: January 21st, 2010, 5:36 pm

Re: AppleTV Movies and TV Show script for Mac

Post by randyharris »

n3n and Teszeract, so it was the 'lib' folder that caused the issue... hmm. that narrows it down.

I do now wonder if one of the library files are 10.6.x or higher and that is the problem with 10.5.8. I'm curious, why are you running such a relatively old build of OS X anyway - I know I'm always stoked to get the latest release, 10.6.5 just recently.

I wish I knew who all was using my scriptpak to see if it is in fact a 10.6.x is ok and older is not issue - I don't have anything less than 10.6.5 to test on.
randyharris
Full Member
Full Member
Posts: 146
Joined: January 21st, 2010, 5:36 pm

Re: AppleTV Movies and TV Show script for Mac

Post by randyharris »

If I knew that the setup works fine on 10.6.x I'll repost it and make that a system requirement, also, if you guys are able and willing to help, we can narrow down which file is causing you issue and maybe we can make a version for  10.5.x.

Interested?
n3n
Newbie
Newbie
Posts: 4
Joined: March 16th, 2009, 4:51 pm

Re: AppleTV Movies and TV Show script for Mac

Post by n3n »

Sure would like to help. But not running 10.5 anymore though..
teszeract
Release Testers
Release Testers
Posts: 13
Joined: August 30th, 2010, 1:54 am

Re: AppleTV Movies and TV Show script for Mac

Post by teszeract »

Me too. I gave up on 10.5 after having issues with Plex as well.
zafari
Newbie
Newbie
Posts: 3
Joined: December 21st, 2010, 1:52 pm

Re: AppleTV Movies and TV Show script for Mac

Post by zafari »

Hi Randy,

I have been following this thread with great interest, of all the scripts that I have found on this site, yours is best suited for what I require and would like to test it out but all your links are missing.
Have you made any further enhancements to it and would you be willing to make a copy available for me to test. I am running 10.6.5 and not afraid of breaking things.....

Regards,

Zafari
randyharris
Full Member
Full Member
Posts: 146
Joined: January 21st, 2010, 5:36 pm

Re: AppleTV Movies and TV Show script for Mac

Post by randyharris »

It seems that everything is fine on 10.6.x but there are repeatable problems on 10.5.x.

I'll rebuild the install and make it require a recent version, maybe 10.6.4 and post the link.

:)

The scripts have been awesome for me, so glad I took the time to put it together.
Post Reply