.mpd
#1
Question 
Hi,

Does Kodi 17 supports .mpd format?
If yes, how can we play that in Kodi?

Regards
Reply
#2
That is a Microsoft Database file isn't it?

There is nothing to play.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#3
Its mpeg-dash file.
Reply
#4
What happens when you try?
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#5
I am not sure how to start.
Do I just send that link to player?

ie. This is the link I want to play in Kodi 17.

http://download.tsi.telecom-paristech.fr...-AV-BS.mpd

How do I start ? I am not sure.
Reply
#6
https://github.com/peak3d/inputstream.ad.../README.md

Use example 1 to create a .strm file.
Reply
#7
(2018-04-04, 08:13)jchirag Wrote: I am not sure how to start.
Do I just send that link to player?

ie. This is the link I want to play in Kodi 17.

http://download.tsi.telecom-paristech.fr...-AV-BS.mpd

How do I start ? I am not sure.
If you just want to play from Kodi Videos menu, then you create a test.strm file with the below contents and select it from Kodi videos menu
Code:
#KODIPROP:inputstreamaddon=inputstream.adaptive
#KODIPROP:inputstream.adaptive.manifest_type=mpd
http://download.tsi.telecom-paristech.fr/gpac/DASH_CONFORMANCE/TelecomParisTech/mp4-live/mp4-live-mpd-AV-BS.mpd

However if you are doing from within an addon, then to the listitem you need to add
Code:
listitem.setProperty('inputstreamaddon', 'inputstream.adaptive')
listitem.setProperty('inputstream.adaptive.manifest_type', 'mpd')
listitem.setMimeType('application/dash+xml')
listitem.setContentLookup(False)
Kodi 21RC2 Windows 10 and 11 | 21RC2 Xbox One X | 21RC2 Linux Mint Virginia XFCE | CoreELEC NO 21 nightly S905X4 aarch64
Reply
#8
Thanks will try that.

Also one more question, can I pass any header information. 
ie. X-Forwarded-For or something else ?
If so, how ?
Reply
#9
(2018-04-05, 09:29)jchirag Wrote: Thanks will try that.

Also one more question, can I pass any header information. 
ie. X-Forwarded-For or something else ?
If so, how ?
Yes you can pass headers

In STRM file, as below, any combination of headers
Code:
#KODIPROP:inputstream.adaptive.stream_headers=Referer=blah&User-Agent=Blah

And in python code as follows
Code:
listitem.setProperty('inputstream.adaptive.stream_headers', 'Referer=blah&User-Agent=Blah')
Kodi 21RC2 Windows 10 and 11 | 21RC2 Xbox One X | 21RC2 Linux Mint Virginia XFCE | CoreELEC NO 21 nightly S905X4 aarch64
Reply
#10
hi, i know its an old post, but do you have an example of how to add an x forwarded to an mpd?

wha should the header be?

thanks
Reply
#11
(2022-04-24, 17:43)markeymark Wrote: hi, i know its an old post, but do you have an example of how to add an x forwarded to an mpd?

wha should the header be?

thanks

This is how I have added

#KODIPROP:inputstreamaddon=inputstream.adaptive
#KODIPROP:inputstream.adaptive.manifest_type=mpd
#KODIPROP:inputstream.adaptive.stream_headers=X-Forwarded-For=182.77.85.84
http://xxxxxxx.mpd
Reply
#12
(2022-04-28, 13:54)jchirag Wrote:
(2022-04-24, 17:43)markeymark Wrote: hi, i know its an old post, but do you have an example of how to add an x forwarded to an mpd?

wha should the header be?

thanks

This is how I have added

#KODIPROP:inputstreamaddon=inputstream.adaptive
#KODIPROP:inputstream.adaptive.manifest_type=mpd
#KODIPROP:inputstream.adaptive.stream_headers=X-Forwarded-For=182.77.85.84
http://xxxxxxx.mpd
Thanks going to try this on my streams
Reply

Logout Mark Read Team Forum Stats Members Help
.mpd0