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",
|
"email":"maloja@krateng.dev",
|
||||||
"github": "krateng"
|
"github": "krateng"
|
||||||
}
|
}
|
||||||
version = 2,9,3
|
version = 2,9,4
|
||||||
versionstr = ".".join(str(n) for n in version)
|
versionstr = ".".join(str(n) for n in version)
|
||||||
links = {
|
links = {
|
||||||
"pypi":"malojaserver",
|
"pypi":"malojaserver",
|
||||||
|
@ -468,7 +468,7 @@ def time_fix(t):
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if isinstance(t[1],str) and t[1].startswith("W"):
|
if isinstance(t[1],str) and t[1].startswith("w"):
|
||||||
try:
|
try:
|
||||||
year = int(t[0])
|
year = int(t[0])
|
||||||
weeknum = int(t[1][1:])
|
weeknum = int(t[1][1:])
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
<br/><br/>
|
<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
|
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
|
(make sure to use the public URL) with the key-value-pairs
|
||||||
<br/>
|
<br/>
|
||||||
|
Loading…
Reference in New Issue
Block a user