12 Commits

Author SHA1 Message Date
78fc11cdb7 Build tagging.
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-17 08:41:53 +01:00
9f8754476c FIX Pipfile.lock dependencies.
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-19 00:35:34 +01:00
93289cfcdf Add ALSA mixer
Some checks failed
continuous-integration/drone/push Build was killed
Remove gmusic and add ytmusic and radionet
FIX Path to binary is /usr/local/bin/mopidy
2022-11-19 00:22:20 +01:00
369f37ef52 Build without safety check.
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-18 23:19:00 +01:00
81890d0ade Revert "Updated pip lock using "pipenv lock""
Some checks failed
continuous-integration/drone/push Build is failing
This reverts commit d2aa4a256d.

Pip.lock modified with added mopidy-jellyfin.
2022-11-18 22:58:13 +01:00
d2aa4a256d Updated pip lock using "pipenv lock"
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-18 22:32:54 +01:00
54554f16c9 Install plugins through the Pipfile.
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-18 22:06:19 +01:00
3b91c17087 Install plugins through pip as packages do not exist.
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-18 21:22:30 +01:00
21635c5bf6 Go back to buster and safe the GPG according to https://docs.mopidy.com/en/latest/installation/debian/.
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-18 20:54:46 +01:00
a40ad33aa6 Package python3-crypto renamed.
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-18 20:17:42 +01:00
837e0b1e40 Build broken, upgrade to bullseye and added Jellyfin and Iris plugins.
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-18 20:14:03 +01:00
158382e3bb Drone build.
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-18 19:40:59 +01:00
4 changed files with 73 additions and 18 deletions

16
.drone.yml Normal file
View File

@@ -0,0 +1,16 @@
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
registry: https://git.ivasoft.cz
username:
from_secret: repo_user
password:
from_secret: repo_pass
repo: git.ivasoft.cz/sw/mopidy
tags:
- latest
- ${DRONE_TAG:-latest}

View File

@@ -19,11 +19,13 @@ RUN set -ex \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.cache
RUN set -ex \
&& curl -L https://apt.mopidy.com/mopidy.gpg | apt-key add - \
&& mkdir -p /usr/local/share/keyrings \
&& curl -L https://apt.mopidy.com/mopidy.gpg -o /usr/local/share/keyrings/mopidy-archive-keyring.gpg \
&& curl -L https://apt.mopidy.com/mopidy.list -o /etc/apt/sources.list.d/mopidy.list \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
mopidy \
mopidy-alsamixer \
mopidy-soundcloud \
mopidy-spotify \
# Clean-up
@@ -61,14 +63,14 @@ RUN set -ex \
USER mopidy
# Basic check,
RUN /usr/bin/dumb-init /entrypoint.sh /usr/bin/mopidy --version
RUN /usr/bin/dumb-init /entrypoint.sh /usr/local/bin/mopidy --version
VOLUME ["/var/lib/mopidy/local", "/var/lib/mopidy/media"]
EXPOSE 6600 6680 5555/udp
ENTRYPOINT ["/usr/bin/dumb-init", "/entrypoint.sh"]
CMD ["/usr/bin/mopidy"]
CMD ["/usr/local/bin/mopidy"]
HEALTHCHECK --interval=5s --timeout=2s --retries=20 \
CMD curl --connect-timeout 5 --silent --show-error --fail http://localhost:6680/ || exit 1

View File

@@ -9,11 +9,13 @@ verify_ssl = true
youtube-dl = "*"
mopidy-iris = "*"
mopidy-moped = "*"
mopidy-gmusic = "*"
mopidy-pandora = "*"
mopidy-youtube = "*"
mopidy-ytmusic = "*"
mopidy-local = "*"
mopidy-mpd = "*"
mopidy-jellyfin = "*"
mopidy-radionet = "*"
pyopenssl = "*"
[requires]

63
Pipfile.lock generated
View File

