YAMJ / yamj-v3

Main Project for YAMJ v3
11 stars 7 forks source link

watched file not taken with filescanner or jetty core #267

Closed jluc2808 closed 8 years ago

jluc2808 commented 8 years ago

when i'm looking at videodata table for a specify movie (id=655) all watched flag are 0, but the watched file corresponding have been already created in the right watched folder

example: my settings in yamj3-core-static.user.properties yamj3.folder.name.watched=Watched yamj3.librarycheck.folder.watched=true

my library : Film/Watched

the watched file created: Preservation (2014) - 1080p.HDLight.mkv.watched

the movie name stored under Film: Preservation (2014) - 1080p.HDLight.mkv

watched flag: 0 all watched flags (api, last_date, ....) : null

jluc2808 commented 8 years ago

just some new ,

i 'm surprised by the log which refer : media file as file unwatched: just after the watched file processing

[29.01.2016 23:01:50] DEBUG org.yamj.core.service.staging.StagingService - New watched file: T:\video\Film\Watched\Lincoln (2012) - 1080p.BluRay.HDLight.AC3.x264.mkv.watched [29.01.2016 23:01:50] DEBUG org.yamj.core.remote.service.FileImportServiceImpl - Imported scanned directory: T:\video\Film\Watched [29.01.2016 23:01:50] INFO org.yamj.core.service.mediaimport.MediaImportService - Process watched 1435-'Lincoln (2012) - 1080p.BluRay.HDLight.AC3.x264.mkv.watched' [29.01.2016 23:01:50] DEBUG org.yamj.core.database.service.CommonStorageService - Mark media file as file unwatched: MediaFile [ID=662, filename=Lincoln (2012) - 1080p.BluRay.HDLight.AC3.x264.mkv] [29.01.2016 23:01:50] INFO org.yamj.core.scheduling.ImportScheduler - Processed watched stage file: 1435

modmax commented 8 years ago

Fixed with latest commit 35b5072808a5d86f24bc3b4e40643e3fc6c8b7fc

jluc2808 commented 8 years ago

tested ok