Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

movie deleted in the filesystem stays in the database #148

Closed
jluc2808 opened this issue Nov 20, 2014 · 1 comment
Closed

movie deleted in the filesystem stays in the database #148

jluc2808 opened this issue Nov 20, 2014 · 1 comment

Comments

@jluc2808
Copy link
Member

i add a movie scanned once
but some time later i store the same movie with another quality and i delete the 1rst one from the filesystem
when i rescan both are stored in the database rather than one (the only one which is in the filesystem)
{
"count": 1,
"totalCount": 1,
"queryDuration": "16ms",
"queryTime": "2014-11-20 22:45:39",
"status": {
"status": 200,
"message": "OK"
},
"options": {
"dataitems": [
"files"
],
"id": 233,
"type": "MOVIE"
},
"baseArtworkUrl": "http://192.168.1.18:8888/artwork/",
"baseMediainfoUrl": "http://192.168.1.18:8888/mediainfo/",
"basePhotoUrl": "http://192.168.1.18:8888/photo/",
"result": {
"id": 233,
"videoType": "MOVIE",
"title": "Les Gardiens de la Galaxie",
"originalTitle": "Guardians Of The Galaxy",
"videoYear": 2014,
"watched": false,
"files": [
{
"id": 234,
"extra": false,
"container": "AVI",
"codec": "XVID",
"codecFormat": "MPEG-4 Visual",
"codecProfile": "Advanced Simple@L5",
"bitrate": 1473,
"fps": 29.97,
"width": 688,
"height": 288,
"aspectRatio": "2.390:1",
"runtime": "1h 52m",
"videoSource": "TS",
"fileId": 275,
"fileName": "T:\video\Film\Les Gardiens de la Galaxie (2014) - TS.MD.avi",
"fileDate": "2014-08-17 17:29:50",
"fileSize": "1.27 GB",
"audioCodecs": [
{
"codec": "55",
"codecFormat": "MPEG Audio",
"bitrate": 128,
"channels": 2,
"language": "un"
}
]
},
{
"id": 515,
"extra": false,
"container": "Matroska",
"codec": "V_MPEG4/ISO/AVC",
"codecFormat": "AVC",
"codecProfile": "[email protected]",
"bitrate": 8846,
"fps": 23.976,
"width": 1920,
"height": 800,
"aspectRatio": "2.400:1",
"runtime": "2h",
"videoSource": "BluRay",
"fileId": 1816,
"fileName": "T:\video\Film\Les Gardiens de la Galaxie (2014) - 1080p.BluRay.x264.mkv",
"fileDate": "2014-11-15 14:56:01",
"fileSize": "9.06 GB",
"audioCodecs": [
{
"codec": "A_DTS",
"codecFormat": "DTS",
"bitrate": 1509,
"channels": 6,
"language": "English"
},
{
"codec": "A_AC3",
"codecFormat": "AC-3",
"bitrate": 384,
"channels": 6,
"language": "French"
}
],
"subtitles": [
{
"type": "INTERNAL",
"format": "UTF-8",
"language": "French",
"defaultFlag": false,
"forcedFlag": false
},
{
"type": "INTERNAL",
"format": "UTF-8",
"language": "French",
"defaultFlag": false,
"forcedFlag": false
}
]
}
]
}
}

@modmax
Copy link
Member

modmax commented Nov 21, 2014

Refs #2

@modmax modmax closed this as completed Nov 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants