Giter VIP home page Giter VIP logo

Comments (3)

izderadicka avatar izderadicka commented on June 5, 2024

I see, makes sense, but can get complicated on server side logic, now it's rather simple - any entry in directory structure is either directory (true directory or container) or media file. With proposed approach we will need to check, that if directory entry has only one child and it's container then collapse one level.
And there is also a corner case - directory of author with one m4b file - Smith John/Great Book.m4b - if we follow proposed approach then chapters will be directly under Smith John folder, which is probably not the desired outcome.
As per now it's left to user - they generally should not create an extra folder for containerized audiobook (but they can if they want), I think this way it's more simple (at least from implementation perspective).

from audioserve.

BansheeHero avatar BansheeHero commented on June 5, 2024

I see, I generally use folder and m4b since not all players treat m4b differently than single file.
In fact this is the first time I saw m4b being treated this way.

I do understand the difficulty implementing such a corner case.

from audioserve.

izderadicka avatar izderadicka commented on June 5, 2024

Implemented in current master branch- if the only audio content of directory is one m4b file its chapters are displayed directly in that folder. Actually I think this way you proposed is better (after having some m4b in my collection), it will enable to add cover and description to directory, plus search will work on dir name. If people like the old way these is an option --no-dir-collaps to switch it off.

from audioserve.

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.