Any alternatives in MrMC for the Kodi addon XBMC Library Auto Update? I manage media files directly on a Linux server (NFS) where I add and also remove files. I can trigger a manual library update once in a while, trouble is that getting to the "Clean library" menu is a hassle. Ideally I'd like something that scans and cleans up the library every "n" hours.
Thank you for your help.
1. No user installed addons are supported, python or otherwise.
2. No, they really are not supported.
3. They are not coming back
4. Read from 1. again
Any mention of illegal streaming sites, addons or any pirated material will not be tolerated. This is not democracy and any offenders will be banned and posts deleted immediately without warning.
Other than that, we hope you enjoy MrMC so far and we welcome any input and feedback you might have.
Team MrMC.
2. No, they really are not supported.
3. They are not coming back
4. Read from 1. again
Any mention of illegal streaming sites, addons or any pirated material will not be tolerated. This is not democracy and any offenders will be banned and posts deleted immediately without warning.
Other than that, we hope you enjoy MrMC so far and we welcome any input and feedback you might have.
Team MrMC.
Scheduled library update/cleanup
-
- Posts: 160
- Joined: 18 Nov 2015, 06:10
- Location: Switzerland
Re: Scheduled library update/cleanup
I would appreciate this as well.
- amet
- Team MrMC
- Posts: 3787
- Joined: 26 Oct 2015, 16:59
- Location: Dubai/Novi Sad
Re: Scheduled library update/cleanup
Moved to requests
-
- Posts: 44
- Joined: 25 Jul 2017, 16:33
Re: Scheduled library update/cleanup
Is it appropriate to file a Github issue or those are for bugs only? Thanks.
- timstephens24
- Posts: 894
- Joined: 09 Dec 2015, 22:43
Re: Scheduled library update/cleanup
You could do this from your Linux box with cron and a curl command.
curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Scan", "id": "mybash"}' -H 'content-type: application/json;' http://192.168.1.100:80/jsonrpc
curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Clean", "id": "mybash"}' -H 'content-type: application/json;' http://192.168.1.100:80/jsonrpc
curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Scan", "id": "mybash"}' -H 'content-type: application/json;' http://192.168.1.100:80/jsonrpc
curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Clean", "id": "mybash"}' -H 'content-type: application/json;' http://192.168.1.100:80/jsonrpc
- davilla
- Team MrMC
- Posts: 4377
- Joined: 26 Oct 2015, 17:01
-
- Posts: 44
- Joined: 25 Jul 2017, 16:33
Re: Scheduled library update/cleanup
Interesting idea, but it assumes that MrMC is up and running, it allows remote requests, etc. There is an addon already that does this quite well, if it could be made part of MrMC ...timstephens24 wrote: ↑27 Jul 2017, 10:57 You could do this from your Linux box with cron and a curl command.
curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Scan", "id": "mybash"}' -H 'content-type: application/json;' http://192.168.1.100:80/jsonrpc
curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Clean", "id": "mybash"}' -H 'content-type: application/json;' http://192.168.1.100:80/jsonrpc
- davilla
- Team MrMC
- Posts: 4377
- Joined: 26 Oct 2015, 17:01
Re: Scheduled library update/cleanup
If MrMC is not up and running, even an internal lib auto update would never fire.sirmcftv wrote: ↑27 Jul 2017, 14:56Interesting idea, but it assumes that MrMC is up and running, it allows remote requests, etc. There is an addon already that does this quite well, if it could be made part of MrMC ...timstephens24 wrote: ↑27 Jul 2017, 10:57 You could do this from your Linux box with cron and a curl command.
curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Scan", "id": "mybash"}' -H 'content-type: application/json;' http://192.168.1.100:80/jsonrpc
curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Clean", "id": "mybash"}' -H 'content-type: application/json;' http://192.168.1.100:80/jsonrpc
-
- Posts: 44
- Joined: 25 Jul 2017, 16:33
Re: Scheduled library update/cleanup
Correct. But there's an option to run a library update/cleanup at startup.davilla wrote: ↑27 Jul 2017, 15:00If MrMC is not up and running, even an internal lib auto update would never fire.sirmcftv wrote: ↑27 Jul 2017, 14:56Interesting idea, but it assumes that MrMC is up and running, it allows remote requests, etc. There is an addon already that does this quite well, if it could be made part of MrMC ...timstephens24 wrote: ↑27 Jul 2017, 10:57 You could do this from your Linux box with cron and a curl command.
curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Scan", "id": "mybash"}' -H 'content-type: application/json;' http://192.168.1.100:80/jsonrpc
curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Clean", "id": "mybash"}' -H 'content-type: application/json;' http://192.168.1.100:80/jsonrpc
-
- Posts: 1
- Joined: 21 Jun 2018, 08:56
Re: Scheduled library update/cleanup
any updates on this? Would love an scheduled scanning every X hour at selected path.