mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
improved .cue support
This commit is contained in:
parent
cbc5735d52
commit
a90b45438f
@ -875,7 +875,7 @@ class Client(MPDClient):
|
||||
|
||||
def get_absolute_path(self, uri):
|
||||
if self.lib_path is not None:
|
||||
path=os.path.join(self.lib_path, uri)
|
||||
path=re.sub(r"(.*\.cue)\/track\d+$", r"\1", os.path.join(self.lib_path, uri), flags=re.IGNORECASE)
|
||||
if os.path.isfile(path):
|
||||
return path
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user