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 2
Plugin Development
TVMosaic Provider for MP2
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="Brownard" data-source="post: 1287914" data-attributes="member: 48291"><p>[USER=48495]@morpheus_xx[/USER] I had a go at starting to implement a ResourceProvider and MetadataExtractor to access and import the recordings through the API. It basically works. I pushed to a new branch <a href="https://github.com/MediaPortal/MediaPortal-2/tree/EXP_MP2-883_TvMosaicClient_2.4_With_MDE" target="_blank">here</a>.</p><p></p><p>There are still a few open points:</p><ul> <li data-xf-list-type="ul">The TvMosaic IP and port aren't available on the server...yet, so I've just hardcoded some values <a href="https://github.com/MediaPortal/MediaPortal-2/commit/64c14b9b6621631883cd00c6814ab72439a4b4a6#diff-399edd478bcb671020a00917c87232700d386a59dd83090e01be31289b0ebbc6R43-R44" target="_blank">here</a> for now. When testing you'll obviously need to update those if necessary. Ultimately isn't it probably best if these are stored on the server anyway so each client doesn't have to be configured individually?</li> <li data-xf-list-type="ul">I set the mime type of the recordings to LiveTvMediaItem.MIME_TYPE_TV_STREAM as a quick and dirty solution to test playback on the client, this uses the live TV stream player as that already had support for playing back from a url. This player expects a live TV stream though so has a few issues but playback basically works</li> <li data-xf-list-type="ul">Some more metadata can probably be imported, e.g. thumbnails and I'm not sure if I interpreted the times and durations correctly</li> <li data-xf-list-type="ul">Currently the share has to be added manually in the usual way through Add Media Source, you'll see a new provider there for TvMosaic when selecting what type of share to add which will allow you to add a recordings 'directory', then you'll need to select Video as category. However there doesn't seem to be an easy way to trigger a reimport when a recording gets added or deleted beyond adding some sort of polling...which might mean just adding custom recording screens that access the API directly might be better</li> </ul></blockquote><p></p>
[QUOTE="Brownard, post: 1287914, member: 48291"] [USER=48495]@morpheus_xx[/USER] I had a go at starting to implement a ResourceProvider and MetadataExtractor to access and import the recordings through the API. It basically works. I pushed to a new branch [URL='https://github.com/MediaPortal/MediaPortal-2/tree/EXP_MP2-883_TvMosaicClient_2.4_With_MDE']here[/URL]. There are still a few open points: [LIST] [*]The TvMosaic IP and port aren't available on the server...yet, so I've just hardcoded some values [URL='https://github.com/MediaPortal/MediaPortal-2/commit/64c14b9b6621631883cd00c6814ab72439a4b4a6#diff-399edd478bcb671020a00917c87232700d386a59dd83090e01be31289b0ebbc6R43-R44']here[/URL] for now. When testing you'll obviously need to update those if necessary. Ultimately isn't it probably best if these are stored on the server anyway so each client doesn't have to be configured individually? [*]I set the mime type of the recordings to LiveTvMediaItem.MIME_TYPE_TV_STREAM as a quick and dirty solution to test playback on the client, this uses the live TV stream player as that already had support for playing back from a url. This player expects a live TV stream though so has a few issues but playback basically works [*]Some more metadata can probably be imported, e.g. thumbnails and I'm not sure if I interpreted the times and durations correctly [*]Currently the share has to be added manually in the usual way through Add Media Source, you'll see a new provider there for TvMosaic when selecting what type of share to add which will allow you to add a recordings 'directory', then you'll need to select Video as category. However there doesn't seem to be an easy way to trigger a reimport when a recording gets added or deleted beyond adding some sort of polling...which might mean just adding custom recording screens that access the API directly might be better [/LIST] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
TVMosaic Provider for MP2
Contact us
RSS
Top
Bottom