Kodi 18 - LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)

  Thread Rating:
  • 6 Vote(s) - 4.83 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
doldi Offline
Fan
Posts: 324
Joined: Jan 2014
Reputation: 2
Location: EUROPA
Post: #1981
Thanks Milhouse.
ok, have now install #606 on a RPi2 with hifiberryDAC and there absolut no problem.
I'm playing MTV.de since 15 minutes, perfect.

What can i do to help / indentify this Addon incompatibility?

i think, my pi's have all the same Addons (one backup folder btw)
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,877
Joined: Jan 2011
Reputation: 642
Post: #1982
(2017-06-07 21:41)doldi Wrote:  What can i do to help / indentify this Addon incompatibility?

i think, my pi's have all the same Addons (one backup folder btw)

The usual process is to start with a "clean" .kodi folder and install add-ons one at a time until you install the add-on that triggers the problem.

visualization.shadertoy is one such addon - it will crash Kodi once music starts to play. There are likely to be several add-ons that trigger this kind of crash issue with the updated settings system.

Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
(This post was last modified: 2017-06-07 21:48 by Milhouse.)
find quote
Jemus Offline
Junior Member
Posts: 40
Joined: Nov 2015
Reputation: 0
Post: #1983
(2017-06-07 16:03)Jemus Wrote:  Thanks the answers, will try that later and report back.

Deleted the samb.conf via WinSCP, rebooted and I have smb access back again.
Thanks!
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,877
Joined: Jan 2011
Reputation: 642
Post: #1984
New LibreELEC.tv Leia build #0607: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.11.4 #1 Wed Jun 7 21:49:45 BST 2017 armv6l GNU/Linux

# vcgencmd version
May 30 2017 15:27:20
Copyright (c) 2012 Broadcom
version b8cdd5ae76f39d9f353dfa8fb48bf7e33b74903c (clean) (release)

# lsb_release
LibreELEC (Milhouse) - Version: devel-20170607213651-#0607-g154a850 [Build #0607]

# Kodi version
(18.0-ALPHA1 Git:423072a). Platform: Linux ARM 32-bit

Based on tip of LibreELEC.tv master (154a8509, changelog) and tip of XBMC master (79519e05, changelog) with the following modifications: Build Highlights:
  1. New 4.11.4 kernel
  2. More addon changes
  3. Fix dirty regions
  4. [settings] move to C++11
  5. [webserver] dont allow jsonrpc over http get
Build Details:
  1. LibreELEC.tv:
    • add intel_nuc_led control (PR:1655, 3 commits, 3 files changed)
  2. XBMC:
    • VideoPlayer: Fix uninitialized variables (PR:12084, 3 commits, 31 files changed)
    • [addons] move AddonProps to new CAddonInfo class (PR:12253, 1 commit, 58 files changed)
    • [PVR] Add Info support to recently played channel widget. (PR:12254, 1 commit, 3 files changed)
    • Use http cookies AVOption (instead of sticking cookies in the header AVOption) (PR:12257, 1 commit, 1 file changed)
    • Dont force dirtyRegions on parent controls (PR:12255, 1 commit, 4 files changed)
    • [addons] add callback function to get the MD5 digest of the given text (PR:12204, 1 commit, 4 files changed)
    • RBP: Add missing TimingConstants.h includes (PR:12263, 1 commit, 7 files changed)
    • [settings] move to C++11 (PR:12251, 2 commits, 64 files changed)
  3. newclock5:
    • New commits in this build:
      • MMAL: Use gmem for buffer size (07ff6975)
      • MMAL: Remove unused decoder parameter (011351ed)
    • Commits no longer in build:
      • fixup: Fix missing codec info (f1d6488d)
  4. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] PR:1674: linux: update to linux-4.11.4
    • Added: [pkg] PR:12265: [webserver] dont allow jsonrpc over http get

Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
find quote
kkoa Offline
Junior Member
Posts: 28
Joined: May 2015
Reputation: 0
Post: #1985
Added: [pkg] PR:12265: [webserver] dont allow jsonrpc over http get

I think this change is not good as I sometimes use JSON RPC via the webbrowser for non read-only methods which then won't work anymore.
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,877
Joined: Jan 2011
Reputation: 642
Post: #1986
(2017-06-08 01:30)kkoa Wrote:  Added: [pkg] PR:12265: [webserver] dont allow jsonrpc over http get

I think this change is not good as I sometimes use JSON RPC via the webbrowser for non read-only methods which then won't work anymore.

The problem is that using GET requests to modify data is a security risk as any website open in your browser could silently execute a GET request against a local Kodi web server (assuming it knows the IP address and port). The original discussion started here (see "Security concerns" section). If you have concerns you'd best post a comment in the PR while it's still open.

Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
find quote
kkoa Offline
Junior Member
Posts: 28
Joined: May 2015
Reputation: 0
Post: #1987
(2017-06-08 01:43)Milhouse Wrote:  
(2017-06-08 01:30)kkoa Wrote:  Added: [pkg] PR:12265: [webserver] dont allow jsonrpc over http get

