Closed Chiggy-Playz closed 2 years ago
Update:
Doing Scan Video Library
option from the ui triggers a scan, but i get a notification saying the scan is completed in just 2-3 seconds. That doesnt seem right. I checked sudo docker logs -f kodi-headless
but I dont think thats the correct place for kodi logs. Where can I check logs?
Here's my sources.xml
<sources>
<programs>
<default pathversion="1"></default>
</programs>
<video>
<default pathversion="1"></default>
<source>
<name>Movies</name>
<path pathversion="1">smb://192.168.1.254/Media-Small/Movies/</path>
<path pathversion="1">smb://192.168.1.254/Media-Big/Movies/</path>
<allowsharing>true</allowsharing>
</source>
<source>
<name>TV Shows</name>
<path pathversion="1">smb://192.168.1.254/Media-Big/TV Shows/</path>
<path pathversion="1">smb://192.168.1.254/Media-Small/TV Shows/</path>
<allowsharing>true</allowsharing>
</source>
</video>
<music>
<default pathversion="1"></default>
</music>
<pictures>
<default pathversion="1"></default>
</pictures>
<files>
<default pathversion="1"></default>
</files>
<games>
<default pathversion="1"></default>
</games>
</sources>
You need to familiarize yourself with how docker works. You probably need to mount the hosts path where media is into the container for starters. And the log will be inside the container etc
On Mon, 2 May 2022, 22:41 Chiggy-Playz, @.***> wrote:
Update: Doing Scan Video Library option from the ui triggers a scan, but i get a notification saying the scan is completed in just 2-3 seconds. That doesnt seem right. I checked sudo docker logs -f kodi-headless but I dont think thats the correct place for kodi logs. Where can I check logs?
— Reply to this email directly, view it on GitHub https://github.com/matthuisman/docker-kodi-headless/issues/12#issuecomment-1114713685, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPQAKLDMQLK2G7DSJXJN3DVH6WNVANCNFSM5U3TA4DA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
With smb you shouldn't need to mount anything from host. I suspect your missing the scraper. Can be hard getting them working. Especially the new python scrapers. Log is inside the container. Look at source code. Should tell you where abouts. Can't remember of top of my head
I looked at the source code and I found something which I believe logs things, but I didnt find a path or anything. Also, container logs (sudo docker logs -f kodi-headless
) show nothing when I go to the webui and click on scan library.
Also, why is getting the scraper hard? How does one install it?
Sorry for bothering you with such questions.
Well you cant install add-ons via Kodi web interface. So you need.to manually copy them and their dependencies into the Kodi addons directory etc.
On Wed, 4 May 2022, 02:05 Chiggy-Playz, @.***> wrote:
I looked at the source code and I found something which I believe logs things, but I didnt find a path or anything. Also, container logs (sudo docker logs -f kodi-headless) show nothing when I go to the webui and click on scan library. Also, why is getting the scraper hard? How does one install it? Sorry for bothering you with such questions.
— Reply to this email directly, view it on GitHub https://github.com/matthuisman/docker-kodi-headless/issues/12#issuecomment-1116140378, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPQAKPPEVL2QRU4RQDM5BDVIEXCNANCNFSM5U3TA4DA . You are receiving this because you modified the open/close state.Message ID: @.***>
So I solved it. It was just me being an idiot. I had forgotten to paste my passwords.xml file in userdata and it was having issues finding it. It works now. Thank You!
Oh, great to hear that :)
On Wed, 4 May 2022, 08:33 Chiggy-Playz, @.***> wrote:
So I solved it. It was just me being an idiot. I had forgotten to paste my passwords.xml file in userdata and it was having issues finding it. It works now. Thank You!
— Reply to this email directly, view it on GitHub https://github.com/matthuisman/docker-kodi-headless/issues/12#issuecomment-1116574065, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPQAKOZUSGFXWHAJ6IWV43VIGEQ7ANCNFSM5U3TA4DA . You are receiving this because you modified the open/close state.Message ID: @.***>
Hello. I started this container yesterday by doing:
I had manually created the
/kodi
dir on my pi before starting the container. After starting the container, I went to/kodi/userdata
and edited advancedsettings.xml. I also pasted my sources.xml file there I put in my host ip and the uname and password I also changed the services > devicename setting (I hope this is fine) in the advancedsettings.xmlIt runs successfully and i can access the web ui at
pi_ip:8080
and in the movies section I can see all the movies on my database but when I do a get request tokodi:kodi@192.168.1.105:8080/jsonrpc
, in themethods
key of the response, theres noVideoLibrary.Scan
method. How do I trigger a scan?