asciidisco / plugin.video.netflix

Inputstream based Netflix plugin for Kodi
MIT License
1.24k stars 226 forks source link

Documentation update and set 720p defaults for netflix on RPi #697

Open rob42 opened 5 years ago

rob42 commented 5 years ago

I'm submitting a ...

General information

Documentation update and set 720p defaults for netflix on RPi

Prerequisites

Description

Just installed latest OSMC, and added plugin.video.netflix, following instructions here. All went ok but I was unable to view netflix as it was extremely laggy, constantly 'buffering..'.

After checking Youtube worked ok, and looking at the router to see bandwidth I eventually discovered I needed to set Netflix max resolution to 720p, and it all worked!

Steps to Reproduce

  1. Default install of OSMC, and this plugin on RPi3B
  2. Try to watch Netflix

Expected behavior:

Please update docs with a note on setting max frame rate for RPi's, and ideally have the install script set the rate automatically

Actual behavior:

See above

Context (Environment)

OSMC and RPi3B

Installation

Operating System

Additional information on the environment

[Describe your environment a bit more detailed, are you using LibreElec f.e.]

Debug log

[Please include a link to your debug log (use something like http://sprunge.us/) or similar, please do not paste]

Other information

[e.g. detailed explanation, related issues, suggestions how to fix, links for us to have context, etc.]

Screenshots

[Please add a screenshot if that helps understanding your problem]

[You can erase any parts of this template not applicable to your Issue.]

rob42 commented 5 years ago

See #696, also relevant to bitrate setting

jakermx commented 5 years ago

I just did a Mod on 0.14.6 Try this on your version...

Languages

msgctxt "#30194" msgid "Stream Type" msgstr ""

msgctxt "#30195" msgid "Video Strem Type (Up to...)" msgstr ""

msgctxt "#30196" msgid "SD" msgstr ""

msgctxt "#30197" msgid "720p" msgstr ""

msgctxt "#30198" msgid "1080p" msgstr ""

msgctxt "#30199" msgid "4k" msgstr ""

settings.xml "Expert"

<setting id="StreamType" type="enum" label="30195" lvalues="30196|30197|30198|30199" default="0"/>

MSLv2.py load_manifest before manifest_request_data["params"]["profiles"] = profiles

streamtype = g.ADDON.getSettingInt('StreamType')
if streamtype == 0:
    filters = ['60','50','51', '40', '41','42','bpl31', 'mpl31']
elif streamtype == 1:
    filters = ['60','50','51', '40', '41','42']
elif streamtype == 2:
    filters = ['60','50','51']
elif streamtype == 3:
    filters = ['60']

filtered_profiles = [profile_to_remove for filter in filters  for profile_to_remove in profiles if filter in profile_to_remove]

requested_profiles = [profiles.remove(profile_to_remove) for profile_to_remove in filtered_profiles]
jakermx commented 5 years ago

This way RPi users dont need to change anything on InputStream Adaptive, just set the Stream Type to 720p, and the AddOn will request just DASH info upto the limit set, I ad SD, 720, 1080 and 4k options. so, it can be used by anyone.

rob42 commented 5 years ago

great thanks. Maybe note in docs for RPi users too. I'll update soon, and confirm/close this. BTW - thx for the plugin. Working pretty well for me on an RPi3B, RPi2B+ is a bit slow for the software decode. I noticed there is an android OS for the RPi, wonder if that has a hardware decode lib that could be used?

jakermx commented 5 years ago

Same performance on Android for RPi.... I have tested on Rpi2b+ and 3b+, better in 3b+, so lets wait what happen with rpi4

:)

jakermx commented 5 years ago

I would suggest to use as higher current power supply as possible.. there are a lot ofdifference when using PS with less than 2.5 Amps... I use PoE Hat on RPI3 b+, its performance is amazing, It plays some netflix stuff of 1080p.

jakermx commented 5 years ago

I use John Wick Move for the tests....

Example using SD Limitation

SetSD ViewSD

Example using 720p

Set720 View720

Example using 1080p Set1080 View1080

jakermx commented 5 years ago

Try this

https://github.com/CastagnaIT/plugin.video.netflix/tree/res_limit