Problems with Export to iCal
Problems with Export to iCal
Hi
I tried this plug-in (Export to Calendar) selected iCal: iCal runs (opens), creates the TV-Browser Calendar category, but nothing else seems to happen. An export to iCal file and subsequent import into iCal works, but in two steps. Am I missing something?
I tried this plug-in (Export to Calendar) selected iCal: iCal runs (opens), creates the TV-Browser Calendar category, but nothing else seems to happen. An export to iCal file and subsequent import into iCal works, but in two steps. Am I missing something?
Re: Problems with Export to iCal
It's a known Snow Leopard Bug . I fixed it in our code, but the new version isn't released yet. Normaly I would point you a link to our build system that creates nightly builds, but we moved our server last week and that system isn't running yet.
Re: Problems with Export to iCal
Thanks for the reply. Right now, this feature it's not too critical for me, so I can wait for the next release.
Re: Problems with Export to iCal
Hi all
After building version 3, I tried this again. Still not working for me.
After building version 3, I tried this again. Still not working for me.
Re: Problems with Export to iCal
Are you sure you are using version 3 ? Here it's working perfectly. What system do you have? Which Mac OS Version, which Java do you use?
Re: Problems with Export to iCal
Here is my info:
Mac OS 10.6.2
MacBook Pro 2.16 GHz Intel Core Duo
2 GB RAM
Java 1.6.0_17
TV-Browser 3.0 alpha
I will try again and detail the steps...
Mac OS 10.6.2
MacBook Pro 2.16 GHz Intel Core Duo
2 GB RAM
Java 1.6.0_17
TV-Browser 3.0 alpha
I will try again and detail the steps...
Re: Problems with Export to iCal
This is what is happening to me.
I open TV-Browser and iCal.
Right-click a program and select "Export to--Apple iCal"
The program gets a calendar icon.
I go to iCal, there's a new Calendar named "TV-Browser" but there is no entry for the program.
I quit TV-Browser.
Run TV-Browser again, the program does not exhibit the calendar icon, but clicking on the program shows a "Remove marking for Apple iCal".
I am stumped....
I have deleted the Calendar in iCal, I have tried this process with iCal opened or closed (the process always opens iCal and creates the Calendar (if I have deleted it beforehand)), tried right-clicking or from inside the program description, etc. All my permissions are repaired, etc...
Any help would be greatly appreciated.
I open TV-Browser and iCal.
Right-click a program and select "Export to--Apple iCal"
The program gets a calendar icon.
I go to iCal, there's a new Calendar named "TV-Browser" but there is no entry for the program.
I quit TV-Browser.
Run TV-Browser again, the program does not exhibit the calendar icon, but clicking on the program shows a "Remove marking for Apple iCal".
I am stumped....
I have deleted the Calendar in iCal, I have tried this process with iCal opened or closed (the process always opens iCal and creates the Calendar (if I have deleted it beforehand)), tried right-clicking or from inside the program description, etc. All my permissions are repaired, etc...
Any help would be greatly appreciated.
Re: Problems with Export to iCal
Are you sure that you use Version 3.0? And the correct Calendar-Plugin?
You shouldn't have a CalendarExportPlugin.jar in your $HOME/Library/Application Support/TV-Browser/plugins
You shouldn't have a CalendarExportPlugin.jar in your $HOME/Library/Application Support/TV-Browser/plugins
Re: Problems with Export to iCal
bodo hat geschrieben:Are you sure that you use Version 3.0? And the correct Calendar-Plugin?
You shouldn't have a CalendarExportPlugin.jar in your $HOME/Library/Application Support/TV-Browser/plugins
Yes. The splash window that appear when opening the application reads 3.0 (alpha). Finder info reads: version 3.0-alpha
The only items at $HOME/Library/Application Support/TV-Browser/plugins are: IDontWant2See.jar, ListViewPlugin.jar, MovieAwardPlugin.jar, TimelinePlugin.jar.
Where can I verify if I have the correct plug-in?
Also, I have a folder named "3.0 (alpha)", alongside folders named "2.7.3" and "2.7.4" in the Preferences folder. Should I delete the folders 2.7.3 and 2.74 from $HOME/Library/Preferences/TV-Browser? I don't think they should interfere but just in case.
Thanks for all your help bodo.
Re: Problems with Export to iCal
At the moment I don't know how to help. The Plugin-Dir seems to be okay, you should not need to delete the old settings directories. Strangely I have the exact same configuration (3 instead of 2 gig of ram), but it's working perfectly here.
What show from what channel did you try? Maybee I could reproduce the problem with the same show?
What show from what channel did you try? Maybee I could reproduce the problem with the same show?
Re: Problems with Export to iCal
It does not matter what show I select. I tried multiple shows from various channels without luck.
I tried using another tv schedule program (MacProgramGuide) that sends program information to iCal and it worked, so at least I know iCal can receive.
I have MenuCalendarClock iCal installed, and I thought that maybe there was something there that was messing everything, but even quitting that application did not solve my problem. I will continue searching, as this info could be helpful to others....
I tried using another tv schedule program (MacProgramGuide) that sends program information to iCal and it worked, so at least I know iCal can receive.
I have MenuCalendarClock iCal installed, and I thought that maybe there was something there that was messing everything, but even quitting that application did not solve my problem. I will continue searching, as this info could be helpful to others....
Re: Problems with Export to iCal
Could you try to execute this Applescript:
This should create a Calendar Entry. If not it should show you an error message. I just commited a little more Log-Info into the SVN. If you build the tvbrowser now, it will log additional informations into the log file.
Code: Alles auswählen
property myTVCalendar : "TV-Browser"
on stringToList from theString for myDelimiters
tell AppleScript
set theSavedDelimiters to AppleScript's text item delimiters
set text item delimiters to myDelimiters
set outList to text items of theString
set text item delimiters to theSavedDelimiters
return outList
end tell
end stringToList
on getDateForISOdate(theISODate, theISOTime)
local myDate
-- converts an ISO format (YYYY-MM-DD) and time to a date object
set monthConstants to {January, February, March, April, May, June, July, August, September, October, November, December}
set theISODate to (stringToList from (theISODate) for "-")
set myDate to date theISOTime
tell theISODate
set year of myDate to item 1
set month of myDate to item (item 2) of monthConstants
set day of myDate to item 3
end tell
return myDate
end getDateForISOdate
tell application "iCal"
if (exists (calendars whose title is myTVCalendar)) then
set TVBrowserCalendar to first item of (calendars whose title is myTVCalendar)
else
set TVBrowserCalendar to make new calendar with properties {title:myTVCalendar}
end if
set startDate to my getDateForISOdate("2009-12-24", "22:10")
set endDate to my getDateForISOdate("2009-12-24", "22:10")
set props to {start date:startDate, end date:endDate, summary:"ProSieben - Constantine", description:"ProSieben - Constantine 24.12.2009 22:10-22:09 John Constantine kam mit der Gabe auf die Welt, Halbblut-Engel und –Dämonen zu sehen, die als Menschen getarnt unter uns leben. Diese Visionen trieben ihn in den Selbstmord. Doch er wurde aus der "}
set theEvent to make new event at end of (events of TVBrowserCalendar) with properties props
make new display alarm at beginning of theEvent with properties {trigger interval:-0}
end tell
Re: Problems with Export to iCal
Hi bodo
I think your script will show the answer
I tried to run it and got an error:
error "Invalid date and time date 22:10 of «script»." number -30720
iCal opened but nothing else happened...
My time formats are not 24 hour time, so I changed the script to read:
set startDate to my getDateForISOdate("2009-12-24", "8:10 PM")
set endDate to my getDateForISOdate("2009-12-24", "8:10 PM")
And it worked!!!
So I think what needs to be done is make sure the script works for 24 hour format and AM/PM format?
I think your script will show the answer
I tried to run it and got an error:
error "Invalid date and time date 22:10 of «script»." number -30720
iCal opened but nothing else happened...
My time formats are not 24 hour time, so I changed the script to read:
set startDate to my getDateForISOdate("2009-12-24", "8:10 PM")
set endDate to my getDateForISOdate("2009-12-24", "8:10 PM")
And it worked!!!
So I think what needs to be done is make sure the script works for 24 hour format and AM/PM format?
Re: Problems with Export to iCal
But how do I do this? I hate AppleScript for Quirks like this
Re: Problems with Export to iCal
Okay, i tried to fix this. If you build from svn and check it please? I hope it's working now.