Using AppleScript and 3rd-Party Software with EyeTV

Working Front Row Plugin for EyeTV

Postby j-christ » April 8th, 2008, 6:53 pm

I have uploaded a new version (1.0) of the EyeTV plugin for Front Row.

It provides a nice interface to your EyeTV library (organizing recordings by series) right from Front Row, and allows easy playing, restarting, and deleting of recordings, as well as access to the program guide and channel list from Front Row.

This version has a much smoother transition to EyeTV from Front Row, thanks to some recent changes in EyeTV (3.0.1+). Also, in previous versions, Front Row would quit after 20 minutes while playing a recording in EyeTV, making transitioning back to Front Row problematic. This version has solved that issue as well.

Further, if you've installed my ETVComskip package as well, then this plugin gives control over commercial skipping, too. There is an easy-access menu item to turn ComSkipper on or off, and to find and mark commercials in shows which do not yet have commercial markers. (Since commercial finding is not perfect, it's sometimes desirable to turn off the automatic skipping, and having an easy way to do this is essential.)

Finally, this version is packaged as a standard Mac OS X dmg with a one-click installer application.

For the Front Row plugin (called PyeTV), check out: http://code.google.com/p/pyetv/, and for the commercial skipping plugin, see: http://code.google.com/p/etv-comskip/

Cheers,
Jon
Check out my free EyeTV add-ons:
ETVComskip (skip ads): http://code.google.com/p/etv-comskip/
PyeTV (Front Row plugin): http://code.google.com/p/pyetv/
User avatar
j-christ
Charter Member
 
Posts: 209
Joined: December 4th, 2007, 11:38 pm

Re: Working Front Row Plugin for EyeTV

Postby mac.gebruiker » April 9th, 2008, 10:04 am

Cannot open the Front Row plugin. Tried different apps but all say "No filesystem that can be activated".
User avatar
mac.gebruiker
Charter Member
 
Posts: 577
Joined: November 22nd, 2007, 12:21 pm
Location: Netherlands (EU)

Re: Working Front Row Plugin for EyeTV

Postby gentile » April 9th, 2008, 12:48 pm

I get a warning "The following disk images failed to mount" and the reason is "no mountable file system."

I am running the latest version of Leopard and EyeTv 3.01.
User avatar
gentile
Level 1
 
Posts: 17
Joined: February 4th, 2008, 12:13 pm

Re: Working Front Row Plugin for EyeTV

Postby bolger » April 9th, 2008, 4:51 pm

Rename the File so the ending is only .dmg

Then open the disk image and install.
User avatar
bolger
Level 1
 
Posts: 6
Joined: January 6th, 2008, 7:20 pm
Location: Braunschweig, Germany

Re: Working Front Row Plugin for EyeTV

Postby gentile » April 9th, 2008, 6:44 pm

Thank you so much! This is something I wanted ever since I got EyeTV. Nice logo on the FrontRow menu. Nice ability to chose the channel you want to watch. Works even though EyeTv is running in the background.

Just wondering if the "program guide" choice is suppose to send you to the actual guide or just the EyeTv menu?

Is there a way to close the EyeTv window if you exit FrontRow?

Thanks again! Great feature.
User avatar
gentile
Level 1
 
Posts: 17
Joined: February 4th, 2008, 12:13 pm

Re: Working Front Row Plugin for EyeTV

Postby j-christ » April 9th, 2008, 6:54 pm

gentile wrote:Just wondering if the "program guide" choice is suppose to send you to the actual guide or just the EyeTv menu?

Is there a way to close the EyeTv window if you exit FrontRow?


