My ShowTimes V1.1.0 Release April 28/07 (2 Viewers)

Status
Not open for further replies.

Jean-Marc

Portal Pro
February 28, 2007
382
32
Home Country
France France
This is the link where I posted the 2 files moviedata.xml and mtsa.log


http://pastebin.team-mediaportal.com/12347



Falkyre,

If you plan to launch a new version, could you have a look to the following?

1- See the “myfilms V.4” plug-in: it is available in all languages and as the main page for a movie data is the same as yours, I think it would be possible to easily translate “myshowtimes” following the same strings, no?
2- Generally, the first option of a plug in is the possibility to rename it in the home menu: it would be nice to be able to do the same thing with “myshowtime”
3- When a trailer is playing, clicking on the “Y” key opens a window where normally the info of the movie is given, but with “myshowtimes” this window remains empty. (I know that this is not very useful for a trailer, but if you plan a new release, do it as good as possible!!)

Thank you to you Key Master, I hope to be able to see soon the times for the movies, in France.
A question: if MTSA does not find a trailer in the Apple site, is it complicated to give it a 2° option, and eventually a third one? Because in my experience, MTSA only downloaded 3 trailers (in English…) for a total of 17 or 18 movies.

Many thanks!!
 

JDizzy

Portal Member
March 30, 2007
29
0
Home Country
United States of America United States of America
I dunno....

Tried to install this 2 times and both times when I try to configure the Grabber program from within MP I get an 'exception error' and it shuts down MP setup....

I have been using Showtimes with Betond TV without problems but this version for MP isn't working for me...

I am running the latest stable MP v0.2.2.0...
Any ideas?
-JD
 

falkyre

Portal Pro
March 20, 2006
133
0
55
Winnipeg, Canada
Home Country
Canada Canada
Hi JDizzy,

First off: Showtimes for BeyondTV and myShowTimes are two completely different apps and aren't related at all.

The myShowTimes plugin for MediaPortal REQUIRES the latest SVN release and not the latest stable release of 0.2.2.0. That's why it's not working.

Falkyre

Author - myShowTimes MP plugin

I dunno....


Tried to install this 2 times and both times when I try to configure the Grabber program from within MP I get an 'exception error' and it shuts down MP setup....

I have been using Showtimes with Betond TV without problems but this version for MP isn't working for me...

I am running the latest stable MP v0.2.2.0...
Any ideas?
-JD
 

zebons

Portal Pro
January 2, 2006
1,484
114
I posted a new version which makes the imdb code more accurate here:

http://movietimes.home.comcast.net/mtsa/download.html

:D

I also updated the site to reflect the countries that are currently broken. I have e-mailed the author of the countries that do not work anymore to see if he is interested in fixing them - and that includes France.

-Jim
H Jim,
I take a look on the mtsa's code for France and I found the problem for times movies. See correction under for module MsnFrance.vb in GetMovieTimes function. If we have corrections how can we publish it (is there a SVN server ?).

Sub GetMovieTimes(ByVal theater As String, ByVal url As String, ByVal cutoff As Date, ByVal perccomp As Long)
Dim filepath, htmltext, uniqueid, movie, times, timesok(), info()
Dim title, movieurl, uniqueidend, desc, msg, posterurl
Dim lngPos As Long, dTemp As Date
Dim sMovieAlias, sDirector, sActors, sGenre, sLength, sRating

filepath = sTempFolderPath & CleanUpFileName(sPostalOrCityLocation) & "-" & CleanUpFileName(theater) & TEMP_FILE_EXT

If Not FileExists(filepath) Then
SaveWebPageToFile(filepath, url, False)
End If

htmltext = ReadTextFile(filepath)

If htmltext = "" Then
Exit Sub
End If

uniqueid = "href=" & VBQUOTE & "/film/fichefilm_gen_cfilm="
uniqueidend = "<a name="

Do
lngPos = InStr(htmltext, uniqueid)
If lngPos = 0 Then Exit Do

htmltext = Mid(htmltext, lngPos)

movie = GetSubString(htmltext, "", uniqueidend)
If movie = NA Then
movie = htmltext
End If
htmltext = GetSubString(htmltext, uniqueidend, "")

title = StripAnyHTML(GetSubString(movie, ">", "</a"))

'If Not oProgress.Progress(perccomp, SOURCE_LABEL & " Downloading movie details for " & VBQUOTE & title & VBQUOTE & "...") Then
' Exit Sub
'End If
oLogFile.AddEntry(vbTab & VBQUOTE & title & VBQUOTE & "...")

movieurl = GetSubString(movie, "href=""", """ ")
times = "<" & Trim(GetSubString(movie, "<div", "<div"))
Call GetTimes(times, timesok, info)
 

zebons

Portal Pro
January 2, 2006
1,484
114
Hi richardg,

I will be focusing on that bug come first week of April, sorry I am just tied up with family stuff at the moment.

Sean

Hi falkyre,
Can you post your code on the sourceforge space for mp-plugins, so we can help you for developing that plugin...
http://mp-plugins.svn.sourceforge.net/viewvc/mp-plugins/trunk/plugins/
You can also put the skins here, so it'll be easier to help you improving your hard and great work.
What do you think about ?
 

falkyre

Portal Pro
March 20, 2006
133
0
55
Winnipeg, Canada
Home Country
Canada Canada
Hi Jean-Marc,

I'm finally getting a chance to look at the issues. I do have a couple of questions:

1) I will be adding in the translation functionality
2) I've looked at a few of the plugins I have on my system and they are not setup for a name change. You can select where they are located (in the My Plugins or listed in home). Where have you found a plugin that can be renamed?
3) Hmmm, will look into the data attached to the Y key.

I'm planning on a maintenance release to fix the crash bug you've found (by the way, does this only happen if the grabber is running or does it always happen in a repeatable way?). Then I plan on working on a version 2. I also plan on putting the plugin and all of the sources in the SVN so others can collaborate on the development of this plugin. Part of the issue of being a hobbyist developer is that you rarely have a lot of time to put towards doing your development work. Having kids, a job and activities outside of computing can impact how quickly things get done. Here's an example of how my life is, my main MP system died last year and I still haven't fixed it up. Still trying to find the time ha ha.

Sean

This is the link where I posted the 2 files moviedata.xml and mtsa.log


http://pastebin.team-mediaportal.com/12347



Falkyre,

If you plan to launch a new version, could you have a look to the following?

1- See the “myfilms V.4” plug-in: it is available in all languages and as the main page for a movie data is the same as yours, I think it would be possible to easily translate “myshowtimes” following the same strings, no?
2- Generally, the first option of a plug in is the possibility to rename it in the home menu: it would be nice to be able to do the same thing with “myshowtime”
3- When a trailer is playing, clicking on the “Y” key opens a window where normally the info of the movie is given, but with “myshowtimes” this window remains empty. (I know that this is not very useful for a trailer, but if you plan a new release, do it as good as possible!!)

Thank you to you Key Master, I hope to be able to see soon the times for the movies, in France.
A question: if MTSA does not find a trailer in the Apple site, is it complicated to give it a 2° option, and eventually a third one? Because in my experience, MTSA only downloaded 3 trailers (in English…) for a total of 17 or 18 movies.

Many thanks!!
 

falkyre

Portal Pro
March 20, 2006
133
0
55
Winnipeg, Canada
Home Country
Canada Canada
Hi Zebons,

putting the plugin to the SVN is a great idea. Once I fix up this crash then I will get access to the SVN and put the code up there. Just an advanced warning, it is messy code.

Is there a guide for getting a plugin to SVN?

Sean

Hi richardg,

I will be focusing on that bug come first week of April, sorry I am just tied up with family stuff at the moment.

Sean

Hi falkyre,
Can you post your code on the sourceforge space for mp-plugins, so we can help you for developing that plugin...
http://mp-plugins.svn.sourceforge.net/viewvc/mp-plugins/trunk/plugins/
You can also put the skins here, so it'll be easier to help you improving your hard and great work.
What do you think about ?
 

mzemina

Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,065
    14
    Tulsa, OK
    Home Country
    United States of America United States of America
    2) I've looked at a few of the plugins I have on my system and they are not setup for a name change. You can select where they are located (in the My Plugins or listed in home). Where have you found a plugin that can be renamed?
    2- Generally, the first option of a plug in is the possibility to rename it in the home menu: it would be nice to be able to do the same thing with “myshowtime”

    Sean - What I believe Jean-Marc is referring to in #2 is removing the "My"

    In the Configuration program there is under General -> Skin a checkbox in the Language Settings to "Use string prefixes (e.g. TV = My TV)"

    Mike
     

    zebons

    Portal Pro
    January 2, 2006
    1,484
    114
    falkyre said:
    Hi Zebons,

    putting the plugin to the SVN is a great idea. Once I fix up this crash then I will get access to the SVN and put the code up there. Just an advanced warning, it is messy code.

    Is there a guide for getting a plugin to SVN?

    Sean
    you have to ask a write access on the SVN server. To do so contact James by PM and take a look here :
    https://forum.team-mediaportal.com/plugin_development_svn-t15863.html?t=15863&highlight=svn+plugin
     

    Jean-Marc

    Portal Pro
    February 28, 2007
    382
    32
    Home Country
    France France
    A lot of good news, this is wonderful!

    First of all, I know that all that is time consuming, with job and family, and that it is not easy to find free time, so no problem!

    I answer now to your questions:

    1- Thanks a lot for the translation, if you need a help for some words, I can help you in french, spanish and portuguese.

    2- possibility to rename your plugin: it is not only the possibility to have or not the "My", but the possibility to totally change the name.
    As an example see the plugin "Basic Home Automation". When you go to the main menu of MP you select "Home Basic Automation". You have then 3 tabs for this plugin, in one of it (miscellaneous) you have a blank space called "GUI Display name" that you can fill with the name of your choice. This name will then be displayed in the menu page of MP, (in home or in "my plugin".)
    Same thing for the plugin " My Lyrics". You have a page"setting" and in it "plugin name" . I entered " Paroles de chansons" and this is now "PAROLES DE CHANSONS " that I can see in the home page of MP.

    3-Concerning the crash: it ALWAYS happens when the conditions I previously gave you are respected. The grabber can run or not, it happens!

    Well, hoping that helps a little!

    I hope now that the times for the movies will soon be fixed!
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom