Apostrophe problem: Is this why? (1 Viewer)

Swede

Portal Pro
September 6, 2006
489
47
West Coast Archipelago
Sweden Sweden
Country flag
The problem could be that single quotes are used in the code. Single quotes and apostrophe is the same character. If double quotes were used instead, it would probably work. It could also be an uneven amount of quotes?

Code:
25-Apr-2016 08:40:26.309  Info [           Retriever]: Searching for subtitles...
25-Apr-2016 08:40:26.309 Debug [           Retriever]: ...using TV show query: 'DC's Legends of Tomorrow 1x12 TvdbId: 295760
Notice in the log above, only one single quote before DC, non at the end of the query. That's usually causing problems and the apostrophe in DC's may be is interpreted as the second single quote since that is the same ASCII number. Anyway, this query gives no results.
Code:
25-Apr-2016 08:40:26.309 Debug [           Retriever]: Searching site OpenSubtitles...
25-Apr-2016 08:40:26.780 Debug [           Retriever]: Searching site Subscene...
25-Apr-2016 08:40:46.634  Info [           Retriever]: Searching for subtitles...
25-Apr-2016 08:40:46.634 Debug [           Retriever]: ...using TV show query: 'Legends Of Tomorrow 1x12 TvdbId:
If the aphostrophe is removed from the search query, the search works.
Code:
25-Apr-2016 08:40:46.634 Debug [           Retriever]: Searching site OpenSubtitles...
25-Apr-2016 08:40:47.129 Debug [           Retriever]: Searching site Subscene...
...
25-Apr-2016 08:41:17.730  Info [           Retriever]: Downloading subtitles...
25-Apr-2016 08:41:17.730 Debug [           Retriever]: ...from provider OpenSubtitles, subtitle name is 'DCs.Legends.of.Tomorrow.S01E12.HDTV.x264-LOL.srt'
25-Apr-2016 08:41:18.193  Info [           Retriever]: 1 subtitle(s) downloaded to temporary folder.


If you edit the "pretty name" in the TV-Series database so that it has no apostrophe. Then subtitles will be found. This does not work in TV-Series config, only in database. It will only last until next database update.

Is there anyway the "pretty name" could stay without apostrophe?
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

OP Similar threads Forum Replies Date
T [Resolved] Strange apostrophe issue My TVSeries 8
F Problems with new install of MP2 Newcomers Forum 3
A [solved] DiseqC problems after upgrade to 1.25 General Support 1
M Problems with VFD Display after standby- Futaba DM140GINK Mini Display 0
R Connection (api) problems with thetvdb.com General 3
123vak123 [solved] 5008: The problem with scrolling text in the "listcontrol" in 4K General Support 22
framug 1.24.0 1.25.0 pre : problem with build ? 1.24 Pre Release 89
J Problems with 1.24 StreamedMP 19
Rob Hexenmeister Navigation problems adding menu buttons to EPG General Support 1
404 [solved] EPG problem after Win10 'upgrade' General Support 1
framug [EPG] Some problems with DVB EPG Improvement Suggestions 49
C strange tuner(?) problem TV-Cards 0
R Problems accessing MySQL database remotely MediaPortal 1 Talk 0
T [solved] Startup problem General 6
G Problems with DRR MediaPortal 1 Talk 1
rsbrux 1.23.0 MPE Manager Problem with LAV Filters Bugreports 2
S Problem with Remote Control One-for-all Streamer Newcomers Forum 6
joecrow Default Wide HD Xmas Theme Problem General Support 3
K Sleep mode problem after formating General Support 2
P IPTV Channel Problem TV-Server 0
C Problem playing videos created on IPhone X and Samsung S9 General Support 2
nominefi Problem scanning channels. General Support 0
E Swedish subtitles problem General 2
G Newb trying MP2, trouble with guide data General 5
G MP1 TV Server "failed to upgrade the database" using MS Sql Server Installation, configuration support 3
Top Bottom