Update todos and add Procfile/honcho
This commit is contained in:
2
Procfile
Normal file
2
Procfile
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
web: python manage.py runserver 0.0.0.0:8014
|
||||||
|
worker: celery -A vrobbler worker -l DEBUG
|
||||||
20
poetry.lock
generated
20
poetry.lock
generated
@ -587,6 +587,20 @@ category = "main"
|
|||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=3.7"
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "honcho"
|
||||||
|
version = "1.1.0"
|
||||||
|
description = "Honcho: a Python clone of Foreman. For managing Procfile-based applications."
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = "*"
|
||||||
|
|
||||||
|
[package.dependencies]
|
||||||
|
colorama = {version = "*", markers = "sys_platform == \"win32\""}
|
||||||
|
|
||||||
|
[package.extras]
|
||||||
|
export = ["jinja2 (>=2.7,<3)"]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "httpcore"
|
name = "httpcore"
|
||||||
version = "0.16.3"
|
version = "0.16.3"
|
||||||
@ -1598,7 +1612,7 @@ testing = ["flake8 (<5)", "func-timeout", "jaraco.functools", "jaraco.itertools"
|
|||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "1.1"
|
lock-version = "1.1"
|
||||||
python-versions = "^3.8"
|
python-versions = "^3.8"
|
||||||
content-hash = "4b71b291b00a768d7d3c253a02faf70249d1f10ba85fcb88fc5c80fecb412332"
|
content-hash = "d57d0a79f04c3288d12d8a9fb3579e03fa514d1a130b11c28812150feeb66a06"
|
||||||
|
|
||||||
[metadata.files]
|
[metadata.files]
|
||||||
amqp = [
|
amqp = [
|
||||||
@ -2079,6 +2093,10 @@ h11 = [
|
|||||||
{file = "h11-0.14.0-py3-none-any.whl", hash = "sha256:e3fe4ac4b851c468cc8363d500db52c2ead036020723024a109d37346efaa761"},
|
{file = "h11-0.14.0-py3-none-any.whl", hash = "sha256:e3fe4ac4b851c468cc8363d500db52c2ead036020723024a109d37346efaa761"},
|
||||||
{file = "h11-0.14.0.tar.gz", hash = "sha256:8f19fbbe99e72420ff35c00b27a34cb9937e902a8b810e2c88300c6f0a3b699d"},
|
{file = "h11-0.14.0.tar.gz", hash = "sha256:8f19fbbe99e72420ff35c00b27a34cb9937e902a8b810e2c88300c6f0a3b699d"},
|
||||||
]
|
]
|
||||||
|
honcho = [
|
||||||
|
{file = "honcho-1.1.0-py2.py3-none-any.whl", hash = "sha256:a4d6e3a88a7b51b66351ecfc6e9d79d8f4b87351db9ad7e923f5632cc498122f"},
|
||||||
|
{file = "honcho-1.1.0.tar.gz", hash = "sha256:c5eca0bded4bef6697a23aec0422fd4f6508ea3581979a3485fc4b89357eb2a9"},
|
||||||
|
]
|
||||||
httpcore = [
|
httpcore = [
|
||||||
{file = "httpcore-0.16.3-py3-none-any.whl", hash = "sha256:da1fb708784a938aa084bde4feb8317056c55037247c787bd7e19eb2c2949dc0"},
|
{file = "httpcore-0.16.3-py3-none-any.whl", hash = "sha256:da1fb708784a938aa084bde4feb8317056c55037247c787bd7e19eb2c2949dc0"},
|
||||||
{file = "httpcore-0.16.3.tar.gz", hash = "sha256:c5d6f04e2fc530f39e0c077e6a30caa53f1451096120f1f38b954afd0b17c0cb"},
|
{file = "httpcore-0.16.3.tar.gz", hash = "sha256:c5d6f04e2fc530f39e0c077e6a30caa53f1451096120f1f38b954afd0b17c0cb"},
|
||||||
|
|||||||
@ -35,6 +35,7 @@ django-redis = "^5.2.0"
|
|||||||
pylast = "^5.1.0"
|
pylast = "^5.1.0"
|
||||||
django-encrypted-field = "^1.0.5"
|
django-encrypted-field = "^1.0.5"
|
||||||
celery = "^5.2.7"
|
celery = "^5.2.7"
|
||||||
|
honcho = "^1.1.0"
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
Werkzeug = "2.0.3"
|
Werkzeug = "2.0.3"
|
||||||
|
|||||||
18
todos.org
18
todos.org
@ -49,6 +49,15 @@ An example of the format:
|
|||||||
311 311 Misdirected Hostility 7 179 S 1740496085 61ff2c1a-fc9c-44c3-8da1-5e50a44245af
|
311 311 Misdirected Hostility 7 179 S 1740496085 61ff2c1a-fc9c-44c3-8da1-5e50a44245af
|
||||||
,
|
,
|
||||||
#+end_src
|
#+end_src
|
||||||
|
* DONE [#B] Allow scrobbling music without MB IDs by grabbing them before scrobble :improvement:
|
||||||
|
CLOSED: [2023-02-17 Fri 00:10]
|
||||||
|
|
||||||
|
This would allow a few nice flows. One, you'd be able to record the play of an
|
||||||
|
entire album by just dropping the muscibrainz_id in. This could be helpful for
|
||||||
|
offline listening. It would also mean bad metadata from mopidy would not break
|
||||||
|
scrobbling.
|
||||||
|
* DONE When updating musicbrainz IDs, clear and run fetch artwrok :improvement:
|
||||||
|
CLOSED: [2023-02-17 Fri 00:11]
|
||||||
* TODO [#A] Add ability to manually scrobble albums or tracks from MB :improvement:
|
* TODO [#A] Add ability to manually scrobble albums or tracks from MB :improvement:
|
||||||
|
|
||||||
Given a UUID from musicbrainz, we should be able to scrobble an album or
|
Given a UUID from musicbrainz, we should be able to scrobble an album or
|
||||||
@ -58,12 +67,6 @@ individual track.
|
|||||||
* TODO [#B] Adjust cancel/finish task to use javascript to submit :improvement:
|
* TODO [#B] Adjust cancel/finish task to use javascript to submit :improvement:
|
||||||
* TODO [#B] Implement a detail view for TV shows :improvement:
|
* TODO [#B] Implement a detail view for TV shows :improvement:
|
||||||
* TODO [#B] Implement a detail view for Moviews :improvement:
|
* TODO [#B] Implement a detail view for Moviews :improvement:
|
||||||
* TODO [#B] Allow scrobbling music without MB IDs by grabbing them before scrobble :improvement:
|
|
||||||
|
|
||||||
This would allow a few nice flows. One, you'd be able to record the play of an
|
|
||||||
entire album by just dropping the muscibrainz_id in. This could be helpful for
|
|
||||||
offline listening. It would also mean bad metadata from mopidy would not break
|
|
||||||
scrobbling.
|
|
||||||
* TODO [#C] Implement keeping track of week/month/year chart-toppers :improvement:
|
* TODO [#C] Implement keeping track of week/month/year chart-toppers :improvement:
|
||||||
:LOGBOOK:
|
:LOGBOOK:
|
||||||
CLOCK: [2023-01-30 Mon 16:30]--[2023-01-30 Mon 18:00] => 1:30
|
CLOCK: [2023-01-30 Mon 16:30]--[2023-01-30 Mon 18:00] => 1:30
|
||||||
@ -372,9 +375,8 @@ has to re-populate when the server restarts.
|
|||||||
}
|
}
|
||||||
#+end_src
|
#+end_src
|
||||||
* TODO [#C] Consider a purge command for duplicated and stuck in-progress scrobbles :improvement:
|
* TODO [#C] Consider a purge command for duplicated and stuck in-progress scrobbles :improvement:
|
||||||
* TODO Figure out how to add to web-scrobbler :imropvement:
|
* TODO [#C] Figure out how to add to web-scrobbler :imropvement:
|
||||||
|
|
||||||
An example:
|
An example:
|
||||||
https://github.com/web-scrobbler/web-scrobbler/blob/master/src/core/background/scrobbler/maloja-scrobbler.js
|
https://github.com/web-scrobbler/web-scrobbler/blob/master/src/core/background/scrobbler/maloja-scrobbler.js
|
||||||
|
|
||||||
* TODO When updating musicbrainz IDs, clear and run fetch artwrok :improvement:
|
|
||||||
|
|||||||
Reference in New Issue
Block a user