Code Monkey home page Code Monkey logo

Comments (6)

spl0k avatar spl0k commented on August 17, 2024

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.

apiontek avatar apiontek commented on August 17, 2024

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.

spl0k avatar spl0k commented on August 17, 2024

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.

apiontek avatar apiontek commented on August 17, 2024

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.

spl0k avatar spl0k commented on August 17, 2024

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.

apiontek avatar apiontek commented on August 17, 2024

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)

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.