Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] Linuxserver.io - Kodi-Headless

Featured Replies

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?

  • Replies 660
  • Views 176.5k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Living Legend
    Living Legend

    This docker does function.  Read my last couple posts to see a little issue that I had to overcome to make sure you don't run into it as well.   What were you looking to get out of it?  If y

  • I think you've missed the point of what this does.

  • Pretty sure that linuxserver no longer supports this app at all.   BUT, from what I remember years ago you had to initially set up how the library gets scanned etc on another "real" Kodi ins

Posted Images

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

just fyi, Celedhrim updated his patch to support beta1

1 hour ago, zoggy said:

just fyi, Celedhrim updated his patch to support beta1

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

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

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

  • 3 weeks later...

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?

  • 2 weeks later...
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

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.

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?

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.

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

  • 2 months later...

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>

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? 

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

Ditched the idea and using ripper. I didnt know about it. Thanks !

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

  • 2 weeks later...

@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

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? 

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?

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. 

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

 

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)?

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.

  • 3 weeks later...

Edit:

Ignore it, I used the wrong container. (x86 instead of the arm) 🤡

 

Now the container is running and the log shows this:

Warning: MHD_USE_THREAD_PER_CONNECTION must be used only with MHD_USE_INTERNAL_POLLING_THREAD. Flag MHD_USE_INTERNAL_POLLING_THREAD was added. Consider setting MHD_USE_INTERNAL_POLLING_THREAD explicitly.

Any advice where to set that flag explicitely?

 

Finally found some time to read through the docker guides and managed to pull the kodi-headless from linuxserverio.

This is what I get when trying to start the docker.

root@bananapim2:/opt/appdata/kodi# docker start kodi-headless
kodi-headless
root@bananapim2:/opt/appdata/kodi# docker logs kodi-headless
standard_init_linux.go:207: exec user process caused "exec format error"
standard_init_linux.go:207: exec user process caused "exec format error"

The inspect output is attached.

Need help with this.

 

Edited by Fireball3

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.