Page 1 of 1

Media scanning without server restart?

Posted: Mon Jun 21, 2010 9:12 pm
by brettich
Is all media supposed to be rescanned after performing a "server restart"?
I've noticed when adding new media (movies) sometimes the incorrect length, size or other attribute is reported. This messes up the WDTV Lives ability to properly playback the file.
I do a "server restart" expecting all movies to to re-scanned for their specific properties. -It does not.
I need to do a manual "Read properties from file" to repair the issue.

Question: Is it possible to auto-magically perform a "media properties scan", rather than manually each time I add files?

Thanks,

Bertrand

Re: Media scanning without server restart?

Posted: Tue Jun 22, 2010 6:15 am
by Eugene
brettich wrote:Is all media supposed to be rescanned after performing a "server restart"?
I've noticed when adding new media (movies) sometimes the incorrect length, size or other attribute is reported. This messes up the WDTV Lives ability to properly playback the file.
I do a "server restart" expecting all movies to to re-scanned for their specific properties. -It does not.
I need to do a manual "Read properties from file" to repair the issue.
Question: Is it possible to auto-magically perform a "media properties scan", rather than manually each time I add files?
I think it is necessary to solve the original problem. If you are using file-sharing network, then configure the software file-sharing network to use the temporary directory.
In WMS, you can add a script that will be running on schedule and read the file properties, depending on certain specified conditions.

Re: Media scanning without server restart?

Posted: Tue Jun 22, 2010 3:29 pm
by brettich
Eugene wrote: I think it is necessary to solve the original problem. If you are using file-sharing network, then configure the software file-sharing network to use the temporary directory.
Sorry -Which temp folder? -A WMS temp working folder or a Windows %temp% folder? I only know of the temp folder under the transcoding settings...
Eugene wrote: In WMS, you can add a script that will be running on schedule and read the file properties, depending on certain specified conditions.
Can you post the script? Rather than having a script run on a specific schedule, It makes more sense to run it when media is added / changed or removed. -preferably automatically....

Sometimes I need to replace a specific movie.mkv with another file with the same name. I believe this creates issues for WMS because the file name & location stays the same, but all the attributes are different. -Bitrate, size, length, extension etc... The WMS database contains attributes for the <old> file not the new one I just added....

Thanks for your help.

Bertrand

Re: Media scanning without server restart?

Posted: Wed Jun 23, 2010 8:58 am
by Eugene
brettich wrote:
Eugene wrote: I think it is necessary to solve the original problem. If you are using file-sharing network, then configure the software file-sharing network to use the temporary directory.
Sorry -Which temp folder? -A WMS temp working folder or a Windows %temp% folder? I only know of the temp folder under the transcoding settings...
If you use programs like mTorrent, then its settings are able to use the temporary directory for downloadable files.
brettich wrote:
Eugene wrote: In WMS, you can add a script that will be running on schedule and read the file properties, depending on certain specified conditions.
Can you post the script? Rather than having a script run on a specific schedule, It makes more sense to run it when media is added / changed or removed. -preferably automatically....

Sometimes I need to replace a specific movie.mkv with another file with the same name. I believe this creates issues for WMS because the file name & location stays the same, but all the attributes are different. -Bitrate, size, length, extension etc... The WMS database contains attributes for the <old> file not the new one I just added....
http://www.wildmediaserver.com/forum/vi ... 1981#p1981
Perhaps in future versions will be reading the properties of file with the file date change