swingmx / swingmusic

Swing Music is a beautiful, self-hosted music player for your local audio files. Like a cooler Spotify ... but bring your own music.
https://swingmx.com
MIT License
678 stars 41 forks source link

On Linux Mint, starting swingmusic with ./swingmusic and browsing to http://localhost:1970 leads to a blank page and downloading of web page assets. #158

Closed githubdotcomuser closed 8 months ago

githubdotcomuser commented 8 months ago

Here is the output I get in terminal:


➤ http://localhost:1970
------------------------------

Data folder: /home/username/.config/swingmusic

WatchDogInfo: No root directories configured. Watchdog not started.
 * Serving Flask app 'app.api'
 * Debug mode: off

INFO|Loading tracks ...
  0%|                                             |0/0
INFO|Loading albums ...
  0%|                                             |0/0
INFO|Validating tracks ...
  0%|                                             |0/0
The root directory is not configured. Open the app in your webbrowser to configure.
INFO|Validating tracks ...
  0%|                                             |0/0
The root directory is not configured. Open the app in your webbrowser to configure.
INFO|Validating tracks ...
  0%|                                             |0/0
The root directory is not configured. Open the app in your webbrowser to configure.
INFO|Validating tracks ...
  0%|                                             |0/0
The root directory is not configured. Open the app in your webbrowser to configure.```
githubdotcomuser commented 8 months ago

This is what the Firefox console displays: Screenshot from 2023-11-14 21-46-41

cwilvx commented 8 months ago

@githubdotcomuser

Please check if the page works on incognito. Please check this stackoverflow answer.

https://stackoverflow.com/a/50556568

githubdotcomuser commented 8 months ago

@mungai-njoroge Thank you! It does seem to be an issue due to my enabled extensions, although I can't seem to single one out at the moment. But I think it might be either uBlock Origin or ClearURLs.

BTW, is there any plan to support Last.fm scrobbling natively or via the Web Scrobbler extension?

cwilvx commented 8 months ago

@githubdotcomuser

I haven't thought about it, but it can be added as a plugin once the in app analytics is set up.

githubdotcomuser commented 8 months ago

@githubdotcomuser

I haven't thought about it, but it can be added as a plugin once the in app analytics is set up.

That's good to hear! I hope it makes it to the list of options in the near future.