Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

play mpd #78

Closed
wants to merge 3 commits into from
Closed

play mpd #78

wants to merge 3 commits into from

Conversation

mkorganashvili
Copy link

+Changed user agent to Android (ios gets m3u8 adaptive streaming and it is not supported by kodi)
+Inclueded script.module.inputstreamhelper to make it easy to install inputstream/widevine libraries.
+Made some changes in favitems to play live games.

Tested on Kodi 18 Windows (works fine) and Kodi 17.6 LibreELEC (plays well, elapsed time is always 0)

@ivankokan
Copy link
Contributor

Do you maybe know what are the differences between inputstream.adaptive and inputstreamhelper you used? Have you tried with inputstream.adaptive?

@mkorganashvili
Copy link
Author

mkorganashvili commented Mar 28, 2018

inputstream.adaptive is binary addon, installed (but disabled in most cases) by default in kodi. So I use it as well to play mpd streams.
The thing is, that, inputstream.adaptive needs to be enabled (in most cases, as i mentioned before) and also, needs additional libraries, such as widevine and etc. To make this plugin work, you have to do a lot dirty work: install/extract chrome and copy some dlls to the specific directory.
inputstreamhelper does this dirty work for you, enables inputstream.adaptive if needed, installs missing libraries and stuff. Also, if mpd is not supported, gets message and reason in normal dialog window : )

@xbrov01
Copy link

xbrov01 commented Mar 28, 2018

Hi
I can confirm that the playback works (at least for the archive games}, a BIG thank you! Kodi did install all the necessary bits and pieces (and one very large piece - Chrome OS image).
The video quality is unfortunately very poor though - I am running Kodi 17.6 on RPi2, I've built the plugin from mkorganashvili/master. I guess that the inputstream.adaptive is somehow involved in determining what bit rate should be used. Would you have any recommendation on how to configure it for the optimal performance?

Many thanks to all contributors...

@mkorganashvili
Copy link
Author

@xbrov01 hey, good to know it worked.
Quality is really poor, I have changed inputstream.adaptive settings to 1080p (you can try as well) but did not help :(
I will let you know if i find solution

@RolandasOnGithub
Copy link

@mkorganashvili Sorry for being pedantic, but why your commits has empty commit message?

@mkorganashvili
Copy link
Author

mkorganashvili commented Mar 30, 2018

@pi-iuselinux-lt my bad, next time I will not leave it empty : )

@MRLB
Copy link

MRLB commented Apr 1, 2018

With Android (Kodi 18) I only get audio for about 1 minute without Video.

@SNAPE15
Copy link

SNAPE15 commented Apr 2, 2018

any luck with getting better quality video?

@mkorganashvili
Copy link
Author

@SNAPE15 yep, you should get last commit

@SNAPE15
Copy link

SNAPE15 commented Apr 2, 2018

didnt work for me on archived game. still shows lower quality. but thank you for getting it working again.

@mkorganashvili
Copy link
Author

Are you running kodi on fullscreen?

@SNAPE15
Copy link

SNAPE15 commented Apr 2, 2018

@mkorganashvili i am running a rpi3 with libreelec on a 40inch tv (filling screen). display settings for kodi are 1920x1080p. is that what you are meaning by fullscreen?

@SNAPE15
Copy link

SNAPE15 commented Apr 2, 2018

and you are meaning the 9d30338 commit?

@mkorganashvili
Copy link
Author

@SNAPE15 did you change any of inputstream.adaptive settings?

@SNAPE15
Copy link

SNAPE15 commented Apr 5, 2018

@mkorganashvili no. tried on another rpi3 and still same. both using kodi v18 on libreelec

@mkorganashvili
Copy link
Author

I have rpi3/kodi v17 and windows/kodi v8 and for both setups quality is good

@SNAPE15
Copy link

SNAPE15 commented Apr 5, 2018

@mkorganashvili what OS are u running kodi v17 on the rpi3?

@mkorganashvili
Copy link
Author

@SNAPE15 libreelec

@SNAPE15
Copy link

SNAPE15 commented Apr 6, 2018

@mkorganashvili thanks. will try a fresh install of v17 on libreelec.

also, on live games. starts playing, after 20 seconds audio drops out. then video either keeps going or stops after another 20seconds. thoughts?
previous days games works fine. just happens with LIve games

@mkorganashvili
Copy link
Author

@SNAPE15 same for me :(
I opened issue here xbmc/inputstream.adaptive#135 and waiting for answer

maxgalbu added a commit that referenced this pull request Apr 7, 2018
@maxgalbu maxgalbu closed this Apr 7, 2018
@maxgalbu
Copy link
Owner

maxgalbu commented Apr 7, 2018

Changes are ok as of now, let's wait for the other module developer to respond

@SNAPE15
Copy link

SNAPE15 commented Apr 10, 2018

@mkorganashvili just to update you, i did a clean install on my rpi3's with libreelec and v17.6 kodi and am now getting the better quality streams on archived games. thanks.

also, looks like there is a fix for audio issue on live streams but only for v18 kodi :(

@mkorganashvili
Copy link
Author

@SNAPE15 congrats : ))

is live playable at all?

@ivankokan
Copy link
Contributor

ivankokan commented Oct 30, 2018

Hi @mkorganashvili and @maxgalbu.

I am currently working on the second issue described here: #87 (comment).

Just wanted to ask whether you find these else branches relevant anymore, should I keep them?

if '.mpd' in url:
  selected_video_url = url
else:
  # transform the url

Kind regards, Ivan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants