Browse Source

Load nfo.txt or NFO.txt regardless the letter case

tags/v0.9.0^2
LecygneNoir 1 year ago
parent
commit
03ae92d1af
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      prismedia/utils.py

+ 2
- 0
prismedia/utils.py View File

@ -150,6 +150,8 @@ def parseNFO(options):
if isfile(video_directory + "/" + "nfo.txt"):
nfo_txt = loadNFO(video_directory + "/" + "nfo.txt")
elif isfile(video_directory + "/" + "NFO.txt"):
nfo_txt = loadNFO(video_directory + "/" + "NFO.txt")
if isfile(video_directory + "/" + directory_name+ ".txt"):
nfo_directory = loadNFO(video_directory + "/" + directory_name+ ".txt")

Loading…
Cancel
Save