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

so while you were adding nfs-common i removed my movies folder and re-added with SMB and left tv as NFS.  Did a clean library from the headless webui and it still removed everything.  :P

 

there should be a disclaimer.... don't use the bloody webui....

  • Replies 660
  • Views 175.9k
  • 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

your old one worked fine, lol

your old one worked fine, lol

 

by luck more than anything...

 

the webui on kodi in general (normal, not headless) is useless and best to be avoided at all costs.

 

unfortunately it has to be enabled for this to work.....

alright, then i guess you can pull nfs-common as it doesn't add anything.  thanks for looking into it though.

i've removed the webui link from the unraid template....

 

DO NOT USE THE WEB INTERFACE FOR ANYTHING, IT'S USELESS

 

 

even on regular kodi that thing is a nightmare.

Agreed, it does tend to hang more often than not, although I'm guilty of triggering the odd library update via it when I haven't got my phone with Yatse nearby.

further testing with clean library with the following scenarios and results.

 

kodi-headless lsio version - clean library from the webui - empty database

kodi-headless sparklyballs version - clean library from the webui - empty database

 

both of the above - clean library from htpcmanager - empty database

 

second player machine in bedroom with same setup as living room player machine -- clean library -- empty database

 

player in living room (kodi instance i set sources on scanned library in) -- clean library -- no issues

 

 

in summary

 

 

DO NOT CLEAN LIBRARY FROM ANY MACHINE OTHER THAN THE ONE USED TO SCAN LIBRARY IN INITIALLY AND HAS THE SOURCES SET

i'll restore my bedroom machine to having a shared source.xml and redo the test to see if it a sources.xml issue.

i'll restore my bedroom machine to having a shared source.xml and redo the test to see if it a sources.xml issue.

 

I have sources.xml present in my userdata folder and I don't get a wiped library if that helps.

This sounds like a sources.xml mismatch to me.

 

FYI I path sub these and a couple of other configs as well. Perhaps we should work path substitution into the container and recommend that all users use it.

This sounds like a sources.xml mismatch to me.

 

FYI I path sub these and a couple of other configs as well. Perhaps we should work path substitution into the container and recommend that all users use it.

 

i too use path substitution... for sources , playlists and my rss feeds.

 

 

Sounds like its not a sources.xml issue then. Pity it reeked of one.

 

This is perhaps OT now but I also path sub favourites. One other funky thing i do is copy the textures dbase from the central source before I start each client. This is a kludge but reduces the re downloading of artwork per client to next to nil and consequently makes it pretty safe to path sub artwork again.

Sounds like its not a sources.xml issue then. Pity it reeked of one.

 

This is perhaps OT now but I also path sub favourites. One other funky thing i do is copy the textures dbase from the central source before I start each client. This is a kludge but reduces the re downloading of artwork per client to next to nil and consequently makes it pretty safe to path sub artwork again.

 

it is, i wasn't clear perhaps.

 

for the tests i ran above, i took out the lines for path sub from my advancedsettings.xml..

 

 

So I switched to smb for my mounts and just copied soruces.xml to the kodi-headless and can do a library clean now without losing everything.

So I switched to smb for my mounts and just copied soruces.xml to the kodi-headless and can do a library clean now without losing everything.

 

Did some testing on Sparkly's request this afternoon.  My shares are all in the format smb://192.168.0.1/share and i have sources.xml present in the userdata folder and this doesn't result in a library deletion.

 

If however sources.xml isn't present then bye bye data...  ;)

So I switched to smb for my mounts and just copied soruces.xml to the kodi-headless and can do a library clean now without losing everything.

 

Did some testing on Sparkly's request this afternoon.  My shares are all in the format smb://192.168.0.1/share and i have sources.xml present in the userdata folder and this doesn't result in a library deletion.

 

If however sources.xml isn't present then bye bye data...  ;)

 

it makes sense, i dunno why i never encountered this before as i did NOT have my sources.xml ever associated with any of the previous containers.

 

it weird though, if I copy sources.xml to another windows cleint and do a clean library is says it cant find the source smb://ip/tv and wants to remove the path, when obviously it should be able to hit it on the network

So I switched to smb for my mounts and just copied soruces.xml to the kodi-headless and can do a library clean now without losing everything.

 

Did some testing on Sparkly's request this afternoon.  My shares are all in the format smb://192.168.0.1/share and i have sources.xml present in the userdata folder and this doesn't result in a library deletion.

 

If however sources.xml isn't present then bye bye data...  ;)

 

it makes sense, i dunno why i never encountered this before as i did NOT have my sources.xml ever associated with any of the previous containers.

 

