Jump to content
linuxserver.io

[Support] Linuxserver.io - Kodi-Headless

540 posts in this topic Last Reply

Recommended Posts

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....

Share this post


Link to post

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.....

Share this post


Link to post

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

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

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

Share this post


Link to post

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

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

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.

 

 

Share this post


Link to post

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.

Share this post


Link to post

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..

 

 

Share this post


Link to post

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.

Share this post


Link to post

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...  ;)

Share this post


Link to post

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

Share this post


Link to post

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?

Share this post


Link to post

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.

Share this post


Link to post

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?

Share this post


Link to post

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.  ;)

Share this post


Link to post

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...

Share this post


Link to post

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>

Share this post


Link to post

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.!  ;)

Share this post


Link to post

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.