29 lines
476 B
Python
29 lines
476 B
Python
#!/usr/bin/python3
|
|
|
|
from librespot.audio.decoders import AudioQuality
|
|
|
|
stock_quality = "HIGH"
|
|
librespot_credentials = "credentials.json"
|
|
|
|
qualities = {
|
|
"HIGH": {
|
|
"n_quality": AudioQuality.HIGH,
|
|
"f_format": ".ogg",
|
|
"s_quality": "HIGH"
|
|
},
|
|
|
|
"VERY_HIGH": {
|
|
"n_quality": AudioQuality.VERY_HIGH,
|
|
"f_format": ".ogg",
|
|
"s_quality": "VERY_HIGH"
|
|
},
|
|
|
|
"NORMAL": {
|
|
"n_quality": AudioQuality.NORMAL,
|
|
"f_format": ".ogg",
|
|
"s_quality": "NORMAL"
|
|
}
|
|
}
|
|
|
|
stock_market = None
|