LCDSmartie plugin (4 Viewers)

cedriclocqueneux

Portal Pro
March 14, 2005
55
0
Chalons en Champagne (France)
Hum, it works, but i have an other problem: when smarties is launched with your plugin, MP have lots of problems: MP freeze, the TV is no more fluid, my status not work, etc... My CPU workd a lot at 100% ! :shock:
I have tested without Smarties, and MP works fine, no more problem.
 

jf2020

Portal Member
January 9, 2005
17
0
I wanted to apologize for the confusion about the accented characters replacement. Cedric is right, the French Vidéo should be Video and not Vide'o. The problem is that I did a copy/paste without checking all the code. Sorry about that :oops:
 

AllenConquest

Portal Pro
January 9, 2005
232
0
London, UK
Version 2.4 has just been released. I found a bug in the way I was handling boolean values.

Try pausing a video and see what function3 outputs. I've just been playing with ideas. Does it look okay ?
 

lugiber

Portal Pro
August 3, 2004
141
0
Sweden
AllenConquest said:
4. Are you going to make your config.ini file available for others? I can host it with the zip file if you want.

Sure i would be happy to! Just pm me with your email adress and i will send the file immediatly.

AllenConquest said:
The TV recording flag needs a change to the DLL written by samuel337. I'll see what I can do.

Sounds cool! Let me know if you manage to get this working! It would be nice to be able to get a "1" out of the plugin when recording and a zero when not recording. That way i could use smartie to tell my lcd to light a diode or sound an alarm when recording.

AllenConquest said:
cedriclocqueneux
So the only solution at the moment is to replace them with other characters that are a bit more sensible. The post from jf2020 shows the function that I have used. This replaces "é" with "e'"

Could you add the following to the code so that swedish caracters will be displayed correctly:

input = input.Replace("Ö", "O")
input = input.Replace("ö", "o")
input = input.Replace("Å", "A'")
input = input.Replace("å", "a")
input = input.Replace("Ä", "A")
input = input.Replace("ä", "a")

Thanks again for all your help and support!

/Peter
 

AllenConquest

Portal Pro
January 9, 2005
232
0
London, UK
Version 2.5 has just been released.

lugiber said:
AllenConquest said:
The TV recording flag needs a change to the DLL written by samuel337. I'll see what I can do.

Sounds cool! Let me know if you manage to get this working! It would be nice to be able to get a "1" out of the plugin when recording and a zero when not recording. That way i could use smartie to tell my lcd to light a diode or sound an alarm when recording.
This should be working now.

lugiber said:
Could you add the following to the code so that swedish caracters will be displayed correctly:

input = input.Replace("Ö", "O")
input = input.Replace("ö", "o")
input = input.Replace("Å", "A'")
input = input.Replace("å", "a")
input = input.Replace("Ä", "A")
input = input.Replace("ä", "a")

The only ones missing were for Å and å. Now added to version 2.5
 

lugiber

Portal Pro
August 3, 2004
141
0
Sweden
AllenConquest said:
Version 2.5 has just been released.

lugiber said:
AllenConquest said:
The TV recording flag needs a change to the DLL written by samuel337. I'll see what I can do.

Sounds cool! Let me know if you manage to get this working! It would be nice to be able to get a "1" out of the plugin when recording and a zero when not recording. That way i could use smartie to tell my lcd to light a diode or sound an alarm when recording.
This should be working now.

Cool! So how do i get this info from the plugin? Is there some way that i can get hold of the variables that you can pass to the plugin without having to bother you all the time? (Not all the options are visible through the wiki page.)

/Peter
 

AllenConquest

Portal Pro
January 9, 2005
232
0
London, UK
lugiber said:
Cool! So how do i get this info from the plugin? Is there some way that i can get hold of the variables that you can pass to the plugin without having to bother you all the time? (Not all the options are visible through the wiki page.)
The options are on the wiki page. I updated them yesterday. The one you want it IsTVRecording. Just put this a param1 in function6. It will return a "0" or "1". I've not tested this myself yet, so I'd be interested to know if it works.
 

lugiber

Portal Pro
August 3, 2004
141
0
Sweden
AllenConquest said:
The options are on the wiki page. I updated them yesterday. The one you want it IsTVRecording. Just put this a param1 in function6. It will return a "0" or "1". I've not tested this myself yet, so I'd be interested to know if it works.

I have tested and it works! But unfortunatley it is not what i am interested in. What i am interested in is some sort of output when you are currently recording a tv show/movie. That would enable you to display something like: now recording "Discovery channel" or the current title of the program currently being recorded. Not something that displays when watching a previously recorded tv show although that is useful too! Sorry i didn't make myself clear enough :oops: .
And thanks again for helping out.

/Peter
 

AllenConquest

Portal Pro
January 9, 2005
232
0
London, UK
lugiber said:
AllenConquest said:
I've not tested this myself yet, so I'd be interested to know if it works.

I have tested and it works! But unfortunatley it is not what i am interested in. What i am interested in is some sort of output when you are currently recording a tv show/movie. That would enable you to display something like: now recording "Discovery channel" or the current title of the program currently being recorded. Not something that displays when watching a previously recorded tv show although that is useful too! Sorry i didn't make myself clear enough :oops: .
And thanks again for helping out.

/Peter
Thanks for the quick feedback. From the name of the property I assumed it was set to true when recording and false when not recording. I've checked this myself and can see that it's not working. I'm not sure if this is a problem with MediaPortal or the mechanism for getting the data out of it. Have you tried using function5 with param1 set to #TV.Record.title. There are several GUIPropertyManager tags that are named #TV.Record... you could try these instead.

Can anyone help debug whether MP is setting IsTVRecording correctly in g_Player. At the moment I can't run MP under debug on my HTPC.
 

lugiber

Portal Pro
August 3, 2004
141
0
Sweden
Can anyone help debug whether MP is setting IsTVRecording correctly in g_Player. At the moment I can't run MP under debug on my HTPC.

I'm having quite a bit of trouble with my lcd since i haven't finished building the circuit board for it yet. Hopefully i will finish soldering everything during this week. By then i will be able to give you quicker and better feedback. Regarding the IsTVRecording parameter it only shows a 1 while watching recorded tv (or dvr-ms files to be specific), not while you are currently recording tv.

/Peter
 

Users who are viewing this thread

Top Bottom