GithubHelp home page GithubHelp logo

prince527github / swingsonic Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 0.0 118 KB

A translation layer allowing clients from other music servers to work with Swing Music.

License: GNU Affero General Public License v3.0

JavaScript 99.65% Dockerfile 0.35%
self-hosted subsonic music-server api-convertor euterpe jellyfin

swingsonic's Introduction

Swingsonic

Might have to find a new name...

A translation layer allowing clients from other music servers to work with Swing Music.

Supported

Note: Client compatibility varies; the percentages reflect my experience with client compatibility, not the entire API.

Images

Euterpe Euterpe Subtracks Subtracks Ultrasonic Ultrasonic Finamp Finamp

Docker

To use this with docker, simply deploy the following docker-compose.

version: '3'

services:
  app:
    image: ghcr.io/prince527github/swingsonic:main
    container_name: swingsonic
    ports:
      - 3000:3000
    volumes: # Use a config.json file for env (see below)
      - /PATH/config.json:/app/config.json
    environment:
      - SERVER_PORT=3000 # The port to listen on
      - SERVER_URL=http://ip:port # The public URL of this API
      - SERVER_API_SUBSONIC=true # Enable of disable Subsonic API implementation
      - SERVER_API_JELLYFIN=true # Enable of disable Jellyfin API implementation
      - SERVER_API_EUTERPE=true # Enable of disable Enterpe API implementation
      - SERVER_USERS_0_USERNAME=test # First user's username
      - SERVER_USERS_0_PASSWORD=test # First user's password
      - SERVER_PROXY=true # Whether to proxy the content
      - MUSIC_URL=http://ip:port # The URL of your Swing Music server

swingsonic's People

Contributors

prince527github avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

swingsonic's Issues

Docker image

Greetings, would it be possible to add a workflow to publish to a docker registry

Setup Clarification

Hello, thanks for making this. It isn't clear to me from reading the project page but does this app provide a way of synchronising playlists, likes, and playlist history between Jellyfin and Swing Music?

If so, could you please give me a little help to get my instance running? Am I correct in thinking for Jellyfin the following should be filled out like this...

  - SERVER_PORT Is this supposed to be the port of Jellyfin?
  - SERVER_URL Is this the IP address and port of Jellyfin? Is an internal address ok?
  - SERVER_USERS_0_USERNAME Is this the Jellyfin username?

Every time I try, Docker throws this error:

swingsonic | node:internal/modules/cjs/loader:1146
swingsonic | throw err;
swingsonic | ^
swingsonic |
swingsonic | Error: Cannot find module './config.json'
swingsonic | Require stack:
swingsonic | - /app/index.js
swingsonic | at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
swingsonic | at Module._load (node:internal/modules/cjs/loader:984:27)
swingsonic | at Module.require (node:internal/modules/cjs/loader:1231:19)
swingsonic | at require (node:internal/modules/helpers:179:18)
swingsonic | at Object. (/app/index.js:4:53)
swingsonic | at Module._compile (node:internal/modules/cjs/loader:1369:14)
swingsonic | at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
swingsonic | at Module.load (node:internal/modules/cjs/loader:1206:32)
swingsonic | at Module._load (node:internal/modules/cjs/loader:1022:12)
swingsonic | at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) {
swingsonic | code: 'MODULE_NOT_FOUND',
swingsonic | requireStack: [ '/app/index.js' ]
swingsonic | }
swingsonic |
swingsonic | Node.js v20.12.0
swingsonic exited with code 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.