XBMC/KODI-Headless Docker


Recommended Posts

Like Ubuntu, arch Debian,  etc?

 

not really, i can't think of an analogy that suits here, i'm not a natural teacher type, lol.

 

the image you build with the dockerfile, you choose what os you wish to use, install your dependencies and app (s) and then it becomes like a static base ready to be used by a container.

 

 

Link to comment
  • Replies 205
  • Created
  • Last Reply

Top Posters In This Topic

Like Ubuntu, arch Debian,  etc?

 

not really, i can't think of an analogy that suits here, i'm not a natural teacher type, lol.

 

the image you build with the dockerfile, you choose what os you wish to use, install your dependencies and app (s) and then it becomes like a static base ready to be used by a container.

 

think of it this way, again this is in general terms

 

the image is everything you would do in linux etc... to get your chosen apps installed, the container is the bit where you would run them.

Link to comment

I grabbed this XBMC build from docker... https://registry.hub.docker.com/u/sparklyballs/xbmc-headless/

I want to use it for updating my mariadb library, couple questions though.

 

What port does this container sit on, 8089, 80, 8080....?

 

Also what is the user id and password, xbmc:xbmc?

 

are you running unraid 6 later than b10 ?

Yes I'm running b12.

 

 

load it from my template, the password/user for the webui/updates etc is xbmc/xbmc

 

and the gotham version is on port 8089 and the helix version default at 8080

Link to comment

I grabbed this XBMC build from docker... https://registry.hub.docker.com/u/sparklyballs/xbmc-headless/

I want to use it for updating my mariadb library, couple questions though.

 

What port does this container sit on, 8089, 80, 8080....?

 

Also what is the user id and password, xbmc:xbmc?

 

are you running unraid 6 later than b10 ?

Yes I'm running b12.

 

 

load it from my template, the password/user for the webui/updates etc is xbmc/xbmc

 

and the gotham version is on port 8089 and the helix version default at 8080

The template in the first post, on here?

Link to comment

I grabbed this XBMC build from docker... https://registry.hub.docker.com/u/sparklyballs/xbmc-headless/

I want to use it for updating my mariadb library, couple questions though.

 

What port does this container sit on, 8089, 80, 8080....?

 

Also what is the user id and password, xbmc:xbmc?

 

are you running unraid 6 later than b10 ?

Yes I'm running b12.

 

 

load it from my template, the password/user for the webui/updates etc is xbmc/xbmc

 

and the gotham version is on port 8089 and the helix version default at 8080

The template in the first post, on here?

 

oops, forgot the url

 

http://lime-technology.com/forum/index.php?topic=37209.0

Link to comment

I grabbed this XBMC build from docker... https://registry.hub.docker.com/u/sparklyballs/xbmc-headless/

I want to use it for updating my mariadb library, couple questions though.

 

What port does this container sit on, 8089, 80, 8080....?

 

Also what is the user id and password, xbmc:xbmc?

 

are you running unraid 6 later than b10 ?

Yes I'm running b12.

 

 

load it from my template, the password/user for the webui/updates etc is xbmc/xbmc

 

and the gotham version is on port 8089 and the helix version default at 8080

The template in the first post, on here?

 

oops, forgot the url

 

http://lime-technology.com/forum/index.php?topic=37209.0

 

Thanks I'll give it a go.

Link to comment

I grabbed this XBMC build from docker... https://registry.hub.docker.com/u/sparklyballs/xbmc-headless/

I want to use it for updating my mariadb library, couple questions though.

 

What port does this container sit on, 8089, 80, 8080....?

 

Also what is the user id and password, xbmc:xbmc?

 

are you running unraid 6 later than b10 ?

Yes I'm running b12.

 

 

load it from my template, the password/user for the webui/updates etc is xbmc/xbmc

 

and the gotham version is on port 8089 and the helix version default at 8080

The template in the first post, on here?

 

oops, forgot the url

 

http://lime-technology.com/forum/index.php?topic=37209.0

 

 

Still not working for me, notifications fail.

Also the web GUI does not load, I get a blank page.

I'm trying to use the 13.2 headless.

 

/root/.xbmc is mapped to my XBMC folder where the userdata folder and others sit, inside the userdata I have both xml files, sources and advancedsettigs.

 

I know my sql works because I have XBMC 13.2 pulling info from it.

I can also confirm that these work because my XBMC HTPC attaches to the database and maps the right shares.

Link to comment

