Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Sharing folder between Openelec /Kodi

Off-Topic discussions about science, technology, and non Debian specific topics.
Post Reply
Message
Author
User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Sharing folder between Openelec /Kodi

#1 Post by bester69 »

I discovered Openelec/Libreelec yesterday, and I have to say that they performance better than kodi in debian,
and for lowspec computers that doesnt run very well in 1080p, Its a great way to go..

I installed Openelec in another partition (very easy), but what i wanted, was to be able to share .kodi folder, so i was able to run kodi since debian, or Openlec
indistinctly having available same addon, setting, profile, favorites..

Finally it was possible, and im very satisfied. I can use both of them indistinctly; the steps i followed were:
1- Almost same kodi version: Kodi17.4 (debian) kodi17.5 (Libreelec)
2- Adding Libreelec OE_DATA partition to fstab, and linking .kodi in home, so kodi can read it.
3- Assign user permission to kodi home with autostart in debian; (everytime Libreelec runs kodi, it changes owners files to root)
(autostart.sh)

Code: Select all

sudo chown myuser:myuser -R /home/myuser/.kodi/
sudo chown myuser:myuser -R /home/myuser/AcestreamDownload/
4- I migrated Libreelec OE_DATA partition to btrfs, so I can take snapshots with each change i commit.

I would say the compatibility its 99%, I just gave into some trouble with acestream-engine with Plexus-addon., under libreelec doesnt work, and cant be installed in the same way as debian.

There has been times, some movies didint play well or stopped in the middle with kodi and debian, Now when that happend again, I will be able to finish the movie by booting in Librelec and resume the streaming. :)
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Sharing folder between Openelec /Kodi

#2 Post by debiman »

tl;dr
sharing folders between 2 distros is fairly standard procedure.
just mount the partition in question.

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: Sharing folder between Openelec /Kodi

#3 Post by bester69 »

debiman wrote:tl;dr
sharing folders between 2 distros is fairly standard procedure.
just mount the partition in question.
Ok, Im sharing the setting folder between two differents version of Kodi (17.4 and 17.5), im not sure thats very standard, but kodi seems to manage it well. Thats better than having to be syncing folders...
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
acewiza
Posts: 357
Joined: 2013-05-28 12:38
Location: Out West

Re: Sharing folder between Openelec /Kodi

#4 Post by acewiza »

I don't get why you want 2 Kodi's. I run Kodi on a Raspberry Pi2 and it works great. Upgrade or different things are tried by simply DD'ing another microSD and away we go. That is about the last thing I would be worried about backing up.
Nobody would ever ask questions If everyone possessed encyclopedic knowledge of the man pages.

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: Sharing folder between Openelec /Kodi

#5 Post by bester69 »

acewiza wrote:I don't get why you want 2 Kodi's. I run Kodi on a Raspberry Pi2 and it works great. Upgrade or different things are tried by simply DD'ing another microSD and away we go. That is about the last thing I would be worried about backing up.
I dont have a raspberry, im using my laptop by port VGA, So I've both, libreelec and kodi installed in it.. Im wondering what's better to use as Multimedia center, a decent closed cover old laptop or a cheap raspberry. I think I would use the first one ..
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
acewiza
Posts: 357
Joined: 2013-05-28 12:38
Location: Out West

Re: Sharing folder between Openelec /Kodi

#6 Post by acewiza »

If it's just Kodi for music, go Raspberry. But they are certainly not powerhouses. If you want good video streaming and web surfing, go with the laptop. I'm still waiting to see if the next generation of Pi-type devices is up to the task of full HTPC work.
Nobody would ever ask questions If everyone possessed encyclopedic knowledge of the man pages.

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Sharing folder between Openelec /Kodi

#7 Post by pylkko »

The last poster here said that using an RPi for video streaming is not good. I don't understand this way of thinking. The networking can easily do 100 megabit/second and the massive videocore can play 1080p video no problem. Any format better than 1080p is either impossible or possible to make half-work with hacks. Obviously some commercial streaming services that only support x86/windows or require embedded digital rights management chips in your motherboard wont work. Also, if you are using it for only music, maybe try using one of the many software projects dedicated to music rather than Kodi.

On the topic of old laptop vs. RPi. The RPi has the advantage that it consumes very little power and is fanless. The laptop may have the advantage that perhaps you already have an old one to repurpose.

User avatar
acewiza
Posts: 357
Joined: 2013-05-28 12:38
Location: Out West

Re: Sharing folder between Openelec /Kodi

#8 Post by acewiza »

