Kodi Community Forum

Full Version: Headless Kodi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
so im kinda new, and sorry if its missed placed, but have you tried curling the url from the server
cURL?
the image is not found:
Quote:Not Found

The requested URL was not found on this server.

it's interesting because the video file works perfect over UPnP

http://172.27.2.12:1645/%25/1CE342C656B4...5emhoU.jpg --> Not Found
http://172.27.2.12:1645/%25/511AA543229C...-1080p.mkv --> OK
is that file on the server, the movie file is there but perhaps the jpg is missing
i don't have images next to my video files (on a NAS) but my KODI on openELEC can deliver art over UPnP
afaik are the images taken from the Thumbnails folder - also on headless Kodi the Thumnails folder exist and is filled with art after using the kodi web site to fetch all the images but the UPnP Server doesn't know where to take the images from
(2016-03-13, 12:47)celedhrim Wrote: [ -> ]Hi,

I have rework jarvis Dockerfile.
Now base on ubuntu 16.04 ( new lts) , this LTS reintroduice ffmpeg , so I now build kodi with system ffmpeg to reduce image build time.

Hello,
Just a dummy question.
Is it possible to run your image on a NAS running OMV with the docker plugin?
Just asking because you mention thath your dockerfile is based on ubuntu 16.04, but OMV is based on Debian 7.0

thanks
(2016-03-29, 14:54)mika91 Wrote: [ -> ]
(2016-03-13, 12:47)celedhrim Wrote: [ -> ]Hi,

I have rework jarvis Dockerfile.
Now base on ubuntu 16.04 ( new lts) , this LTS reintroduice ffmpeg , so I now build kodi with system ffmpeg to reduce image build time.

Hello,
Just a dummy question.
Is it possible to run your image on a NAS running OMV with the docker plugin?
Just asking because you mention thath your dockerfile is based on ubuntu 16.04, but OMV is based on Debian 7.0

thanks

It's ubuntu inside the container , every thing that can run docker can launch the container , whatever inside.
Tis is the Docker technology primary goal Smile
ok thanks Wink

Another question: in the future, how can I add a source and set its content and scapper language?

Do I have to use a full GUI kodi for adding and configuring the new source?
Then it will automaticaly update the kodi-headless sources.xml and where-ever-it-is content type files ?
Or I need to copy the .kodi/userdata fodler again?
You can share source over network : http://kodi.wiki/view/MySQL/Sync_other_p...di#Sources

But if you add a new scrapper addon , you need to add it to the kodi-headless ( editing the server profile)

Personnally , I use copy :

- stop container
- launch a full kodi with the server-profile
- Do what I want
- copy back the server profile
- start the container

BUt I rarely change source / scrapper ( 0 time last year ! Smile)
ok thanks.
I successfully installed docker yesterday, and the image seems to run.
But when I check log, after a library update, I have the following error:

Code:
08:48:28 T:139832902321920  NOTICE: VideoInfoScanner: Starting scan ..
08:48:29 T:139832659539712   ERROR: SetThreadInfo: error Permission denied
08:48:30 T:139832902321920  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:02

My folders have the same permission: 775 root:users
Do I need to add a "docker" or anything else user to my 'users' group.
Or maybe docker runs as root user?
Image run as root.

The error is normal , try to add content and see if it's really add , it's the best way to validate Smile
ok.
Just made a test adding a fake new movie.

Code:
09:08:26 T:139776477202176   DEBUG: VideoInfoScanner: Finished adding information from dir smb://192.168.1.10/Movies/Films/Million Dollar Baby

So it seems everything worked fine!
Just a few more questions:
  • I had to to manualy run a 'xmbc-send' to update the library.
    Is your image compatible with an headless watchdog addon?
    Or maybe use a 'xbmc-send' cron job combined with sickrage/couchpotato notifications?
  • On my RPI clients, many videos miss the codecs flags (HD/SD, codecs, ...). Those informations are stored in the DB too? Retrieve after scrapping? Compatble with smb shares?

Thanks a lot for your work and support.
Sorry for asking but what is needed to run this version on a RPi and is version 16 supported? also will the system still be usable for other functions?

Thanks,
Yonu
ok now I am going to ask I have been looking at Docker but I am trying to figure out is it possible to run it on top of an existing copy of raspbian. would anyone mind poing my towards any help on getting it setup?

Thanks,
Yonu
https://github.com/Celedhrim/docker-kodi-server

Master & jarvis branch update to 16.1

I don't know if it would be better to create a specific thread for docker kodi ( supplementary tool / developpement ?).
Now we talk docker kodi server in middle of other thread about headless and not docker specific .
(2016-04-25, 14:44)celedhrim Wrote: [ -> ]https://github.com/Celedhrim/docker-kodi-server

Master & jarvis branch update to 16.1

I don't know if it would be better to create a specific thread for docker kodi ( supplementary tool / developpement ?).
Now we talk docker kodi server in middle of other thread about headless and not docker specific .

Many thanks for your work celedhrim!

Yes, I also think that you should open a new specific thread about docker support in Kodi and leave this for a more generic way of installing a headless instance of Kodi Wink

I would also like to ask you about this error that I'm seeing using your docker container:

