FAQ  •  Register  •  Login

library update - check for new only

<<

Gordonx42

Serviio newbie

Posts: 8

Joined: Thu May 27, 2010 5:19 pm

Post Sat May 29, 2010 4:24 am

library update - check for new only

It would be ideal if there was an option to disable the updating of existing files in the library update and only check for new files. is this possible?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat May 29, 2010 10:29 am

Re: library update - check for new only

<<

Gordonx42

Serviio newbie

Posts: 8

Joined: Thu May 27, 2010 5:19 pm

Post Wed Jun 16, 2010 1:17 pm

Re: library update - check for new only

I take it this didn't make into 0.4.1?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jun 16, 2010 2:16 pm

Re: library update - check for new only

No, I'm still wondering if it's making sense in terms of it breaking everything ;-)
<<

Gordonx42

Serviio newbie

Posts: 8

Joined: Thu May 27, 2010 5:19 pm

Post Wed Jun 16, 2010 2:35 pm

Re: library update - check for new only

gotcha. is it possible to perhaps initiate an update programmatically? For example, i use XBMC as well, and i use their web api to initiate a library refresh only when a new file is downloaded.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jun 16, 2010 2:47 pm

Re: library update - check for new only

Serviio is using Corba, so it's possible if you can implement it.
<<

cnstoll

Serviio newbie

Posts: 7

Joined: Wed Jun 16, 2010 3:43 pm

Post Wed Jun 16, 2010 4:03 pm

Re: library update - check for new only

What about just specifying individual shared directories to update? If some people are like me and have specified 5 or 6 different folders, but only added new files to one of them. Being able to only update that specific directory would be a huge benefit. Even if it went through all the current files, it would still be better than what we have now in terms of saving time.
<<

fizze

Serviio lover

Posts: 88

Joined: Wed Dec 02, 2009 8:27 am

Location: Austria

Post Wed Jun 30, 2010 5:24 pm

Re: library update - check for new only

This causes me a lot of headache too. Invoking ffmpeg so often causes a lot of (CPU) time and is just unnecessary.
Isn't it possible to make use of inotify? There's gotta be a java binding for this, and I'm sure something like that exists in win32 too.

edit:
I started a scan through the console about 3h ago. It's still "refreshing" the media library. I've added maybe a dozen files since the last rescan. :roll:
Intel SS4200 - Ubuntu Server 8.04
LG BD - 390
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jun 30, 2010 11:08 pm

Re: library update - check for new only

fizze wrote:Invoking ffmpeg so often causes a lot of (CPU) time and is just unnecessary.


FFmpeg is only invoked on new video files. Checking for updates doesn't do it (unless a file has been updated).

THere is inotify for Linux and Win, but not for OSX.
<<

fizze

Serviio lover

Posts: 88

Joined: Wed Dec 02, 2009 8:27 am

Location: Austria

Post Mon Jul 05, 2010 11:22 am

Re: library update - check for new only

Well, does it try to use ffmpeg again on files where it has failed previously?
Anyway, I need to update to 0.4.1 and see if it still happens then.

Funny how OSX is a *IX system and doesn't support inotify. :(
Intel SS4200 - Ubuntu Server 8.04
LG BD - 390
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jul 05, 2010 11:49 am

Re: library update - check for new only

Funny how OSX is a *IX system and doesn't support inotify. :(

I think I found something, will try to get it into 0.5

Return to Feature requests

Who is online

Users browsing this forum: Google [Bot] and 35 guests

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