French EPG issues

An evolving, supported alternative to Rovi
Forum rules
★ Download the latest EPG123 here: https://garyan2.github.io/ <> Setup guide here: https://garyan2.github.io/install.html
User avatar
lachape_one

Posts: 74
Joined: Fri May 06, 2016 10:54 am
Location: Versailles, France

HTPC Specs: Show details

French EPG issues

#1

Post by lachape_one » Thu May 12, 2016 6:18 pm

Salut

I found EPG123 thanks to you guys, awesome, it's been 4 years I looked for a way to complete the french new digital terrestrial tv ("TNT") channels guide, which remained desperately empty all these times. I also found that lineups includes my cable provider Numericable, it's just wonderful, i'l give it a try very soon, but for now, i give my feedback for these standard DTT (TNT) channels :

So, everything worked fine for these channels:
- L'équipe 21 HD
- 6Ter HD
- Numéro 23
- RMC Découverte HD
EPG123 downloaded successfully, but the cmd function is blocked at the step "Kick off reindexsearchboot task..":

but, when i look into MCE Guide, everything seems ok:
Image


but there are some issues, each time i select these 2 channels in the lineups:
- HD1
- Chérie 25
EPG123 crashed, with these messages:
Image


With a prompt to close the program
Image

if it can help you to improve EPG123, i'll really appreeciate :)

Merci!

rkulagow

Posts: 246
Joined: Sun Jul 19, 2015 1:04 am
Location: Schedules Direct

HTPC Specs: Show details

#2

Post by rkulagow » Thu May 12, 2016 6:31 pm

Can you provide a translation of what the error messages are saying?

User avatar
garyan2

Posts: 7480
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#3

Post by garyan2 » Thu May 12, 2016 6:44 pm

I am trying to determine the star rating of a movie and the field from Schedules Direct is not in the format I expect ... possibly have a letter in there.

Could you send me what postal code you used to get your lineups so I can run a test and find where my error handling is failing? Should be a real quick fix.

Thank you
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

rkulagow

Posts: 246
Joined: Sun Jul 19, 2015 1:04 am
Location: Schedules Direct

HTPC Specs: Show details

#4

Post by rkulagow » Thu May 12, 2016 6:55 pm

Is there a way to do try/catch blocks, so that if there's an error it can spit out the program that failed? Or have a -debug mode that just dumps each program as it's being processed to the log, so that you can see which one causes the error? (instead of just 712/867)

User avatar
lachape_one

Posts: 74
Joined: Fri May 06, 2016 10:54 am
Location: Versailles, France

HTPC Specs: Show details

#5

Post by lachape_one » Thu May 12, 2016 7:00 pm

rkulagow wrote:Can you provide a translation of what the error messages are saying?
the msg seems to say "unhandled exception System.FormatException "Input string was not in a correct format."
At System.Number.parseDouble(String value,NumberStyles options, NumberFormatInfo numfmt)" and "EPG123 stopped working, windows will now close the program"
garyan2 wrote:I am trying to determine the star rating of a movie and the field from Schedules Direct is not in the format I expect ... possibly have a letter in there.
Could you send me what postal code you used to get your lineups so I can run a test and find where my error handling is failing? Should be a real quick fix.
Thank you
the postal code i used is 78150 and the lineup is "Numéricable - Buc -Digital (Issy les Moulineaux)
rkulagow wrote:Is there a way to do try/catch blocks, so that if there's an error it can spit out the program that failed? Or have a -debug mode that just dumps each program as it's being processed to the log, so that you can see which one causes the error? (instead of just 712/867)
sorry but i'm lost: how can i do that?

User avatar
garyan2

Posts: 7480
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#6

Post by garyan2 » Thu May 12, 2016 7:35 pm

lachape_one wrote:the postal code i used is 78150 and the lineup is "Numéricable - Buc -Digital (Issy les Moulineaux)
Thanks, I'll troubleshoot this tonight and should have an answer for you early in the morning your time.
lachape_one wrote:
rkulagow wrote:Is there a way to do try/catch blocks, so that if there's an error it can spit out the program that failed? Or have a -debug mode that just dumps each program as it's being processed to the log, so that you can see which one causes the error? (instead of just 712/867)
sorry but i'm lost: how can i do that?
That comment was directed to me for the epg123 code.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

User avatar
lachape_one

Posts: 74
Joined: Fri May 06, 2016 10:54 am
Location: Versailles, France

HTPC Specs: Show details

#7

Post by lachape_one » Thu May 12, 2016 8:08 pm

Formidable merci

User avatar
STC

Posts: 6808
Joined: Mon Jun 06, 2011 4:58 pm
Location:

HTPC Specs: Show details

#8

Post by STC » Thu May 12, 2016 8:20 pm

