From 159e96c6b9062af53a48732ca3c0f72be77a40a7 Mon Sep 17 00:00:00 2001 From: Jason Michalski Date: Mon, 31 Dec 2007 00:13:28 -0600 Subject: [PATCH] Changed the default series name to the file name --- plugins/video/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/video/video.py b/plugins/video/video.py index e67cfc9..3a43c01 100644 --- a/plugins/video/video.py +++ b/plugins/video/video.py @@ -102,7 +102,7 @@ class Video(Plugin): duration_delta = timedelta(milliseconds = duration) metadata['title'] = '.'.join(title.split('.')[:-1]) - metadata['seriesTitle'] = os.path.split(base_path)[1] + metadata['seriesTitle'] = metadata['title'] # default to the filename metadata['originalAirDate'] = originalAirDate.isoformat() metadata['time'] = now.isoformat() metadata['startTime'] = now.isoformat() -- 2.11.4.GIT