Prince527GitHub / Swingsonic

A translation layer allowing clients from other music servers to work with Swing Music.
GNU Affero General Public License v3.0
9 stars 0 forks source link

Setup Clarification #2

Open snppls opened 2 months ago

snppls commented 2 months ago

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

Prince527GitHub commented 2 months ago

Thank you for making an issue and sorry for the late reply,

To be honest, I'm not the best at making projects other people use so sorry if its a bit shit, but il try my best to answer your questions.

app provide a way of synchronising playlists, likes, and playlist history between Jellyfin and Swing Music

No, the app only allow users to use clients from other music servers with Swing Music, it cant sync/move anything. This project is just for allowing people to use Finamp, Subtracks, Ultrasonic or any other app/client compatible with Jellyfin, Subsonic and Euterpe with Swing Music. (sorry if my explanation sucked)

Every time I try, Docker throws this error

This is just a bug, thanks for pointing it out. To be honest, I never really tried the docker image but I suspected it would work the same but I guess thats not the case. So, thank you 😊!