Nice to know this works for French terrestrial.

Most other countries where Gracenote has listings?
By the Community, for the Community. 100% Commercial Free.

Want decent guide data back? Check out EPG123

Space

Posts: 2841
Joined: Sun Jun 02, 2013 9:44 pm
Location:

HTPC Specs: Show details

#9

Post by Space » Thu May 12, 2016 8:26 pm

STC wrote:Nice to know this works for French terrestrial.

Most other countries where Gracenote has listings?
http://www.schedulesdirect.org/regions

User avatar
STC

Posts: 6808
Joined: Mon Jun 06, 2011 4:58 pm
Location:

HTPC Specs: Show details

#10

Post by STC » Thu May 12, 2016 8:45 pm

^ specifically does EPG123 work for all these countries? I'm sure there are nuances that need to be tweaked due to language differences and other things.
By the Community, for the Community. 100% Commercial Free.

Want decent guide data back? Check out EPG123

User avatar
lachape_one

Posts: 74
Joined: Fri May 06, 2016 10:54 am
Location: Versailles, France

HTPC Specs: Show details

#11

Post by lachape_one » Thu May 12, 2016 9:32 pm

STC wrote:^ specifically does EPG123 work for all these countries? I'm sure there are nuances that need to be tweaked due to language differences and other things.
Right. For french ie, I'm not developer but i know that most of the time, characters like "é", "ô", "à" or other "ç" causes some trouble because they are converted to ASCII code

rkulagow

Posts: 246
Joined: Sun Jul 19, 2015 1:04 am
Location: Schedules Direct

HTPC Specs: Show details

#12

Post by rkulagow » Thu May 12, 2016 9:43 pm

The Schedules Direct JSON service is UTF-8 clean, so any sorts of "extended" characters are passed through to the client without issue. Of course, the client may then mangle them as it desires... :)

User avatar
garyan2

Posts: 7480
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#13

Post by garyan2 » Thu May 12, 2016 10:26 pm

... and I've tried to keep all this in mind. Everything is culturally insensitive, so should be presented as intended.

^except ... I meant to take care of this last build, but the OAD override is not insensitive and will mess things up a bit. I'll get that fixed next build as well.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

User avatar
garyan2

Posts: 7480
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#14

Post by garyan2 » Thu May 12, 2016 11:32 pm

^^except for probably the difference between a rating of 2.5 vs. 2,5

Probably what happened.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

rkulagow

Posts: 246
Joined: Sun Jul 19, 2015 1:04 am
Location: Schedules Direct

HTPC Specs: Show details

#15

Post by rkulagow » Thu May 12, 2016 11:59 pm

If you can provide the programID then I can check what's on the master server.

User avatar
garyan2

Posts: 7480
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#16

Post by garyan2 » Fri May 13, 2016 2:08 am

All good now. I was right in the 2.5 versus 2,5 ... code got confused. I'm going to scrub through the rest of the code to see if I missed anything else, but I think that should be it.

lachape_one, is it okay if I send you a build to try out? and you can let me know if there is anything else not right?
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

rkulagow

Posts: 246
Joined: Sun Jul 19, 2015 1:04 am
Location: Schedules Direct

HTPC Specs: Show details

#17

Post by rkulagow » Fri May 13, 2016 2:31 am

@garyan2

So this is something to do with i18n and not the source data from our servers?

User avatar
garyan2

Posts: 7480
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#18

Post by garyan2 » Fri May 13, 2016 2:50 am

rkulagow wrote:@garyan2

So this is something to do with i18n and not the source data from our servers?
I've gotta admit, I had to look that up ... but, yes, it was all about the number format and I'm fine with that. I prefer the source data to be predictable, so don't change a thing. :D

EDIT: Just to clarify, it was my code that was not taking into account the cultural format of the host computer when calculating the number of stars based on the data from SD.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

rkulagow

Posts: 246
Joined: Sun Jul 19, 2015 1:04 am
Location: Schedules Direct

HTPC Specs: Show details

#19

Post by rkulagow » Fri May 13, 2016 3:39 am

garyan2 wrote:
rkulagow wrote:@garyan2

So this is something to do with i18n and not the source data from our servers?
I've gotta admit, I had to look that up ... but, yes, it was all about the number format and I'm fine with that. I prefer the source data to be predictable, so don't change a thing. :D

EDIT: Just to clarify, it was my code that was not taking into account the cultural format of the host computer when calculating the number of stars based on the data from SD.
Ah, so in fact it was l10n, not i18n. ("localization")

User avatar
garyan2

Posts: 7480
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#20

Post by garyan2 » Fri May 13, 2016 3:45 am

rkulagow wrote:Ah, so in fact it was l10n, not i18n. ("localization")
Now you're just showing off. :P
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Post Reply