mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Fixed bug in readable uri timerange keys
This commit is contained in:
parent
7c8b0dd7cb
commit
e8a87cb8a5
@ -5,7 +5,7 @@ author = {
|
||||
"email":"maloja@krateng.dev",
|
||||
"github": "krateng"
|
||||
}
|
||||
version = 2,9,3
|
||||
version = 2,9,4
|
||||
versionstr = ".".join(str(n) for n in version)
|
||||
links = {
|
||||
"pypi":"malojaserver",
|
||||
|
@ -468,7 +468,7 @@ def time_fix(t):
|
||||
except:
|
||||
pass
|
||||
|
||||
if isinstance(t[1],str) and t[1].startswith("W"):
|
||||
if isinstance(t[1],str) and t[1].startswith("w"):
|
||||
try:
|
||||
year = int(t[0])
|
||||
weeknum = int(t[1][1:])
|
||||
|
@ -60,7 +60,7 @@
|
||||
<br/><br/>
|
||||
If you use another browser or another music player, you could try to code your own extension. The API is super simple! Just send a POST HTTP request to
|
||||
|
||||
<span class="stats"><span name="serverurl">yourserver.tld</span>/api/newscrobble</span>
|
||||
<span class="stats"><span name="serverurl">yourserver.tld</span>/apis/mlj_1/newscrobble</span>
|
||||
|
||||
(make sure to use the public URL) with the key-value-pairs
|
||||
<br/>
|
||||
|
Loading…
Reference in New Issue
Block a user