The program guide is supposed to take you to the actual guide. It does for me w/EyeTV3, but it takes a few seconds. Because of the way EyeTV has implemented access to the guide, this is more difficult that it needs to be. (There's not a specific EyeTV applescript command to do this, and I have to rely on System Events to send a keystroke.)

Come to think of it, that might be the problem for you. Go to System Preferences, Universal Access, and make sure "Enable access for assistive devices is checked." It might just work then.

As far as closing the EyeTV window after leaving FR...I use Cmd-W.
Check out my free EyeTV add-ons:
ETVComskip (skip ads): http://code.google.com/p/etv-comskip/
PyeTV (Front Row plugin): http://code.google.com/p/pyetv/
User avatar
j-christ
Charter Member
 
Posts: 209
Joined: December 4th, 2007, 11:38 pm

Re: Working Front Row Plugin for EyeTV

Postby budy » April 10th, 2008, 7:37 am

Hi,

this is so wunderful work!! :D

Thanks a lot,
budy
There's no OS like Mac OS X
User avatar
budy
Level 2
 
Posts: 94
Joined: March 11th, 2008, 9:04 am
Location: Hamburg, Germany

Re: Working Front Row Plugin for EyeTV

Postby j-christ » April 10th, 2008, 7:38 am

budy wrote:Hi,

this is so wunderful work!! :D

Thanks a lot,
budy


Hey, Thanks!
Check out my free EyeTV add-ons:
ETVComskip (skip ads): http://code.google.com/p/etv-comskip/
PyeTV (Front Row plugin): http://code.google.com/p/pyetv/
User avatar
j-christ
Charter Member
 
Posts: 209
Joined: December 4th, 2007, 11:38 pm

Re: Working Front Row Plugin for EyeTV

Postby jforge » April 13th, 2008, 2:15 pm

Thanx for this great plug in. I've been using it with great success for a while having downloaded from xShad0w.

Due to hard drive problems I need to download it again but xShad0w's link no longer works for me.

I can't mount the dmg provided at the PyeTV Google code site.

Can anyone help me out, please.
User avatar
jforge
Level 1
 
Posts: 2
Joined: February 28th, 2008, 5:50 am

Re: Working Front Row Plugin for EyeTV

Postby j-christ » April 13th, 2008, 6:33 pm

jforge wrote:Thanx for this great plug in. I've been using it with great success for a while having downloaded from xShad0w.

Due to hard drive problems I need to download it again but xShad0w's link no longer works for me.

I can't mount the dmg provided at the PyeTV Google code site.

Can anyone help me out, please.


I don't understand why some people are having this problem, because it works fine for me if I download from google code. What platform/browser are you using?

Someone else suggested the following:

Rename the File so the ending is only .dmg
Then open the disk image and install.
Check out my free EyeTV add-ons:
ETVComskip (skip ads): http://code.google.com/p/etv-comskip/
PyeTV (Front Row plugin): http://code.google.com/p/pyetv/
User avatar
j-christ
Charter Member
 
Posts: 209
Joined: December 4th, 2007, 11:38 pm

Re: Working Front Row Plugin for EyeTV

Postby Captain Maniac » April 15th, 2008, 1:08 am

I'm able to download the file and mount it on my desktop (iMac 24" aluminum running OSX 10.5.2). A "PyeTV 1.0" icon appears on my desktop, and inside it are three files: EyeTV.frappliance, Install PyeTV and UnInstall PyeTV. However, when I double-click on Install PyeTV, I am presented with the following error message:

"cp: /Applications/EyeTV.app/Contents/Resources/eyetvb.icons: No such file or diretory."

I am running EyeTV Lite. Does this above error message indicate that it will only install with EyeTV 3 and not with EyeTV Lite, or am I doing something incorrectly? Thanks in advance.
Keep on rockin',
Captain Maniac
"Past the outskirts of Infinity"
User avatar
Captain Maniac
Level 1
 
Posts: 26
Joined: April 14th, 2008, 9:31 pm
Location: Surrey, BC Canada

Re: Working Front Row Plugin for EyeTV

Postby j-christ » April 15th, 2008, 1:15 am

Captain Maniac wrote:I'm able to download the file and mount it on my desktop (iMac 24" aluminum). A "PyeTV 1.0" icon appears on my desktop, and inside it are three files: EyeTV.frappliance, Install PyeTV and UnInstall PyeTV. However, when I double-click on Install PyeTV, I am presented with the following error message:

"cp: /Applications/EyeTV.app/Contents/Resources/eyetvb.icons: No such file or diretory."

I am running EyeTV Lite. Does this above error message indicate that it will only install with EyeTV 3 and not with EyeTV Lite, or am I doing something incorrectly? Thanks in advance.


That just sets the pretty icon in Front Row; the installer should be improved to ignore this error, but currently that probably means the installer won't work for you.

You should be able to just manually copy/move the EyeTV.frappliance to:
/System/Library/CoreServices/Front Row.app/Contents/Plugins.

You'll have to option click and choose show package contents to look inside Front Row.app.

Restart Front Row if you know how, or reboot and it should be installed.

I have no idea if it'll work properly for you, though. I don't know a thing about EyeTV Lite except that it's less filling. Some say it tastes great. I wouldn't know...

Let me know if it works.
Check out my free EyeTV add-ons:
ETVComskip (skip ads): http://code.google.com/p/etv-comskip/
PyeTV (Front Row plugin): http://code.google.com/p/pyetv/
User avatar
j-christ
Charter Member
 
Posts: 209
Joined: December 4th, 2007, 11:38 pm

Re: Working Front Row Plugin for EyeTV

Postby Captain Maniac » April 15th, 2008, 1:35 am

j-christ wrote:You should be able to just manually copy/move the EyeTV.frappliance to:
/System/Library/CoreServices/Front Row.app/Contents/Plugins.

You'll have to option click and choose show package contents to look inside Front Row.app.

Restart Front Row if you know how, or reboot and it should be installed.


Thanks so much for your assistance! I followed your instructions, and sure enough, EyeTV is now displayed as one of my choices in Front Row. However, when I click on the EyeTV line in Front Row, I get an error message: "An error occurred. Press Play/Pause to exit Front Row".

I am still assuming this problem is somehow connected with my use of EyeTV Lite? (Which certainly does work well, but as you say is definitely less filling!)
Keep on rockin',
Captain Maniac
"Past the outskirts of Infinity"
User avatar
Captain Maniac
Level 1
 
Posts: 26
Joined: April 14th, 2008, 9:31 pm
Location: Surrey, BC Canada

Re: Working Front Row Plugin for EyeTV

Postby j-christ » April 15th, 2008, 1:45 am

Captain Maniac wrote:
j-christ wrote:You should be able to just manually copy/move the EyeTV.frappliance to:
/System/Library/CoreServices/Front Row.app/Contents/Plugins.

You'll have to option click and choose show package contents to look inside Front Row.app.

Restart Front Row if you know how, or reboot and it should be installed.


Thanks so much for your assistance! I followed your instructions, and sure enough, EyeTV is now displayed as one of my choices in Front Row. However, when I click on the EyeTV line in Front Row, I get an error message: "An error occurred. Press Play/Pause to exit Front Row".

I am still assuming this problem is somehow connected with my use of EyeTV Lite? (Which certainly does work well, but as you say is definitely less filling!)



If I had to guess, I'd say that one of the applescript commands PyeTV is sending to EyeTV
isn't working. Oh duh...the application name is EyeTVLite (probably) and not EyeTV. I don't know if EyeTV lite is scriptable. You could try pulling the sources from google code and replacing all instances of EyeTV with EyeTVLite in applescript commands, rebuild, reinstall, and pray it works.

Or try convince a EyeTV Lite owning-programmer to help you out, but since I don't have one I can't test this and there's very little I can do.... sorry.
Check out my free EyeTV add-ons:
ETVComskip (skip ads): http://code.google.com/p/etv-comskip/
PyeTV (Front Row plugin): http://code.google.com/p/pyetv/
User avatar
j-christ
Charter Member
 
Posts: 209
Joined: December 4th, 2007, 11:38 pm

Re: Working Front Row Plugin for EyeTV

Postby j-christ » April 16th, 2008, 10:14 pm

PyeTV has been updated to version 1.1.

This version features preview images taken from the recordings, so it now looks *really* slick, and works just like browsing through albums in the music library.

The list of recordings within a series has also been cleaned up somewhat, episodes are now ordered by date, and are is presented in a slightly smaller font to allow for longer titles to fit on the menu line.

The installer has been updated to enable gui scripting for you so that access to the program guide from PyeTV should now work properly.

As always, the download is at:
http://code.google.com/p/pyetv/
Check out my free EyeTV add-ons:
ETVComskip (skip ads): http://code.google.com/p/etv-comskip/
PyeTV (Front Row plugin): http://code.google.com/p/pyetv/
User avatar
j-christ
Charter Member
 
Posts: 209
Joined: December 4th, 2007, 11:38 pm

Re: Working Front Row Plugin for EyeTV

Postby tanc » April 18th, 2008, 12:06 am

Is there a way to switch back to Front Row from EyeTV? There doesn't seem to be a menu item in EyeTV for Front Row.
User avatar
tanc
Level 1
 
Posts: 1
Joined: April 18th, 2008, 12:03 am

Re: Working Front Row Plugin for EyeTV

Postby j-christ » April 18th, 2008, 12:47 am

tanc wrote:Is there a way to switch back to Front Row from EyeTV? There doesn't seem to be a menu item in EyeTV for Front Row.


If you entered EyeTV via a recording or a TV channel, just press pause. If you entered from the program guide, exiting the full-screen menu will return to Front Row (i.e. press menu twice). That leaves the "Enter EyeTV" option. In that case there is no direct exit condition which will take you back to Front Row, but pressing "menu" once or twice will generally do it, just like invoking Front Row from within EyeTV without PyeTV installed. Do not use long menu presses, as that will invoke the EyeTV menu.
Check out my free EyeTV add-ons:
ETVComskip (skip ads): http://code.google.com/p/etv-comskip/
PyeTV (Front Row plugin): http://code.google.com/p/pyetv/
User avatar
j-christ
Charter Member
 
Posts: 209
Joined: December 4th, 2007, 11:38 pm

Re: Working Front Row Plugin for EyeTV

Postby jforge » April 18th, 2008, 3:38 am

Version 1.1 downloads, mounts and installs seamlessly.

Nearly all of my problems solved.

Now all I need is to be able to shuffle my Music Videos in Front Row and I will have everything I want.

Thanx much for all of your work. I will spread the word.
User avatar
jforge
Level 1
 
Posts: 2
Joined: February 28th, 2008, 5:50 am

Re: Working Front Row Plugin for EyeTV

Postby tpoursanidis » April 20th, 2008, 8:57 pm

The PlugIn is not working if EyeTV-Sharing is on and a shared Archiv is mounted.
If the shared Archiv is ejected again, the PlugIn is also working again.
User avatar
tpoursanidis
Level 1
 
Posts: 1
Joined: April 20th, 2008, 8:50 pm

Re: Working Front Row Plugin for EyeTV

Postby xjerky » April 21st, 2008, 8:40 pm

SInce Elgato took away the functionality of closing the LiveTV window using the Apple Remote with 3.x, do you think it might be possible to add an option to do so with your plugin? I'm using my Mac Mini without a keyboard or mouse, and the problem is that while the LiveTV window is open, the machine never goes to sleep.
User avatar
xjerky
Level 1
 
Posts: 11
Joined: January 24th, 2008, 7:26 pm

Re: Working Front Row Plugin for EyeTV

Postby j-christ » April 21st, 2008, 8:53 pm

xjerky wrote:SInce Elgato took away the functionality of closing the LiveTV window using the Apple Remote with 3.x, do you think it might be possible to add an option to do so with your plugin? I'm using my Mac Mini without a keyboard or mouse, and the problem is that while the LiveTV window is open, the machine never goes to sleep.


Well, it'd be trivial to add a menu option which triggered the code:
Code: Select all
app("EyeTV").player_windows()[0].close()


which will close the current player window (either live tv or a recording). I wonder if this is something which should be done automatically when control comes back to FrontRow....the problem with doing it automatically is that it makes the transition from Front Row back into EyeTV uglier---you get a glimpse of the desktop and the "zoom" effect. Anyone else have any ideas on this? Is just a "Close EyeTV window" button sufficient?
Check out my free EyeTV add-ons:
ETVComskip (skip ads): http://code.google.com/p/etv-comskip/
PyeTV (Front Row plugin): http://code.google.com/p/pyetv/
User avatar
j-christ
Charter Member
 
Posts: 209
Joined: December 4th, 2007, 11:38 pm

Re: Working Front Row Plugin for EyeTV

Postby xjerky » April 22nd, 2008, 5:18 am

This is just my opinion, but I'd say a menu option would be sufficient, that way if people like the current transition behavior they can simply not select that item if they wish.

Anyway, I just wanted to thank you for your work on this very nifty little plugin! :)
User avatar
xjerky
Level 1
 