@@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
"sha256": "742646057be0224cd34599722dd93c6bbf0506b16ab174d9d7f37388eca52f73"
"sha256": "2c66e2f4674770456969779765f35103ee15fcfc738ba2effc9d313828097a20"
},
"pipfile-spec": 6,
"requires": {
@@ -237,14 +237,6 @@
"markers": "python_version >= '3.7'",
"version": "==3.1.1"
},
"mopidy-gmusic": {
"hashes": [
"sha256:9b00dafeef14748719ee0cfad568f90f270d1bbe3109bbdc57914cd70ddc3969",
"sha256:da8d64352e8b3ff57c91cc89bd9c17babd80dd176921b0f5522943c125207004"
],
"index": "pypi",
"version": "==4.0.1"
},
"mopidy-iris": {
"hashes": [
"sha256:a2fb084194824f1472cb9319d6c2b78cb56f27f0faa7e850ad649b752e6155af"
@@ -252,6 +244,13 @@
"index": "pypi",
"version": "==3.58.0"
},
"mopidy-jellyfin": {
"hashes": [
"sha256:9f2d2ee8774e9590ac988cd9b90d6baa5f9bbc7537c6487c21dc212551cd1fd7"
],
"index": "pypi",
"version": "==1.0.4"
},
"mopidy-local": {
"hashes": [
"sha256:20e142397664d4348a0868e255d1b6e55fffd6c507fc2afda2314a4de885b38d",
@@ -283,6 +282,14 @@
"index": "pypi",
"version": "==1.1.1"
},
"mopidy-radionet": {
"hashes": [
"sha256:1ba5e0254d06efd1cd41c2b773f5b428af47e8f26e8f76a21e7610eb8d411655",
"sha256:a8944a8efd22a34f975ca75a3ba4c7aa9adf7589452e6fddb40b3f80edfbd333"
],
"index": "pypi",
"version": "==0.2.2"
},
"mopidy-youtube": {
"hashes": [
"sha256:b42c11acdfb9ebe8f96455a2bb13325980803a3ed14b5b5b7c9b45677032e73f",
@@ -291,6 +298,14 @@
"index": "pypi",
"version": "==3.4"
},
"mopidy-ytmusic": {
"hashes": [
"sha256:38b38ebdffbc8fc4583944c87506b805861b8888eac308dbda787e6747dc123f",
"sha256:398b47d8ffa547cd906434c02a2eac019be99cd70bc178b254e3069d43dff846"
],
"index": "pypi",
"version": "==0.3.7"
},
"mutagen": {
"hashes": [
"sha256:6397602efb3c2d7baebd2166ed85731ae1c1d475abca22090b7141ff5034b3e1",
@@ -444,6 +459,13 @@
"index": "pypi",
"version": "==20.0.1"
},
"pytube": {
"hashes": [
"sha256:6de1f3a4cb125dd6ff912598c7e88a866325a63cc91755cae616f53c40ae5503",
"sha256:c2e4b1ffdf9eca4c287f881557a6b4f98dd287ecfa06e2e5d5936d39c5f4d8da"
],
"version": "==12.1.0"
},
"pyparsing": {
"hashes": [
"sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1",
@@ -539,6 +561,13 @@
"markers": "python_version >= '3.5'",
"version": "==6.1"
},
"unidecode": {
"hashes": [
"sha256:547d7c479e4f377b430dd91ac1275d593308dce0fc464fb2ab7d41f82ec653be",
"sha256:fed09cf0be8cf415b391642c2a5addfc72194407caee4f98719e40ec2a72b830"
],
"version": "==1.3.6"
},
"uritools": {
"hashes": [
"sha256:28ffef82ce3b2793237d36e45aa7cde28dae6502f6a93fdbd05ede401520e279",
@@ -555,6 +584,13 @@
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4.0'",
"version": "==1.26.6"
},
"websocket-client": {
"hashes": [
"sha256:d6b06432f184438d99ac1f456eaf22fe1ade524c3dd16e661142dc54e9cba574",
"sha256:d6e8f90ca8e2dd4e8027c4561adeb9456b54044312dba655e7cae652ceb9ae59"
],
"version": "==1.4.2"
},
"validictory": {
"hashes": [
"sha256:3a87b84658592f75f37d6bab77ac223774c9989dc7349c8aad19a424770835ba",
@@ -572,12 +608,11 @@
},
"ytmusicapi": {
"hashes": [
"sha256:9a249cc53efd6408034f401a9a4375272a9b339e8eb64f3a2e713a1ccd06d55b",
"sha256:a4c02ced108a70da41a690ce3fb9c643acdc93076e40356eaeb4ae55a053ac9c"
"sha256:099e2ea16e141e7e42f8c724417cac4ddc9d680a67f7d6f45029c5e513dbec32",
"sha256:d042520f3f76eac2c1498130dbc4e8a4af21ca73496590a5ff054fc4da0af1d8"
],
"markers": "python_version >= '3.5'",
"version": "==0.17.3"
"version": "==0.22.0"
}
},
"develop": {}
}
}