home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
SubCentral
Apostrophe problem: Is this why?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Swede" data-source="post: 1182351" data-attributes="member: 24638"><p>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?</p><p></p><p>[code]25-Apr-2016 08:40:26.309 Info [ Retriever]: Searching for subtitles...</p><p>25-Apr-2016 08:40:26.309 Debug [ Retriever]: ...using TV show query: 'DC's Legends of Tomorrow 1x12 TvdbId: 295760 [/code] 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.</p><p>[code]25-Apr-2016 08:40:26.309 Debug [ Retriever]: Searching site OpenSubtitles...</p><p>25-Apr-2016 08:40:26.780 Debug [ Retriever]: Searching site Subscene...</p><p>25-Apr-2016 08:40:46.634 Info [ Retriever]: Searching for subtitles...</p><p>25-Apr-2016 08:40:46.634 Debug [ Retriever]: ...using TV show query: 'Legends Of Tomorrow 1x12 TvdbId: [/code] If the aphostrophe is removed from the search query, the search works.</p><p>[code]25-Apr-2016 08:40:46.634 Debug [ Retriever]: Searching site OpenSubtitles...</p><p>25-Apr-2016 08:40:47.129 Debug [ Retriever]: Searching site Subscene...</p><p>...</p><p>25-Apr-2016 08:41:17.730 Info [ Retriever]: Downloading subtitles...</p><p>25-Apr-2016 08:41:17.730 Debug [ Retriever]: ...from provider OpenSubtitles, subtitle name is 'DCs.Legends.of.Tomorrow.S01E12.HDTV.x264-LOL.srt'</p><p>25-Apr-2016 08:41:18.193 Info [ Retriever]: 1 subtitle(s) downloaded to temporary folder. [/code]</p><p></p><p></p><p></p><p>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.</p><p></p><p>Is there anyway the "pretty name" could stay without apostrophe?</p></blockquote><p></p>
[QUOTE="Swede, post: 1182351, member: 24638"] 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 [/code] 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: [/code] 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. [/code] 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? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
SubCentral
Apostrophe problem: Is this why?
Contact us
RSS
Top
Bottom