Posts: 11
Joined: January 24th, 2008, 7:26 pm

Re: Working Front Row Plugin for EyeTV

Postby xjerky » April 22nd, 2008, 2:18 pm

Come to think of it, instead of an option to simply close the LiveTV window, maybe an option to exit EyeTV would make more sense? Since you provide the ability to launch it in the first place, I suppose that would be more symmetrical.
User avatar
xjerky
Level 1
 
Posts: 11
Joined: January 24th, 2008, 7:26 pm

Re: Working Front Row Plugin for EyeTV

Postby j-christ » April 22nd, 2008, 5:53 pm

xjerky wrote:Come to think of it, instead of an option to simply close the LiveTV window, maybe an option to exit EyeTV would make more sense? Since you provide the ability to launch it in the first place, I suppose that would be more symmetrical.


I thought of that, since PyeTV uses Apple Events (like AppleScript) to talk to EyeTV, and Apple Events sent to a given program cause that program to launch if it's not running, any further action in the EyeTV menu might cause EyeTV to re-launch in the background. I think a user would be quite surprised to choose "Exit EyeTV", and then find that just browsing the list of recordings had re-activated EyeTV. Even if I made the menu tree go back to Front Row's main menu, I don't think users expect that behavior.

Also, if EyeTV is currently recording, compacting, or exporting there will be a confirmation dialog that the user won't see and can't respond to even if they could.
Check out my free EyeTV add-ons:
ETVComskip (skip ads): http://code.google.com/p/etv-comskip/
PyeTV (Front Row plugin): http://code.google.com/p/pyetv/
User avatar
j-christ
Charter Member
 
Posts: 209
Joined: December 4th, 2007, 11:38 pm

Re: Working Front Row Plugin for EyeTV

Postby xjerky » April 22nd, 2008, 6:38 pm

That's a fair point - I hadn't considered that. Well, in any case, having the ability to at least close the LiveTV window would be very nice :)
User avatar
xjerky
Level 1
 
Posts: 11
Joined: January 24th, 2008, 7:26 pm

Next

 
Welcome, Guest
Elgato FAQ Find Elgato on Facebook and become a fan Follow us on Twitter Available on the App Store Update to EyeTV 3