I think this change is not good as I sometimes use JSON RPC via the webbrowser for non read-only methods which then won't work anymore.

The problem is that using GET requests to modify data is a security risk as any website open in your browser could silently execute a GET request against a local Kodi web server (assuming it knows the IP address and port). The original discussion started here (see "Security concerns" section). If you have concerns you'd best post a comment in the PR while it's still open.

Yeah, I read the PR. Doubt they would change it just for me even though I have never heard of anybody hijacking Kodi. For extended security one could just set a password for the web interface.

Wouldn't it still be possbile to make a form targetting a frame to hijack Kodi with a post request then?
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,877
Joined: Jan 2011
Reputation: 642
Post: #1988
(2017-06-08 02:43)kkoa Wrote:  Wouldn't it still be possbile to make a form targetting a frame to hijack Kodi with a post request then?

Not entirely sure.

Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
find quote
MikeKL Offline
Fan
Posts: 436
Joined: Aug 2014
Reputation: 56
Post: #1989
Ref ongoing add-on settings changes, is there any information centrally available in forum for example that clarifies/summarises what will need to change within add-on in order to be future proof?
(Did quick search and nothing obvious pops up)

Been using TVGuide Full screen and believe #0604 onwards creates issues https://forum.kodi.tv/showthread.php?tid...pid2599754

rPi 3, SanDisk Ultra 8Gb SD & Milhouse LE TestBuild (Kodi 18) -> Onkyo AV -> Philips 42" LCD TV
find quote
kkoa Offline
Junior Member
Posts: 28
Joined: May 2015
Reputation: 0
Post: #1990
(2017-06-08 03:16)Milhouse Wrote:  
(2017-06-08 02:43)kkoa Wrote:  Wouldn't it still be possbile to make a form targetting a frame to hijack Kodi with a post request then?

Not entirely sure.

I don't see any reason why it wouldn't work.

Code:
<form action="http://libreelec:8080/jsonrpc?[RPC-REQUEST]" method="post"></form>

Then submit it via js and you'd have the same insecurity as before.
(This post was last modified: 2017-06-08 15:25 by kkoa.)
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,877
Joined: Jan 2011
Reputation: 642
Post: #1991
(2017-06-08 15:24)kkoa Wrote:  I don't see any reason why it wouldn't work.

Code:
<form action="http://libreelec:8080/jsonrpc?[RPC-REQUEST]" method="post"></form>

Then submit it via js and you'd have the same insecurity as before.

Try it, but you'll need the js to be hosted on a different domain. Raise the issue on the PR?

Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
find quote
doldi Offline
Fan
Posts: 324
Joined: Jan 2014
Reputation: 2
Location: EUROPA
Lightbulb  RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)
Post: #1992
(2017-06-07 21:48)Milhouse Wrote:  
(2017-06-07 21:41)doldi Wrote:  What can i do to help / indentify this Addon incompatibility?

i think, my pi's have all the same Addons (one backup folder btw)

The usual process is to start with a "clean" .kodi folder and install add-ons one at a time until you install the add-on that triggers the problem.

visualization.shadertoy is one such addon - it will crash Kodi once music starts to play. There are likely to be several add-ons that trigger this kind of crash issue with the updated settings system.

Hi Milhouse - have deleted some unused Addons - don't need them - useless for me in germany,
and now the rpi3 works also with #607.

THX
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,877
Joined: Jan 2011
Reputation: 642
Post: #1993
Thanks @doldi - it's just going to take a while for all the kinks to be ironed out of the current changes, hope you can bear with it. Maybe worth trying again once more settings changes land that fix the current issues.

Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
find quote
MMXT Offline
Junior Member
Posts: 39
Joined: Jan 2017
Reputation: 0
Post: #1994
Hi there,
Is this a known bug? When I today tried to create/save a playlist and then try to open it via music -> playlists, there are no playlists listed but a popup telling me "no connection to network server"
(recognized and tried several times on latest build, but I cannot tell when this issue started because I didn't create playlists for quite a long time)

Btw Thx for implementing the recent hevc optimizations. I now am able to watch 1080p hevc content with long duration (full length movies) without running into overheating problems Smile
(This post was last modified: 2017-06-08 22:40 by MMXT.)
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,877
Joined: Jan 2011
Reputation: 642
Post: #1995
(2017-06-08 22:19)MMXT Wrote:  Hi there,
Is this a known bug? When I today tried to create/save a playlist and then try to open it via music -> playlists, there are no playlists listed but a popup telling me "no connection to network server"
(recognized and tried several times on latest build, but I cannot tell when this issue started because I didn't create playlists for quite a long time)

Can you identify the build when this issue started?

I'm not that familiar with playlists but I've just queued up two tracks (from my nfs:// music library), clicked on "Go to Playlist" from the "blade" menu and then clicked on "Save" - after giving it the (unimaginative) name of "aaaa" it has created a playlist file called "aaaa.m3u".

I can see this file listed in Music > Playlists:
[Image: bxC4Jpo.jpg]

Opening this file loads the playlist without a problem.

If you're using a different method can you document each step? Also, a debug log might be useful.

Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
find quote
Post Reply