Kodi Community Forum

Full Version: Sources xml question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello, I manually added an audio and a video reference in the l source.xml file. after restarting kodi if i launch via api audiolibrary.scan works correctly and the audio library update starts. if i launch videolibrary.scan it does nothing. am I wrong? thank you
To receive meaningful assistance you will need to provide a full debug log.

The instructions are here... debug log (wiki)

If you are using the Basic Method, then ensure the following is applied...
1.Enable debugging in Settings>System Settings>Logging,
2.Restart Kodi
3.Replicate the problem.
4.Upload the log to Kodi Paste Site manually or use the Kodi Logfile Uploader. (wiki) With either method post the link to the log back here.

If you are using the Advanced Method ensure you have correctly created and applied the advancedsettings.xml file (wiki)

In both instances, you should see the word DEBUG throughout the log.

Note: Full logs only. No partial or redacted logs
Do NOT post your logs directly into the forum. Use the Kodi Paste Site. Post the link to your pasted log in the forum
(2020-07-09, 18:32)DaVu Wrote: [ -> ]To receive meaningful assistance you will need to provide a full debug log.

The instructions are here... debug log (wiki)

If you are using the Basic Method, then ensure the following is applied...
1.Enable debugging in Settings>System Settings>Logging,
2.Restart Kodi
3.Replicate the problem.
4.Upload the log to Kodi Paste Site manually or use the Kodi Logfile Uploader. (wiki) With either method post the link to the log back here.

If you are using the Advanced Method ensure you have correctly created and applied the advancedsettings.xml file (wiki)

In both instances, you should see the word DEBUG throughout the log.

Note: Full logs only. No partial or redacted logs
Do NOT post your logs directly into the forum. Use the Kodi Paste Site. Post the link to your pasted log in the forum
Hi, thanks for your suggestion.

below the operations performed by me:

1) I edited the sources.xml file in userdata and added the video section as below 
    https://paste.kodi.tv/jumofehesu
2) I restarted KODI
3) I ran the following JSONRPC command to try updating the Movies: 
    https://paste.kodi.tv/ipazovedek
4) Kodi seems to be launching Video sync but ends immediately and finds nothing.
    If I set this directory from the Media -> Video (Kodi section with standard Gui Procedure), synchronization works correctly. But what Kodi writes in the sources.xml file is the same as what I write manually.
NB: This manual procedure for setting the source directories was performed identically also for the music and the JSONRPC call synchronizes the music correctly. Only with the videos it doesn't work.

I attach below the Log of Kodi: 
https://paste.kodi.tv/avigudeyaw.kodi

Thank you for your collaboration
OMER
The forum moderators have determined that banned addons (wiki) are present on your system. To receive assistance here, these banned items must be removed. If a clean log is not submitted within 3 days, then the relevant post(s) will be removed after this time.
And beside of the banned add-ons:

2019-04-11 16:28:41.284 T:3011589456 NOTICE: Disabled debug logging due to GUI setting. Level 0.

So after you removed all your banned addons and repositories, please enable debug logging before grabbing the log. The how-to is written in my posting above.
(2020-07-14, 21:37)DaVu Wrote: [ -> ]And beside of the banned add-ons:

2019-04-11 16:28:41.284 T:3011589456 NOTICE: Disabled debug logging due to GUI setting. Level 0.

So after you removed all your banned addons and repositories, please enable debug logging before grabbing the log. The how-to is written in my posting above.

ok i think i removed all banned add ons and repositories.
Now can you check my problem? As you can see from the log I make a call with postman to JSONRPC for the video library update, but nothing happens, if I do it for audio it works.

Let me know and something still needs to be removed.
I updated the Kodi log attached to the original post.

Thank you for collaboration.
OMER
(2020-07-16, 16:03)omerGrandinote Wrote: [ -> ]
(2020-07-14, 21:37)DaVu Wrote: [ -> ]And beside of the banned add-ons:

2019-04-11 16:28:41.284 T:3011589456 NOTICE: Disabled debug logging due to GUI setting. Level 0.

So after you removed all your banned addons and repositories, please enable debug logging before grabbing the log. The how-to is written in my posting above.

ok i think i removed all banned add ons and repositories.
Now can you check my problem? As you can see from the log I make a call with postman to JSONRPC for the video library update, but nothing happens, if I do it for audio it works.

Let me know and something still needs to be removed.
I updated the Kodi log attached to the original post.

Thank you for collaboration.
OMER

Sorry this is the correct Log:
https://paste.kodi.tv/aliqevukez.kodi
(2020-07-14, 18:01)omerGrandinote Wrote: [ -> ]1) I edited the sources.xml file in userdata and added the video section as below 
Please read here... https://kodi.wiki/view/Incorrect_and_mis...t_a_source

Manually creating a Video Source does not create the corresponding Video database entries. How could you select a scraper when you created the source.xml file?