Jump to content
linuxserver.io

[Support] Linuxserver.io - Kodi-Headless

499 posts in this topic Last Reply

Recommended Posts

Hello,

 

I'm trying to setup kodi-headless-arm64 as DLNA server (on mini server) because minidlna unable to stream 4k movies to sony bravia tv (getting only ~25Mbps).

With normal Kodi install (on linux) with NFS mount I can get all speed I need (movie bitrate ~62Mbit/s). I have 1Gbps network.

 

I've figured out that easest way to setup kodi headless is to use host network because bridge network does not work even with all necessary port mapping.

But now there is another issue - I see all files on TV but unable to play them. I just get "Cannot play video" error. But I can play from android smartphone.

 

Smart TV can play movies over DLNA from another Kodi (installed on PC with linux) and from server when miniDLNA app is running but unable to play from kodi-headless.

 

Do anyone have any suggestions where to look on this issue?

Share this post


Link to post
2 hours ago, tradio said:

Hello,

 

I'm trying to setup kodi-headless-arm64 as DLNA server (on mini server) because minidlna unable to stream 4k movies to sony bravia tv (getting only ~25Mbps).

With normal Kodi install (on linux) with NFS mount I can get all speed I need (movie bitrate ~62Mbit/s). I have 1Gbps network.

 

I've figured out that easest way to setup kodi headless is to use host network because bridge network does not work even with all necessary port mapping.

But now there is another issue - I see all files on TV but unable to play them. I just get "Cannot play video" error. But I can play from android smartphone.

 

Smart TV can play movies over DLNA from another Kodi (installed on PC with linux) and from server when miniDLNA app is running but unable to play from kodi-headless.

 

Do anyone have any suggestions where to look on this issue?

This support thread is only for users that run unraid. As you are trying to use the kodi-headless-arm64 image, please submit an issue to the github repo or pop over to our discord. Thanks

Share this post


Link to post

just fyi, Celedhrim updated his patch to support beta1

Share this post


Link to post
1 hour ago, zoggy said:

just fyi, Celedhrim updated his patch to support beta1

just fyi, it doesn't work....

Share this post


Link to post
1 hour ago, sparklyballs said:

just fyi, it doesn't work....

good to know. went ahead and just tossed kodi on a firetv i had laying around to be the kodi-headless replacement

Share this post


Link to post

Ive got an issue that i cant resolve, hopefully you guys can tell me what dumb thing i did/did not do.

 

I have a handful of kodi boxes up and running pointing at a SQL database. I decided to setup this headless container to handle library updates but im running into an issue. All i did was setup the advancedsettings to point at the database then point sonarr at it but it doesnt update the library. In the kodi log file it says:

 

17:58:37.621 T:22745948530432 WARNING: Process directory 'smb://ip/folder/name of show' does not exist - skipping scan.

 

These folders all exist but kodi headless doesnt appear to be able to see them.  What can i do to get this up and running?

Share this post


Link to post
On 9/1/2018 at 2:20 PM, richardsim7 said:

Possibly a dumb question, but how do I install add-ons to this? Specifically 'Library Auto Update'

I would love to know the answer to this as well.  Is this possible?  I currently have a client permanently running that is set with the auto update plugin to update every couple of hours.

Edited by PureLoneWolf
extra info

Share this post


Link to post
13 minutes ago, PureLoneWolf said:

I would love to know the answer to this as well.  Is this possible?  I currently have a client permanently running that is set with the auto update plugin to update every couple of hours.

It's not possible to easily add plugins to this.

Share this post


Link to post
Just now, CHBMB said:

It's not possible to easily add plugins to this.

But possible? :)  How do you handle the updates then, manual trigger each time?

Share this post


Link to post
10 minutes ago, PureLoneWolf said:

But possible? :)  How do you handle the updates then, manual trigger each time?

It's not something we advocate nor support.  Go down this road and you're on your own I'm afraid.

Share this post


Link to post
On 10/17/2018 at 5:52 PM, PureLoneWolf said:
I would love to know the answer to this as well.  Is this possible?  I currently have a client permanently running that is set with the auto update plugin to update every couple of hours.

Assuming you just want to have kodi run an update on a schedule. You can do that with cron and curl I think it was. Just look up how to update kodi via cmd line.

 

Here it is

 

put that in user scripts and run it as frequently as you want

Edited by bnevets27

Share this post


Link to post

I have installed this on my unRaid server. My only application for this kodi instance is to be able to rip audio cds when I pop it in just like regular Kodi does.

I reckoned that I can make changes in guisettings.xml in the following section as below and it should do the trick but somehow its not ripping discs. I have the same settings on another regular kodi box and I use that to rip cds. Can anyone help?

    <audiocds>
        <autoaction>2</autoaction>
        <ejectonrip default="true">true</ejectonrip>
        <encoder>audioencoder.flac</encoder>
        <recordingpath>/var/media/Data/Music/Ripped Music/</recordingpath>
        <trackpathformat default="true">%A/%A - %B/[%N. ][%A - ]%T</trackpathformat>
        <usecddb default="true">true</usecddb>
    </audiocds>

Share this post


Link to post
3 hours ago, extremeaudio said:

I have installed this on my unRaid server. My only application for this kodi instance is to be able to rip audio cds when I pop it in just like regular Kodi does.

I reckoned that I can make changes in guisettings.xml in the following section as below and it should do the trick but somehow its not ripping discs. I have the same settings on another regular kodi box and I use that to rip cds. Can anyone help?
 


    <audiocds>
        <autoaction>2</autoaction>
        <ejectonrip default="true">true</ejectonrip>
        <encoder>audioencoder.flac</encoder>
        <recordingpath>/var/media/Data/Music/Ripped Music/</recordingpath>
        <trackpathformat default="true">%A/%A - %B/[%N. ][%A - ]%T</trackpathformat>
        <usecddb default="true">true</usecddb>
    </audiocds>

 

 

This is meant to be used to update a central kodi database, so ripping cds is not something we support. 

But did you pass through the cdrom to the container? 

  • Like 1

Share this post


Link to post

Probably easier to use something like Ripper which is designer for what you want.

  • Like 1

Share this post


Link to post

Has there been any progress on a version that works with Leia?

 

I see a tag was added but it doesn't start.

 

EDIT:

Today I checked again and the tag showed it was updated a day ago.  I deleted and re-added the docker image and it now loads up.

I guess it was updated since I tried it last.  It now seems to work.  I'll post any issues I find.

 

thanks

Edited by surge919

Share this post


Link to post
Posted (edited)

@sparklyballs

I've seen your posts on the Kodi forums.

I'm looking for some advice how to get a full kodi stripped down to a headless version.

I'm running an Armbian Stretch (Debian) Image on a BananaPi M2 Berry.

There is a Kodi available in the repository that I could install right away.

My intention is to run a headless Kodi for the DB and since resources on the BananaPi are limited, I would like to remove the overhead. Is it possible? Where should I start?

 

Edited by Fireball3

Share this post


Link to post
6 hours ago, Fireball3 said:

@sparklyballs

I've seen your posts on the Kodi forums.

I'm looking for some advice how to get a full kodi stripped down to a headless version.

I'm running an Armbian Stretch (Debian) Image on a BananaPi M2 Berry.

There is a Kodi available in the repository that I could install right away.

My intention is to run a headless Kodi for the DB and since resources on the BananaPi are limited, I would like to remove the overhead. Is it possible? Where should I start?

 

Why not run the container on your banana? 

Share this post


Link to post
4 hours ago, saarg said:

Why not run the container on your banana? 

Haven't thought about that tbh.

Need to check how to set up the docker environment or whatever is needed.

Will the banana be able to pull the docker, resource wise?

Share this post


Link to post
44 minutes ago, Fireball3 said:

Haven't thought about that tbh.

Need to check how to set up the docker environment or whatever is needed.

Will the banana be able to pull the docker, resource wise?

 

I don't know anything about your 🍌, but go to docker.com and follow the install guide there and see if arm is mentioned. 

Share this post


Link to post

The specs of the banana are similar to the RPi 2:

Quad Core ARM Cortex A7 CPU

Dual core Mali 400 MP2 GPU

1G DDR3 SDRAM

 

Share this post


Link to post

Kodi (Leia RC5) is using the database MyVideos116 and the latest docker image of this is using MyVideos113

How can the version get updated (besides waiting for the docker image to be updated)?

Share this post


Link to post
1 hour ago, surge919 said:

Kodi (Leia RC5) is using the database MyVideos116 and the latest docker image of this is using MyVideos113

How can the version get updated (besides waiting for the docker image to be updated)?

Fork the container and learn how to compile/patch Leia to be headless.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now