Comments (6)
It's already there.
Jamstash lists the folders, but as you already noticed the dropdown doesn't do anything.
For DSub you have to disable browse via tags in the server settings.
from supysonic.
Strange. One doesn't need to disable "browse via tags" in settings for Subsonic, and disabling "browse via tags" causes all sorts of problems because I have things organized in ways suited to software that reads tags and browses by tags, and organized differently in my filesystem.
Having it work with "browse via tags" enabled would be ideal.
from supysonic.
I did some tests with DSub 5.3.5, supysonic 4d3809a and libresonic 6.2.
The same folders are defined on both servers, both got the same settings in DSub with browse via tags enabled. And they both never display the folders.
On which DSub screen did you notice this behaviour?
from supysonic.
I'm using DSub v.5.3.5 with Subsonic 6.1 (6.1.3 now), and have just begun testing Airsonic 10.1.0. Supysonic was just updated to commit 6f713e1. (I'm unlikely to bother with libresonic, it's not seen activity since May and active devs forked to Airsonic.)
This is on the DSub Library screen for each server.
Subsonic w/Browse By Tags enabled:
- Folders are selectable.
- Choosing Audiobooks, I see only my audiobooks. Choosing Podcasts, I see only my Podcasts. Choosing Music, I see only my Music.
- Files are organized by tag metadata.
Subsonic w/Browse By Tags disabled:
- Folders are selectable.
- Choosing Audiobooks, I see only my audiobooks. Choosing Podcasts, I see only my Podcasts. Choosing Music, I see only my Music.
- Files are organized by folder/file names.
Airsonic w/Browse By Tags enabled:
- Folders are selectable.
- Choosing Audiobooks, I see all files. Choosing Podcasts, I see all files. Choosing Music, I see all files. So, selecting a folder is possible, but does nothing.
- Files are organized by tag metadata.
Airsonic w/Browse By Tags disabled:
- Folders are selectable.
- Choosing Audiobooks, I see only my audiobooks. Choosing Podcasts, I see only my Podcasts. Choosing Music, I see only my Music.
- Files are organized by folder/file names.
Supysonic w/Browse By Tags enabled:
- No folder selection available. One big list of artist tags.
- Not Applicable.
- Files are organized by tag metadata.
Supysonic w/Browse By Tags disabled:
- Folders are selectable.
- Choosing Audiobooks, I see only my audiobooks. Choosing Podcasts, I see only my Podcasts. Choosing Music, I see only my Music.
- Files are organized by folder/file names.
Preferred behavior, it would seem to me, would be Subsonic's. Airsonic is close but broken. I've submitted a ticket there.
from supysonic.
I did a quick comparison between API versions. In the most recent (1.16.0, with Subsonic 6.1.2) the getArtists
endpoint (which lists artists according to id3 tags) accepts an optional musicFolderId
parameter which didn't exist by the time of 1.8.0 (supysonic's target, Subsonic 4.7).
The musicFolderId
parameter seems to have been introduced with API version 1.14.0 (Subsonic 6.0). See API pages for versions 1.13.0 and 1.14.0.
Changing supysonic so it advertises itself as supporting the 1.14.0 API makes DSub display the folder selector and use the musicFolderId
when picking a folder.
One strange thing is that this parameter doesn't exist for the getArtist
endpoint (which lists albums by a specific artist). That would suggest that if an artist is found in two folders, you would get all its albums regardless of which folder you selected in DSub.
I'll note this as a future enhancement, but please bear in mind that even if it's in my plans, implementing other API features isn't what I'm focusing on at the moment.
Keeping a reference to your issue on Airsonic.
airsonic/airsonic#616
from supysonic.
That makes sense! I was starting to think it might be an API difference. That is strange that getartist
wouldn't honor this separation, but given the idea of using media folders for different kinds of media, it's maybe unlikely that one would have the same artist across them? (i.e. Lady Gaga is unlikely to be an artist in "Podcasts" or "Movies" media folders)
Thanks for investigating. If it's not in your project's scope, that's fair enough.
from supysonic.
Related Issues (20)
- API should return HTTP 200 for failed/unknown endpoints HOT 2
- Testsuite failure using ponyorm v0.7.15rc1 (py3.9 and py3.10) HOT 2
- Pip failure on Windows HOT 3
- Running in PyCharm HOT 1
- Cyrillic letters in tags fail the playback / disable lyrics function? HOT 7
- jukebox mode skipping over songs HOT 2
- FR: Reach API level 1.11.0 HOT 6
- supysonic-server command not available HOT 2
- Testsuite failure with Python 3.11 HOT 9
- supysonic-daemon as normal user HOT 2
- supysonic-daemon settings HOT 5
- PostgreSQL error HOT 8
- Ongoing work to extend subsonic API HOT 7
- Error during migration with 7.4 HOT 2
- Intermittent '500 Internal Server Error' (possibly due to postgres query syntax) HOT 3
- Server error when accessing starred albums
- [Enchancement] Gunicorn request size limit HOT 3
- peewee.OperationalError: Server has gone away HOT 3
- Multiple artist albums have only 1 track HOT 4
- ValueError: badly formed hexadecimal UUID string in getAlbum.view HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from supysonic.