mwheelerjr / mptvseries

Automatically exported from code.google.com/p/mptvseries
0 stars 0 forks source link

Add work-around for strings with special characters #623

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
As you see from the attachment. The S09E09 on the series Two And a Half Men got 
lowercase characters.
I put in an issue to the StreamedMP team, but they couldn't do any thing about 
it. But they stated out that it was because of the special apostrophe that 
exist in the episode text. Is it possible for TV-Series to do something about 
this? Convert this type of apostrophe to a apostrophe that the skin can handle?

What steps will reproduce the problem?
1. Try to add Two and a Half Men to the MP Tv-Series plugin
2.
3.

What is the expected output? What do you see instead?
- Expected upper-case series on the S09E09, but get lower-case

What version of MP-TVSeries and MediaPortal are you using?
- MP-TVSeries 3.1.3.1888

What Skin are you using?
- StreamedMP

On what operating system?
- Windows 7 - x86

Please provide any additional information below e.g. Logs & Pictures.
http://code.google.com/p/mptvseries/wiki/FAQ#Submitting_Useful_Log_Files

Original issue reported on code.google.com by gei...@gmail.com on 24 Nov 2011 at 8:15

Attachments:

GoogleCodeExporter commented 9 years ago
This problem has bugged me for a long time...time to fix it! I dont know why 
some fonts cant render it, I suspect this is more a MediaPortal issue...I guess 
we can do a replace on these types of characters with their normal counter 
parts e.g.

http://stackoverflow.com/questions/334850/c-sharp-how-to-replace-microsofts-smar
t-quotes-with-straight-quotation-marks

Original comment by damien.haynes@gmail.com on 24 Nov 2011 at 9:00

GoogleCodeExporter commented 9 years ago
Okay... should I post an issue to the MediaPortal to or do you take it from 
here?

Question!
Where does the error start? Is it so that someone "has just" a wrong apostrophe 
when they added the episode to TheTvDB (www.thetvdb.com)?

Original comment by gei...@gmail.com on 24 Nov 2011 at 9:12

GoogleCodeExporter commented 9 years ago
Its questionable whether its wrong, but typically I just edit the entry on 
thetvdb.com.

And to be honest I dont know where the fault actually lies, but I suspect 
somewhere in the font engine of MediaPortal. You can try your luck, its 
particularly bad for scrolling text when it cant be rendered e,g, rss feeds.

Original comment by damien.haynes@gmail.com on 24 Nov 2011 at 9:32

GoogleCodeExporter commented 9 years ago
More Info:

http://forum.team-mediaportal.com/bugreports-74/special-characters-shown-system-
font-103023/

So I can add a work around easily enough into tvseries before data is written 
to DB but its only going to be for tvseries...it will happen on every other 
plugin that uses these characters.

Original comment by damien.haynes@gmail.com on 28 Nov 2011 at 12:31

GoogleCodeExporter commented 9 years ago
Okay... looks like someone is looking into it... and that's great!
And if the XBMC team can handle it, then I'm sure the MP Team can figure it out 
to...

Thanks!

BTW: Great plugin... keep up the good work!

Original comment by gei...@gmail.com on 28 Nov 2011 at 8:05