Check-in [98ce646c0b]
Overview
Comment: | set bitrate to integer 0 always ("n/a" won't work) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: | 98ce646c0bc3e1a5e4e486bae4c1c8304206da65 |
User & Date: | Oliver on 2016-12-27 21:21:00 |
Other Links: | manifest | tags |
Context
2016-12-27
| ||
21:21 | Simplify virtual dependencies with new pluginconf.dependency(add=) param check-in: fff90115ee user: mario tags: trunk | |
21:21 | set bitrate to integer 0 always ("n/a" won't work) check-in: 98ce646c0b user: Oliver tags: trunk | |
21:20 | Remove stale comment, fix whitespace issue check-in: b5753830fa user: mario tags: trunk | |
Changes
Modified contrib/file.py from [20ff14ace6] to [5bd012193e].
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
|