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
Development
General Development (no feature request here!)
SRT subtitles in XML-format (HeadWeb plugin dev.)
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="pilehave" data-source="post: 726065" data-attributes="member: 71550"><p>Hi</p><p></p><p><strong>A short introduction</strong></p><p>HeadWeb is an online movie rental site, available in Sweden, Norway, Denmark and Finland. Along with their movies, they offer subtitles for most of them. Normally they are available in all four languages.</p><p></p><p><strong>Issue at hand</strong></p><p>The subtitles are in some kind of XML-format, but the source seems to be SRT-based (judging from the source..)</p><p></p><p>I'm currently looking into the options of doing a plugin for MediaPortal with the above features.</p><p></p><p>Example below:</p><p><a href="http://img4.headweb.com/subtitles/131054_1004.xml" target="_blank">http://img4.headweb.com/subtitles/131054_1004.xml</a></p><p></p><p>1. Which subtitles formats can I expect MediaPortal to support?</p><p>2. Would the internal player allow me to a) download the subtitle and strip the XML, leaving a well-formed SRT file in a directory and b) load this file into the player?</p><p></p><p>The SRT format is really simple, so a little code-stripping with the mentioned files, should enable me to pass a usable format to the player:</p><p></p><p><strong>Take this format</strong></p><p></p><p></p><p></p><p><strong>And convert it to this format</strong></p><p></p><p></p><p>But I need to save it locally and load it into the player...</p><p></p><p><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" /></p></blockquote><p></p>
[QUOTE="pilehave, post: 726065, member: 71550"] Hi [B]A short introduction[/B] HeadWeb is an online movie rental site, available in Sweden, Norway, Denmark and Finland. Along with their movies, they offer subtitles for most of them. Normally they are available in all four languages. [B]Issue at hand[/B] The subtitles are in some kind of XML-format, but the source seems to be SRT-based (judging from the source..) I'm currently looking into the options of doing a plugin for MediaPortal with the above features. Example below: [url]http://img4.headweb.com/subtitles/131054_1004.xml[/url] 1. Which subtitles formats can I expect MediaPortal to support? 2. Would the internal player allow me to a) download the subtitle and strip the XML, leaving a well-formed SRT file in a directory and b) load this file into the player? The SRT format is really simple, so a little code-stripping with the mentioned files, should enable me to pass a usable format to the player: [B]Take this format[/B] [B]And convert it to this format[/B] But I need to save it locally and load it into the player... :S [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
SRT subtitles in XML-format (HeadWeb plugin dev.)
Contact us
RSS
Top
Bottom