Code:
19:14:06 T:140411599316736  NOTICE: WakeOnAccess [192.168.1.100] trigged by accessing : MySQL : MyVideos99
19:14:06 T:140411599316736   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:06 T:140411599316736    INFO: WakeOnLan - Magic packet send to 'xx:xx:xx:xx:xx:xx'
19:14:06 T:140411599316736   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:07 T:140412834526976   ERROR: Previous line repeats 13 times.
19:14:07 T:140412834526976   DEBUG: webserver: request received for /jsonrpc
19:14:07 T:140411599316736   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:09 T:140412834526976   ERROR: Previous line repeats 13 times.
19:14:09 T:140412834526976   DEBUG: webserver: request received for /jsonrpc
19:14:09 T:140411599316736   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:10 T:140412834526976   ERROR: Previous line repeats 13 times.
19:14:10 T:140412834526976   DEBUG: webserver: request received for /jsonrpc
19:14:10 T:140412842919680   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:12 T:140412834526976   ERROR: Previous line repeats 13 times.
19:14:12 T:140412834526976   DEBUG: webserver: request received for /jsonrpc
19:14:12 T:140412842919680   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:13 T:140412834526976   ERROR: Previous line repeats 13 times.
19:14:13 T:140412834526976   DEBUG: webserver: request received for /jsonrpc
19:14:13 T:140412842919680   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:15 T:140412834526976   ERROR: Previous line repeats 13 times.
19:14:15 T:140412834526976   DEBUG: webserver: request received for /jsonrpc
19:14:15 T:140412842919680   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:16 T:140412834526976   ERROR: Previous line repeats 13 times.
19:14:16 T:140412834526976   DEBUG: webserver: request received for /jsonrpc
19:14:16 T:140412842919680   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:18 T:140412834526976   ERROR: Previous line repeats 13 times.
19:14:18 T:140412834526976   DEBUG: webserver: request received for /jsonrpc
19:14:18 T:140412842919680   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:19 T:140412834526976   ERROR: Previous line repeats 13 times.
19:14:19 T:140412834526976   DEBUG: webserver: request received for /jsonrpc
19:14:19 T:140412842919680   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:21 T:140412834526976   ERROR: Previous line repeats 13 times.
19:14:21 T:140412834526976   DEBUG: webserver: request received for /jsonrpc
19:14:21 T:140411599316736   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:22 T:140412834526976   ERROR: Previous line repeats 11 times.
19:14:22 T:140412834526976   DEBUG: webserver: request received for /jsonrpc
19:14:22 T:140411599316736   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:24 T:140412834526976   ERROR: Previous line repeats 13 times.
19:14:24 T:140412834526976   DEBUG: webserver: request received for /jsonrpc
19:14:24 T:140411599316736   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:25 T:140412834526976   ERROR: Previous line repeats 13 times.
19:14:25 T:140412834526976   DEBUG: webserver: request received for /jsonrpc
19:14:25 T:140411599316736   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:27 T:140412834526976   ERROR: Previous line repeats 13 times.
19:14:27 T:140412834526976   DEBUG: webserver: request received for /jsonrpc
19:14:27 T:140412842919680   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:28 T:140412834526976   ERROR: Previous line repeats 13 times.
19:14:28 T:140412834526976   DEBUG: webserver: request received for /jsonrpc
19:14:28 T:140412842919680   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:30 T:140412834526976   ERROR: Previous line repeats 13 times.
19:14:30 T:140412834526976   DEBUG: webserver: request received for /jsonrpc
19:14:30 T:140412842919680   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:31 T:140412834526976   ERROR: Previous line repeats 13 times.
19:14:31 T:140412834526976   DEBUG: webserver: request received for /jsonrpc
19:14:32 T:140412842919680   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:33 T:140412834526976   ERROR: Previous line repeats 13 times.
19:14:33 T:140412834526976   DEBUG: webserver: request received for /jsonrpc
19:14:33 T:140412842919680   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:35 T:140412834526976   ERROR: Previous line repeats 13 times.
19:14:35 T:140412834526976   DEBUG: webserver: request received for /jsonrpc
19:14:35 T:140412842919680   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:14:36 T:140412834526976   ERROR: Previous line repeats 13 times.
19:14:36 T:140412834526976   DEBUG: webserver: request received for /jsonrpc
19:14:36 T:140412842919680   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:15:24 T:140412842919680   ERROR: Previous line repeats 437 times.
19:15:24 T:140412842919680  NOTICE: WakeOnAccess timeout/cancel while waiting for response
19:15:24 T:140412842919680 WARNING: WakeOnAccess failed to bring up [192.168.1.100] - there may be trouble ahead !
19:15:24 T:140411599316736   ERROR: Ping fail : status = 32512, errno = 0 : 'ping -c 1 -w 1 192.168.1.100'
19:15:26 T:140411599316736   ERROR: Previous line repeats 9 times.
19:15:26 T:140411599316736  NOTICE: WakeOnAccess timeout/cancel while waiting for response
19:15:26 T:140411599316736 WARNING: WakeOnAccess failed to bring up [192.168.1.100] - there may be trouble ahead !

My docker host is a Ubuntu Server 14.04 machine (192.168.1.100) running a MySQL database.

Do you know what is happening here? It seems that the "ping" command is not installed by default in Ubuntu and that it can be installed using "apt-get install inetutils-tools inetutils-ping". As Kodi seems to use the ping command after executing a WakeOnLan command to ensure that the remote machine is awake, could you add the "ping" command to your docker container?

Many thanks again for all your work and if you need more information don't hesitate to ask.

Best regards,

Aitor
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32