FAQ  •  Register  •  Login

Library refresh on 1.5

<<

pfonseca

Serviio newbie

Posts: 13

Joined: Sun Apr 15, 2012 11:41 am

Location: Lisbon / OPorto - Portugal

Post Wed Jan 21, 2015 10:15 am

Library refresh on 1.5

Hi,

I'm using Serviio since v1.2 installed on a Mac Mini, accessing a FreeNAS box. Until v1.4.1 we were able to control the refresh period of the library or force a refresh. With this, my NAS have the activity controlled. SInce I've installed v1.5, we only have two options, "automatic" scan or manual scan with a forced refresh and we have lost "scheduled" scan.

Is it possible to have it again, even with some sort of manual configuration? My NAS doesn't stop and to have access to the console I need to be next to the Mac or have remote access and this is not always possible. I use to use the Web Console but the actual one it's not 100% compatible with v1.5.

Any clue?

Regards,
<<

atc98092

User avatar

DLNA master

Posts: 5436

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Wed Jan 21, 2015 1:06 pm

Re: Library refresh on 1.5

I believe the way 1.5 works is that it no longer does a scheduled scan, but instead monitors for file changes. It is using functionality that is already in the OS, so the scan is no longer necessary.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jan 21, 2015 1:48 pm

Re: Library refresh on 1.5

I believe the way 1.5 works is that it no longer does a scheduled scan, but instead monitors for file changes. It is using functionality that is already in the OS, so the scan is no longer necessary.


Yes - http://wiki.serviio.org/doku.php?id=lib ... _mechanism
<<

pfonseca

Serviio newbie

Posts: 13

Joined: Sun Apr 15, 2012 11:41 am

Location: Lisbon / OPorto - Portugal

Post Wed Jan 21, 2015 2:08 pm

Re: Library refresh on 1.5

Yes, I understand the mechanism, but I think that with a CIFS read-only share, this mechanism it's not effective. I have activity of writing new files to this share once or twice a week and the disks and CPU consumption are constant. That's why I mentioned this.

I believe that the current scan mechanism is effective with local disks, independently on the OS, but in this (my) use case it's not.

If I can provide some more information that you may need to identify the issue, please tell me what you need.

Regards,
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jan 21, 2015 4:14 pm

Re: Library refresh on 1.5

pfonseca wrote:the disks and CPU consumption are constant

How do you measure this? Can you post detailed log of the server startup + 30 seconds after that?
<<

thailand

Streaming enthusiast

Posts: 25

Joined: Thu May 09, 2013 11:06 am

Post Wed Jan 21, 2015 5:28 pm

Re: Library refresh on 1.5

I cannot use version 1.5 because it s not automaticly refreshing the files.
After about 15 minutes it locks up my tv and PC.
I stick to 1.4.1.2 for this moment.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jan 22, 2015 10:08 am

Re: Library refresh on 1.5

thailand wrote:I cannot use version 1.5 because it s not automaticly refreshing the files.
After about 15 minutes it locks up my tv and PC.
I stick to 1.4.1.2 for this moment.

Can you post detailed log with 1.5 to see why it doesn't refresh? Are the files local or on a remote drive?
<<

spepe

Serviio newbie

Posts: 6

Joined: Sat Oct 18, 2014 11:46 am

Post Thu Jan 22, 2015 4:13 pm

Re: Library refresh on 1.5

this what happens with the new version each time when i download a new movie :

015-01-22 18:10:09,408 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (D:\Downloads\Vice.2015.720p.WEB-DL.DD5.1.H.264-CzT\Vice.2015.720p.WEB-DL.DD5.1.H.264-CzT.mkv). Message: Unknown video file type.
2015-01-22 18:10:10,223 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (D:\Downloads\Vice.2015.720p.WEB-DL.DD5.1.H.264-CzT\Vice.2015.720p.WEB-DL.DD5.1.H.264-CzT.mkv). Message: Unknown video file type.


After the download is finished i can use force refresh and all is ok ....so the automatic refresh does not exist in this case
<<

pfonseca

Serviio newbie

Posts: 13

Joined: Sun Apr 15, 2012 11:41 am

Location: Lisbon / OPorto - Portugal

Post Thu Jan 22, 2015 7:11 pm

Re: Library refresh on 1.5

zip wrote:
pfonseca wrote:the disks and CPU consumption are constant

How do you measure this? Can you post detailed log of the server startup + 30 seconds after that?


Hi,

Hi apologize of my post. I've misinterpreted the results on NAS access. Everything is fine with Serviio, is another issue I have.

Thx in advance:)

Regards,
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Thu Jan 22, 2015 9:32 pm

Re: Library refresh on 1.5

@spepe - see your other post: viewtopic.php?f=5&t=18233.
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.
<<

thailand

Streaming enthusiast

Posts: 25

Joined: Thu May 09, 2013 11:06 am

Post Sat Jan 24, 2015 12:26 am

Re: Library refresh on 1.5

My movies stop every few minutes ??
Please help
Attachments
serviio.log
(405.85 KiB) Downloaded 462 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Jan 25, 2015 2:29 pm

Re: Library refresh on 1.5

thailand wrote:My movies stop every few minutes ??
Please help

It's not related to this topic, please start a new one.
<<

thailand

Streaming enthusiast

Posts: 25

Joined: Thu May 09, 2013 11:06 am

Post Sun Jan 25, 2015 2:34 pm

Re: Library refresh on 1.5

Did you take a look @ the log file ?
<<

Darkfalz

Serviio lover

Posts: 60

Joined: Fri Feb 22, 2013 10:50 am

Post Wed Jan 28, 2015 11:38 pm

Re: Library refresh on 1.5

I have a question.

I have my media on a dedicated RAID-5 array, which is set to sleep after 20 minutes of inactivity (say, if I am using the HTPC to play a game). This is why I always manually updated.

Will this refresh stop this from happening now, or will Windows know no to wake the drives if there have been no changes to them?

To be honest I kind of liked the manual refresh, because it gives you a chance to rename files, move things around etc. in your library before telling Serviio you're read to have them indexed.

Thanks.
Sony KDL-55HX750 and BDV-N990W (Home Theatre)
Sony KDL-40D3100 and BDP-S390 (Loungeroom)
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Thu Jan 29, 2015 7:58 am

Re: Library refresh on 1.5

My drive goes to sleep and it doesn't seem to be effected by the new scheme. My understanding is that Serviio is responding to OS events, not polling the drive, so it should be fine... but try it (automatic refreshing) for your drive.

You can turn off Automatic library updates and use the manual method still - that has not changed.
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.
<<

bobsmo

Serviio lover

Posts: 65

Joined: Thu Dec 20, 2012 12:06 pm

Post Thu Jan 29, 2015 10:22 am

Re: Library refresh on 1.5

I used to use the manual refresh as well.

In 1.5, using the automatic refresh, my NAS's actually go to sleep more often then before.
<<

norm

Serviio lover

Posts: 72

Joined: Tue Apr 09, 2013 3:18 pm

Post Sun Feb 01, 2015 9:31 am

Re: Library refresh on 1.5

Zip. Thanks for new version of Serviio the library refresh seems a lot neater. One problem though when copying large files to a shared folder it seems to be killing the network performance on my NAS because Serviio seems to be adding the files to the library before I've finished copying all of the files. Would it be possible to delay the time from file being copied/updated to the time to Serviio inventory's the file to allow file copies to complete? Either a through the GUI or JAVA_OPTS is fine with me. Thanks
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Feb 01, 2015 6:10 pm

Re: Library refresh on 1.5

What is the OS of the NAS?

Can ou post a bit of detailed log of the file being added before it finished copying? Normally it should keep checking if the file is complete and then add it (run ffmpeg etc)
<<

thailand

Streaming enthusiast

Posts: 25

Joined: Thu May 09, 2013 11:06 am

Post Sun Feb 01, 2015 6:35 pm

Re: Library refresh on 1.5

For me is version 1.54 not working .
I have allways files that freezes .
Now with 1.4.1.2 i have no problems anymore.
<<

h8spaCec4EspUdE

Serviio newbie

Posts: 4

Joined: Fri Jan 30, 2015 3:06 pm

Post Mon Feb 02, 2015 5:30 am

Re: Library refresh on 1.5

I use computer as serviio server and mainly for online resources. I turn the computer off daily.
The problem is upon each startup, the online resources library is cleaned up.
The update process need to start over which takes time and being very unconvenitent to me.
Is there a way to avoid library cleanup upon serviio service start?
Next

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 27 guests

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