245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
|
"title": "",
"filename": fn,
"url": "file:///"+url,
"genre": "",
"album": "",
"artist": "",
"length": "n/a",
"bitrate": "n/a",
# "format": mime_fmt(fn[-3:]),
"format": mime_fmt(fn[-(len(fn)-fn.rfind(".")-1):]),
"editable": False,
}
try:
streaminfo =get_meta(dir + "/" + fn)
# add streaminfo
|
|
|
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
|
"title": "",
"filename": fn,
"url": "file:///"+url,
"genre": "",
"album": "",
"artist": "",
"length": "n/a",
"bitrate": 0,
# "format": mime_fmt(fn[-3:]),
"format": mime_fmt(fn[-(len(fn)-fn.rfind(".")-1):]),
"editable": False,
}
try:
streaminfo =get_meta(dir + "/" + fn)
# add streaminfo
|