FAQ  •  Register  •  Login

Library refresh from windows command line

<<

katates

Serviio newbie

Posts: 8

Joined: Sun Jan 05, 2014 6:39 pm

Post Sat Mar 15, 2014 9:19 pm

Library refresh from windows command line

Hey guys, I don't want Serviio to refresh library automatically.

I want to this manually from command line.

I want to refresh library after uTorrent download finishes vb.

How can I refresh library from windows command line?
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Sun Mar 16, 2014 4:30 am

Re: Library refresh from windows command line

There is no command line method of doing this afaik. You could perhaps write a small program to post the instruction via the Serviio API (a knowledge of programming is required, see http://docs.serviio.apiary.io/). Perhaps look at curl to do this (I have never used curl but you should be able to use this from what I understand) - however I'd question whether manually running a script or command line is any more efficient than manually pressing the "Force Refresh" button???.

If you are a windows user you can also use my tool here: viewtopic.php?f=17&t=12136. This tool will monitor your shared folders and when a file is added, deleted or changed, it will trigger a refresh of the Serviio library.

To use simply set "Use WinHelper to monitor shared folders" on (on the Tools tab). I use this tool extensively for both sleep management and library refreshing. I have set my Automatic Refresh in Serviio console to 1440 minutes (once a day, but alternatively you can turn it off) and use this tool to refresh my libraries.

Using this tool, when downloading torrents the file is automatically added to my library. Note that if your drive is remote (eg a NAS or other networked drive) this may not work (this is a limitation of the windows API but try it - all feedback welcome).
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 43 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.