Ok, now get a load of this...
Using the below in a "Plugins.txt" file for an INC in the menu.skin, I have both
the MovieTimes and RRMedia both showing working indicators (turning off & on).
Things that I observed that seemed to break the working indicators are:
#1-empty line on the last line (don't ask, i have no clue as to why it would make any difference but it does!)
#2-The Last Ext plugin that you define, needs to either have no Sub ReturnIndicator function or the last one at least needs to return False no matter what.
So with this added info, it seems that anyone should be able to have all working indicators(custom or ext plugins') in their skins.
I will have mention this to john and have him test and see if he gets the same results the I got above following those rules.
Code:X,RREarth X,Mp3Art X,MotionLock X,ShortDayNames X,ScreenLock X,Milage X,TimerExtension X,RRMediaDb X,MovieTimes X,RRDebugWin
question, is there any way to have this plugin download bigger poster art? 101x150 just isnt really cutting it...
gotcha.... one more question: what if there are more than 6 times at which a movie is showing? some theatres have like 15+ times for a new release movie in a day... anyway to get more times?
ok, didnt realize there were 10. that should be sufficient.
possible bug(s)? :
-i had one occasion where it reported the same times for all movies (for a certain theater, which makes me think this is a problem on the WAP movie times end, not your fault)
-for all theaters, it is not reporting the time of the first showing. it simply skips it and thinks that the second time every movie is shown is the first. happens for all movies, all theaters
Sonic I got to thinking about a way to break the lines so it could be put into a CUSTOMLIST and be able to scroll the movie description (As well as your email plugin).
I am not sure of the commands in VB, but in AutoIt you can tell it to search for a character, and tell it which occurrence to search for.
Using an example of the movie site link you get this, all on one single line:
In 1935, 13-year-old fledgling writer Briony Tallis (Saoirse Ronan) and her family live a life of wealth and privilege in their enormous mansion. On the warmest day of the year, the country estate takes on an unsettling hothouse atmosphere, stoking Briony's vivid imagination. Robbie Turner (James McAvoy), the educated son of the family's housekeeper, carries a torch for Briony's headstrong older sister Cecilia (Kiera Knightley). Cecilia, he hopes, has comparable feelings; all it will take is…
If that is put into a CustomList, it will just be one very long line.
In AI you can do the following: (Asuming the line above is contained in $MovieInfo variable)
$location = StringInStr(MovieInfo ", " ", 0, 6)
$Location would then contain: "In 1935, 13-year-old fledgling writer Briony "
as that is where the 6th [space] is located.
This would have to be done in a loop using an array, and just cutting off the left of the line by the 6th space in the string, placing it into a new array.
Then placing each array as a new line in the CustomList sent to RR.
This is a bit bulky, and not the cleanest way to do something, but it would be EXTREMELY fast (virtually instant).
As for counting for the 6th space, this could be an ini setting, depending on the font size and the text area in a skin, allowing it to fit.
This is exactly how I did the lyrics display in my skin. Fortunately the lyrics have a CF or LF that I am searching for for the end of the line to break each line up.
Getting a bit more creative, you could set a char width to display in the ini (Max characters that would fit on the skin). Then cut that many characters from the left of the line, then start from the right looking for the first space as to where to break the line cleanly.
i know how to search for the char position in vb6.. thats pretty easy.. i'll work on that monday and see how it looks. The character width could be done as well but may add confusion to someone that is skinning and new to RR. I'll work on this monday regardless and post progress.