Synology-Forum.nl

Packages => Officiƫle Packages => Video Station => Topic gestart door: Johan1974 op 23 augustus 2014, 16:21:09

Titel: Automatische indexering
Bericht door: Johan1974 op 23 augustus 2014, 16:21:09
Hallo,

Ik merk dat Videostation nieuwe videotitels niet ziet en dit pas gebeurd als ik opnieuw laat indexeren.
Nu zou ik liever zien dat dit volledig automatisch gebeurd. Is hier een commando voor om dit uit te laten voeren zodat ik hier een scheduled task van kan maken?

Bedankt
Titel: Re: Automatische indexering
Bericht door: Birdy op 23 augustus 2014, 16:22:30
Volgens mij: synoindex -R video
Titel: Re: Automatische indexering
Bericht door: Johan1974 op 23 augustus 2014, 20:49:49
Dank je!

Als ik dit commando intik dan zie ik weinig gebeuren. Of start die het indexeren dan soms op de achtergrond?
Titel: Re: Automatische indexering
Bericht door: Birdy op 23 augustus 2014, 21:12:37
Citaat
Of start die het indexeren dan soms op de achtergrond?
Weet ik niet zeker, kan het ook niet testen omdat ik niets te indexen heb  ;)

Maar dit zijn alle opties:

DS111> synoindex
Copyright (c) 2003-2014 Synology Inc. All rights reserved.

Usage:
synoindex [OPTIONS]

Index Options:
    -h, --help
        this help text
    -A dirpath
        add a dir
    -a filepath
        add a file
    -D dirpath
        delete a dir
    -d filepath
        delete a file
    -N new_dirpath old_dirpath
        rename a dir
    -n new_filepath old_filepath
        rename a file
    -R [all|media|photo|music|video|thumb|dirpath]
        all:     reindex all dirpath that registered in each package
        media:   reindex dirpath that registered in mediaindex package
        photo:   reindex photo dirpath
        music:   reindex music dirpath
        video:   reindex video dirpath
        thumb:   check converted video of each video file
        dirpath: reindex this specific dirpath
    -R user:{user_name}
        reindex personal photo dirpath

Package Index Options:
    -P [media|{package_name}] {index_option}
        index operation only apply on this package
    -p [media|{package_name}] {index_option}
        index operation apply all packages except for this package

File Index Options:
    -f {index_option}
        index operation apply on file index
    -U photo
        update photo images

Info Options:
    -g filepath -t [video|music|photo|playlist]
        get metadata from database and you should specify which file type

DS111>
Titel: Re: Automatische indexering
Bericht door: Birdy op 23 augustus 2014, 21:15:05
Overigens, deze vond ik ook nog, misschien is dat een betere oplossing. (http://codesourcery.wordpress.com/2012/11/29/more-on-the-synology-nas-automatically-indexing-new-files/)
(Koppel dat even terug)