pylkko wrote:The last poster here said that using an RPi for video streaming is not good. I don't understand this way of thinking. The networking can easily do 100 megabit/second and the massive videocore can play 1080p video no problem.
This may all be true, but does not explain why my RPi's performance pales in comparison to any "real" computer when tasked with browsing and streaming. In fact, it is literally useless for certain types of streaming content, depending on the source. But that is another topic...
pylkko wrote:Also, if you are using it for only music, maybe try using one of the many software projects dedicated to music rather than Kodi.
Your knowledge of anyone else's use case is limited and irrelevant in this context. The discussion was focused on Kodi, specifically. Please start a new thread if you wish to go off topic.
Nobody would ever ask questions If everyone possessed encyclopedic knowledge of the man pages.

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Sharing folder between Openelec /Kodi

#9 Post by pylkko »

acewiza wrote:Your knowledge of anyone else's use case is limited and irrelevant in this context. The discussion was focused on Kodi, specifically. Please start a new thread if you wish to go off topic.
Oh please!? So, you are really chastising me for "not staying on topic and start a new thread", while you yourself are posting about Raspberry pi's in this thread?? Not one of your posts has to do with the original issue! Newsflash: this was not originally about Raspberry pi, OP does not even have one...

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: Sharing folder between Openelec /Kodi

#10 Post by bester69 »

Could you make work acestream in libreelec/Openelec??,
http://wiki.acestream.org/wiki/index.php/Download

I downloaded acestreamengine 3.1 and copyed in plexus folder:
.kodi/userdata/addon_data/program.plexus/acestream/

