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.

Scheduled library update/cleanup

there is zero(0) promises that any of the requests will be fulfilled or even looked at
sirmcftv
Posts: 41
Joined: 25 Jul 2017, 16:33

Scheduled library update/cleanup

Post by sirmcftv » 26 Jul 2017, 19:59

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.

eazytv
Posts: 71
Joined: 18 Nov 2015, 06:10

Re: Scheduled library update/cleanup

Post by eazytv » 27 Jul 2017, 04:30

I would appreciate this as well.

User avatar
amet
Team MrMC
Posts: 2287
Joined: 26 Oct 2015, 16:59

Re: Scheduled library update/cleanup

Post by amet » 27 Jul 2017, 04:40

Moved to requests

sirmcftv
Posts: 41
Joined: 25 Jul 2017, 16:33

Re: Scheduled library update/cleanup

Post by sirmcftv » 27 Jul 2017, 04:42

Is it appropriate to file a Github issue or those are for bugs only? Thanks.

User avatar
timstephens24
Posts: 744
Joined: 09 Dec 2015, 22:43

Re: Scheduled library update/cleanup

Post by timstephens24 » 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

User avatar
davilla
Team MrMC
Posts: 3662
Joined: 26 Oct 2015, 17:01

Re: Scheduled library update/cleanup

Post by davilla » 27 Jul 2017, 12:59

sirmcftv wrote:
27 Jul 2017, 04:42
Is it appropriate to file a Github issue or those are for bugs only? Thanks.
Github issues is fair game for bugs or feature requests.

sirmcftv
Posts: 41
Joined: 25 Jul 2017, 16:33

Re: Scheduled library update/cleanup

Post by sirmcftv » 27 Jul 2017, 14:56

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
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 ...

User avatar
davilla
Team MrMC
Posts: 3662
Joined: 26 Oct 2015, 17:01

Re: Scheduled library update/cleanup

Post by davilla » 27 Jul 2017, 15:00

sirmcftv wrote:
27 Jul 2017, 14:56
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
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 ...
If MrMC is not up and running, even an internal lib auto update would never fire.

sirmcftv
Posts: 41
Joined: 25 Jul 2017, 16:33

Re: Scheduled library update/cleanup

Post by sirmcftv » 27 Jul 2017, 15:39

davilla wrote:
27 Jul 2017, 15:00
sirmcftv wrote:
27 Jul 2017, 14:56
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
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 ...
If MrMC is not up and running, even an internal lib auto update would never fire.
Correct. But there's an option to run a library update/cleanup at startup.

prynn13
Posts: 1
Joined: 21 Jun 2018, 08:56

Re: Scheduled library update/cleanup

Post by prynn13 » 21 Jun 2018, 17:18

any updates on this? Would love an scheduled scanning every X hour at selected path.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest