Giter Club home page Giter Club logo

Comments (5)

paulijar avatar paulijar commented on July 20, 2024 1

Music v1.11.0 now has the Advanced search view which, among other things, allows finding tracks based on the file extension. As that more or less fills the original need described in the OP, I'm closing this issue.

from music.

djtulan avatar djtulan commented on July 20, 2024 1

The Advanced search view works fine for my needs!

from music.

paulijar avatar paulijar commented on July 20, 2024

IMHO, feature like this wouldn't be useful so often and for so many users that it would justify spending the development time and effort needed. Every new feature has the opportunity cost, as there are plenty of alternative features where the same time could be used instead, and the time is a scarce resource.

However, I'm currently working on adding an "Advanced search" view which could be used to dig out also this data by running a few queries on the scanned songs: it will be possible to search e.g. with a rule like "search all songs with filename ending with '.flac'", among the countless other alternatives.

As of today in Music v1.10.0, the similar advanced search feature is already available in the Ampache API. To my knowledge, Ample is the only client which enables you to use this part of the API.

Your other alternative would be to query this directly from the database. Something like this should work:

select mimetype, count(id) from oc_music_tracks where user_id='your_username' group by mimetype;

from music.

djtulan avatar djtulan commented on July 20, 2024

Do you have any experience to run Ample on a separate server?
I always get CORS errors, because the ample js trys to load code from my nextcloud server.
Any solution how to allow my webserver to access my nextclound music app?

from music.

paulijar avatar paulijar commented on July 20, 2024

No, I haven't tried that. I believe I have read from the Ample page that its developer has intended the Ample sw to be installed on the same server with the Ampache back-end. And if someone wants to use it some other way, then it will be up to the user to solve any CORS issues caused by this. But what would this require, I don't know.

from music.

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.