It seems to be launchinig it, but the stream doesnt start never, when i boot in debian and use kodi, It works.. :(
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: Sharing folder between Openelec /Kodi

#11 Post by bester69 »

A good thing of using Libreelec is to enjoy Mesa 17.3, in stretch Mesa is still in 13.0.6.
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Sharing folder between Openelec /Kodi

#12 Post by pylkko »

but Mesa changed their versioning scheme, so that it used to be verisoned in consequent numbers, and from this year on they will use the version name of the year, so 2017 = 17.0 ->, 2018 = 18.0 -> and so on. Version 13.1 became 17.0 after this change. So this is still the same major version (13=17).

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Sharing folder between Openelec /Kodi

#13 Post by debiman »

pylkko wrote:but Mesa changed their versioning scheme, so that it used to be verisoned in consequent numbers, and from this year on they will use the version name of the year, so 2017 = 17.0 ->, 2018 = 18.0 -> and so on. Version 13.1 became 17.0 after this change. So this is still the same major version (13=17).
this is fun.
source?

this one's just a "maybe".

Collinson
Posts: 1
Joined: 2017-11-06 09:42

Re: Sharing folder between Openelec /Kodi

#14 Post by Collinson »

bester69 wrote:but Mesa changed their versioning scheme, so that it used to be verisoned in consequent numbers, and from this year on they will use the version name of the year, so 2017 = 17.0 ->, 2018 = 18.0 -> and so on. Version 13.1 became 17.0 after this change. So this is still the same major version (13=17).
I'm having the same issue. It works perfectly fine on Kodi. What could be the problem?
Last edited by Collinson on 2021-11-03 14:28, edited 2 times in total.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Sharing folder between Openelec /Kodi

#15 Post by debiman »

it's never exactly the same.
if you're serious about solving your problem then start a dedicated thread, providing sufficient information & first troubleshooting in your op.

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: Sharing folder between Openelec /Kodi

#16 Post by bester69 »

Installation - ACESTREAMENGINE LIBREELEC:
Collinson wrote:.....
I'm having the same issue. It works perfectly fine on Kodi. What could be the problem?
It took me much time to figure it out, and i had to resolve it on my own:



If you go to dowload page, you'll see there are some dependecy packages you need:
http://wiki.acestream.org/wiki/index.php/Install_Ubuntu
4. Install dependencies:
sudo apt-get install python-setuptools
sudo apt-get install python-m2crypto
sudo apt-get install python-apsw
Well, you'll need furthermore some addictional packages dependecies; in ,my case the packages i Need were (I picked trusty client):

Code: Select all

acestream_3.1.16_ubuntu_14.04_x86_64.tar.gz
- python-setuptools_3.3-1ubuntu1_all.deb --> python-pkg-resources_3.3-1ubuntu1_all.deb
- python-m2crypto_0.21.1-3ubuntu5_amd64.deb
- python-apsw_3.8.2-r1-1ubuntu1_amd64.deb --> libsqlite3-0_3.8.2-1ubuntu2.1_amd64.deb
And also asked for:
- libssl1.0.0_1.0.1f-1ubuntu2.23_amd64.deb


You will need to use ssh, to debug launching "start-engine --client-console" until you get it to work;
- you have to uncompress the acestreamengin in this forlder:
/storage/.kodi/userdata/addon_data/program.plexus/acestream/

- you have to uncompress the deb's in acestream's lib forlder:
/storage/.kodi/userdata/addon_data/program.plexus/acestream/lib/
The structure has to look similar to the picture, watch out parents directories:

Image

Here i pass you a ls:

Code: Select all

acestreamengine
apsw-3.8.2_r1.egg-info
apsw.so
beautifulsoup4-4.5.3-py2.7.egg
bitarray-0.8.1-py2.7-linux-x86_64.egg
blist-1.3.4-py2.7-linux-x86_64.egg
easy_install.py
enum34-1.1.6-py2.7.egg
futures-3.0.5-py2.7.egg
GeoIP-1.3.2-py2.7-linux-x86_64.egg
html5lib-0.999999999-py2.7.egg
iso8601-0.1.10-py2.7.egg
libavcodec.so
libavcodec.so.56
libavcodec.so.56.1.100
libavformat.so
libavformat.so.56
libavformat.so.56.4.101
libavutil.so
libavutil.so.54
libavutil.so.54.7.100
libcrypto.so.1.0.0
libfdk-aac.so
libfdk-aac.so.1
libfdk-aac.so.1.0.0
libmp3lame.so
libmp3lame.so.0
libmp3lame.so.0.0.0
libsqlite3.so.0
libsqlite3.so.0.8.6
libssl.so.1.0.0
libswresample.so
libswresample.so.1
libswresample.so.1.1.100
libx264.so
libx264.so.148
lxml-3.7.2-py2.7-linux-x86_64.egg
M2Crypto
M2Crypto-0.21.1.egg-info
_markerlib
miniupnpc-2.0-py2.7-linux-x86_64.egg
netifaces-0.10.5-py2.7-linux-x86_64.egg
opengraph-0.5-py2.7.egg
openssl-1.0.0
pkg_resources.py
pkg_resources.pyc
pkg_resources.pyo
protobuf-3.0.0b2-py2.7.egg
psutil-1.2.1-py2.7-linux-x86_64.egg
pycompat27.so
repoze.lru-0.6-py2.7.egg
requests-2.12.5-py2.7.egg
Routes-2.4.1-py2.7.egg
setuptools
setuptools-3.3.egg-info
setuptools.pth
singledispatch-3.4.0.3-py2.7.egg
six-1.10.0-py2.7.egg
webencodings-0.5-py2.7.egg
websocket_client-0.40.0-py2.7.egg
xmltodict-0.9.2-py2.7.egg


Then, whithin Plexus settings, you must use :
Type Acestream: Local
Command Acestream: Use my own
Acestream Command alternative: /storage/trusty/start-engine --client-console
(ln -s /storage/.kodi/userdata/addon_data/program.plexus/acestream/ /storage/trusty)--> Create a link to shorten path withn plexus .



-
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: Sharing folder between Openelec /Kodi

#17 Post by bester69 »

I also did the following script as a workaround for the load of the kodi's default display, (black screen when try VGA switch without booting pluged)
It gives you 25seconds to go to setting, changed and saved display before kodi restart, and picked the display output.

/storage/.config/autostart.sh

Code: Select all

xrandr --output LVDS1 --off
sleep 1
xrandr --output VGA1 --mode 1360x768 --primary && killall kodi.bin &
sleep 25 && xrandr --output LVDS1 --auto && sleep 1 && killall kodi.bin &
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Sharing folder between Openelec /Kodi

#18 Post by Wheelerof4te »

Wow, man...you became such an expert of Linux. I mean, you did bork your system beyond oblivion, but damn! Learning by breaking things, you should be running Sid.

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: Sharing folder between Openelec /Kodi

#19 Post by bester69 »

Wheelerof4te wrote:Wow, man...you became such an expert of Linux. I mean, you did bork your system beyond oblivion, but damn! Learning by breaking things, you should be running Sid.
This is Librelec, we're not breaking anything here, furthermore libreelec is only readed filesystem, we're installing in flexus's local folder.. I just installed kodi's ubuntu v17.6 with zesty branh. In my experience Kodi doesnt break anything at all in debian..so this is not like a kind of frankendebian.. there's not big deal in installing two ot three not debian packages as long as you're aware of all of them. dont you think so Wheelerof4te? .I think my debian's its pretty stable, i install very few things in it.. my own standard installation is very consolidated... we¡re not doing great science here. lol.
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

Post Reply