I grabbed this XBMC build from docker... https://registry.hub.docker.com/u/sparklyballs/xbmc-headless/

I want to use it for updating my mariadb library, couple questions though.

 

What port does this container sit on, 8089, 80, 8080....?

 

Also what is the user id and password, xbmc:xbmc?

 

are you running unraid 6 later than b10 ?

Yes I'm running b12.

 

 

load it from my template, the password/user for the webui/updates etc is xbmc/xbmc

 

and the gotham version is on port 8089 and the helix version default at 8080

The template in the first post, on here?

 

oops, forgot the url

 

http://lime-technology.com/forum/index.php?topic=37209.0

 

 

Still not working for me, notifications fail.

Also the web GUI does not load, I get a blank page.

I'm trying to use the 13.2 headless.

 

/root/.xbmc is mapped to my XBMC folder where the userdata folder and others sit, inside the userdata I have both xml files, sources and advancedsettigs.

 

I know my sql works because I have XBMC 13.2 pulling info from it.

I can also confirm that these work because my XBMC HTPC attaches to the database and maps the right shares.

 

the docker provides its own advancedsettings.xml , personally i find it best to start with a blank slate.

save out your sources.xml, backup everything else to another folder just in case and start from scratch clean folder.

 

enter the sql setup in the template, don't use hostnames or localhost, use the ip address of your mariadb/mysql host.

Link to comment

I grabbed this XBMC build from docker... https://registry.hub.docker.com/u/sparklyballs/xbmc-headless/

I want to use it for updating my mariadb library, couple questions though.

 

What port does this container sit on, 8089, 80, 8080....?

 

Also what is the user id and password, xbmc:xbmc?

 

are you running unraid 6 later than b10 ?

Yes I'm running b12.

 

 

load it from my template, the password/user for the webui/updates etc is xbmc/xbmc

 

and the gotham version is on port 8089 and the helix version default at 8080

The template in the first post, on here?

 

oops, forgot the url

 

http://lime-technology.com/forum/index.php?topic=37209.0

 

 

Still not working for me, notifications fail.

Also the web GUI does not load, I get a blank page.

I'm trying to use the 13.2 headless.

 

/root/.xbmc is mapped to my XBMC folder where the userdata folder and others sit, inside the userdata I have both xml files, sources and advancedsettigs.

 

I know my sql works because I have XBMC 13.2 pulling info from it.

I can also confirm that these work because my XBMC HTPC attaches to the database and maps the right shares.

 

the docker provides its own advancedsettings.xml , personally i find it best to start with a blank slate.

save out your sources.xml, backup everything else to another folder just in case and start from scratch clean folder.

 

enter the sql setup in the template, don't use hostnames or localhost, use the ip address of your mariadb/mysql host.

 

Thanks, that's what it was. Needed to start with a blank advancedsettings.xml

Link to comment

I currently have 2 XBMC devices that i use. 1 of them contains all of my media and is what my wife and I use, the other only contains cartoons/kids movies for my children to use. The last time i used a SQL instance for XBMC (2+ years ago) it wasn't really possible to have different libraries on different machines. Am i able to do that using this container?

Link to comment

I currently have 2 XBMC devices that i use. 1 of them contains all of my media and is what my wife and I use, the other only contains cartoons/kids movies for my children to use. The last time i used a SQL instance for XBMC (2+ years ago) it wasn't really possible to have different libraries on different machines. Am i able to do that using this container?

 

it's not something i have explored but i believe it would be possible with a mysql setup in this way.

 

1 movie folder contains kids-stuff and another for everything else.

 

add source of kids folder to kids machine and other folder on other machine.

 

all the library itself is in mysql, each machine just has different sources.

 

or something done with profiles, kodi forum would be a better place to ask though i feel.

Link to comment

I currently have 2 XBMC devices that i use. 1 of them contains all of my media and is what my wife and I use, the other only contains cartoons/kids movies for my children to use. The last time i used a SQL instance for XBMC (2+ years ago) it wasn't really possible to have different libraries on different machines. Am i able to do that using this container?

You could, but your best way is to pull mariadb docker container and set that up. Then use the headless xbmc instance for library updates.

 

That's how I have it setup up for for multi room instances.

 

EDIT: Do as sparklyballs suggests, have different sources set up in different rooms.

Link to comment