it weird though, if I copy sources.xml to another windows cleint and do a clean library is says it cant find the source smb://ip/tv and wants to remove the path, when obviously it should be able to hit it on the network

 

It's not some weird linux/windows backslash forward slack thing is it?

turns out the one client I was testing on was still 15.0, so maybe that's a bug on their end.  After upgrading it to 15.1 and doing a clean library with a copy of sources.xml, it worked.

  • 2 weeks later...

Hello,

 

I am giving a try to Kodi-Headless.

First thing is I couldn't log in. Didn't know what user or password to use. Finally I tried xbmc/xbmc and I got in, but the interface is pretty empty and I couldn't find any settings or parameters section.

Just to be clear, I don't know Kodi.

My only goal is to connect it to some repository that streams children shows from torrent and other sources on the internet.

Can someone put me on the right track Please?

Hello,

 

I am giving a try to Kodi-Headless.

First thing is I couldn't log in. Didn't know what user or password to use. Finally I tried xbmc/xbmc and I got in, but the interface is pretty empty and I couldn't find any settings or parameters section.

Just to be clear, I don't know Kodi.

My only goal is to connect it to some repository that streams children shows from torrent and other sources on the internet.

Can someone put me on the right track Please?

 

See my reply in your other thread, as a rule try not to post the same thing in various locations.  ;)

Thanks

  • 2 weeks later...

Hi Guys... Setting up a new unRAID server for a buddy of mine... If I use this initially, how do I add the sources for each category? TV, Movies, Music, Music Videos? If one cannot do a clean on one of the htpcs connected to TV, and there is no web interface, how does one execute a library clean?

 

Thanks,

 

h.

 

ps. Also, how do I pick which version of Kodi to use, Helix, Isengard...

Hi Guys... Setting up a new unRAID server for a buddy of mine... If I use this initially, how do I add the sources for each category? TV, Movies, Music, Music Videos? If one cannot do a clean on one of the htpcs connected to TV, and there is no web interface, how does one execute a library clean?

 

Thanks,

 

h.

 

ps. Also, how do I pick which version of Kodi to use, Helix, Isengard...

 

Well the way I do it is setup sources on a client, then you have sources.xml and paste that into your userdata folder on Unraid.  Then I think I did the initial shared database via the client, after that it just works.

 

Here's my sources.xml

<sources>
    <programs>
        <default pathversion="1"></default>
    </programs>
    <video>
        <default pathversion="1"></default>
        <source>
            <name>TV Series</name>
            <path pathversion="1">smb://192.168.0.1/TV Series/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>Movies</name>
            <path pathversion="1">smb://192.168.0.1/Movies/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>Downloads</name>
            <path pathversion="1">smb://192.168.0.1/Downloads/</path>
            <allowsharing>true</allowsharing>
        </source>
    </video>
    <music>
        <default pathversion="1"></default>
        <source>
            <name>Music</name>
            <path pathversion="1">smb://192.168.0.1/Music/</path>
            <allowsharing>true</allowsharing>
        </source>
    </music>
    <pictures>
        <default pathversion="1"></default>
    </pictures>
    <files>
        <default pathversion="1"></default>
    </files>
</sources>

Hi Guys... Setting up a new unRAID server for a buddy of mine... If I use this initially, how do I add the sources for each category? TV, Movies, Music, Music Videos? If one cannot do a clean on one of the htpcs connected to TV, and there is no web interface, how does one execute a library clean?

 

Thanks,

 

h.

 

ps. Also, how do I pick which version of Kodi to use, Helix, Isengard...

 

Well the way I do it is setup sources on a client, then you have sources.xml and paste that into your userdata folder on Unraid.  Then I think I did the initial shared database via the client, after that it just works.

 

Here's my sources.xml

<sources>
    <programs>
        <default pathversion="1"></default>
    </programs>
    <video>
        <default pathversion="1"></default>
        <source>
            <name>TV Series</name>
            <path pathversion="1">smb://192.168.0.1/TV Series/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>Movies</name>
            <path pathversion="1">smb://192.168.0.1/Movies/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>Downloads</name>
            <path pathversion="1">smb://192.168.0.1/Downloads/</path>
            <allowsharing>true</allowsharing>
        </source>
    </video>
    <music>
        <default pathversion="1"></default>
        <source>
            <name>Music</name>
            <path pathversion="1">smb://192.168.0.1/Music/</path>
            <allowsharing>true</allowsharing>
        </source>
    </music>
    <pictures>
        <default pathversion="1"></default>
    </pictures>
    <files>
        <default pathversion="1"></default>
    </files>
</sources>

 

Makes sense... but you CANNOT scan the libraary after you add the source on the client. That would be the trick.  Thanks N.!  ;)

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.