I currently have 2 XBMC devices that i use. 1 of them contains all of my media and is what my wife and I use, the other only contains cartoons/kids movies for my children to use. The last time i used a SQL instance for XBMC (2+ years ago) it wasn't really possible to have different libraries on different machines. Am i able to do that using this container?

 

it's not something i have explored but i believe it would be possible with a mysql setup in this way.

 

1 movie folder contains kids-stuff and another for everything else.

 

 

 

add source of kids folder to kids machine and other folder on other machine.

 

all the library itself is in mysql, each machine just has different sources.

 

or something done with profiles, kodi forum would be a better place to ask though i feel.

 

 

http://kodi.wiki/view/MySQL/Portable_devices_and_profiles

http://kodi.wiki/view/Profiles

Link to comment

just wanted to check in and see if you managed any progress on your image thats independent of unraid on the docker site

 

 

https://registry.hub.docker.com/u/sparklyballs/deb-temp-12.04/

 

Uh, lets play N00b

 

sudo docker run -d --name=kodi --net=host -e 192.168.0.146:192.168.0.146 -e 3306:3306 -e xbmc:xbmc -e xbmc:xbmc --privileged -v /appdata/kodi:/root sparklyballs/deb-temp-12.04

 

 

b345c48bd848: Download complete

511136ea3c5a: Download complete

ed52aaa56e98: Download complete

b875af6dcb23: Download complete

41959ee20b93: Download complete

f959d044ebdf: Download complete

9a9efb6adce0: Download complete

dfbe986cda0f: Download complete

e290779c61b5: Download complete

6576851f9f3b: Download complete

c0fd3abcdaa3: Download complete

d4e19d6af152: Download complete

1e0f0891088c: Download complete

082f28196c62: Download complete

4b374eeed47e: Download complete

Status: Downloaded newer image for sparklyballs/deb-temp-12.04:latest

4cfeb49192e709668cb98c52a0acc3cd7414c295a3fa82f941c20868333295ed

2015/01/06 00:00:52 Error response from daemon: Cannot start container 4cfeb49192e709668cb98c52a0acc3cd7414c295a3fa82f941c20868333295ed: exec: "/root/firstrun.sh": stat /root/firstrun.sh: no such file or directory

 

let me know if you wan to take this to a new thread or PM.. Dont want people getting all confused

 

Thanks

 

Link to comment

just wanted to check in and see if you managed any progress on your image thats independent of unraid on the docker site

 

 

https://registry.hub.docker.com/u/sparklyballs/deb-temp-12.04/

 

 

 

Uh, lets play N00b

 

sudo docker run -d --name=kodi --net=host -e 192.168.0.146:192.168.0.146 -e 3306:3306 -e xbmc:xbmc -e xbmc:xbmc --privileged -v /appdata/kodi:/root sparklyballs/deb-temp-12.04

 

 

b345c48bd848: Download complete

511136ea3c5a: Download complete

ed52aaa56e98: Download complete

b875af6dcb23: Download complete

41959ee20b93: Download complete

f959d044ebdf: Download complete

9a9efb6adce0: Download complete

dfbe986cda0f: Download complete

e290779c61b5: Download complete

6576851f9f3b: Download complete

c0fd3abcdaa3: Download complete

d4e19d6af152: Download complete

1e0f0891088c: Download complete

082f28196c62: Download complete

4b374eeed47e: Download complete

Status: Downloaded newer image for sparklyballs/deb-temp-12.04:latest

4cfeb49192e709668cb98c52a0acc3cd7414c295a3fa82f941c20868333295ed

2015/01/06 00:00:52 Error response from daemon: Cannot start container 4cfeb49192e709668cb98c52a0acc3cd7414c295a3fa82f941c20868333295ed: exec: "/root/firstrun.sh": stat /root/firstrun.sh: no such file or directory

 

let me know if you wan to take this to a new thread or PM.. Dont want people getting all confused

 

Thanks

 

sudo docker run -d --name=kodi --net=host -e MYSQLip=192.168.0.146 -e MYSQLport=3306 -e MYSQLuser=xbmc -e MYSQLpass=xbmc  --privileged -v /appdata/kodi:/opt/kodi-server/share/kodi/portable_data sparklyballs/deb-temp-12.04

Link to comment

nice, that worked and installed, now I just need to move ports.  My nzbget uses 8080, so I will need to change that obviously

 

that's easy enough

 

add -p <port>:8080 to the run command replacing <port> with whatever you want, you can then connect to the webserver and notfications through that port.

Link to comment

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.