Comments (7)
-
Documentation is one of the major weak points of M-L-S, as already noted in #29. Please feel free to add any specific documentation requests there (or even better, start filling in "the blanks" yourself, but that's probably too much to ask for now...)
-
It's a mopidy-local-sqlite decision, which has its limitations/issues especially with multi-disc albums. See also #46, which also mentions the possibility of a path-based strategy, i.e. one directory - one album. See https://github.com/mopidy/mopidy-local-sqlite/blob/develop/mopidy_local_sqlite/library.py#L236 for the "URI-generation algorithm" which determines if two album models as passed by the scanner are considered to be identical.
from mopidy-local-sqlite.
I think you already mostly answered your question yourself: if no musicbrainz_id
tag is present (as added e.g. by beets
, Picard
and some other taggers), albums are grouped by all the album-related tags, including "album artist". This is by design, and the usual recommendation is to fix your tags, in this case make sure all tracks share the same album artist, and rescan.
from mopidy-local-sqlite.
Thanks for the update on that. It raises a couple of quick questions to which, if I had answers I'd save some time and effort I guess:
- Where is this documented? And if it isn't I'd see that as an issue, be happy to file it, and even to contribute what I learn to the documentation where appropriate. I guess I find the uniqueness criteria of albums pretty central to managing a media library and come from a background of, if it's in one folder it's probably one album, trumping the notion of tag integrity. Not that it matters so much what the priorities are as that they are clearly documented somewhere.
Best I've achieved is:
http://mopidy.readthedocs.io/en/latest/search/?q=album&check_keywords=yes&area=default
and homed in a little on:
https://docs.mopidy.com/en/latest/modules/local/?highlight=album
But a small pointer from an experienced perspective can save me some fishing around and I guess the observation is I haven't stumbled upon clear documentation.
- Is this uniqueness criterion made my the local-sqlite extension or before it gets there in the core of mopidy already? In short is it a decision that individual extension writers tackle with I guess and where would I look in the code to see this decision being made? Just curios really for upskilling my end I guess.
Either way, if it's behaviour by design AND documented I this issue is closed/resolved.
from mopidy-local-sqlite.
Thanks, duly noted and as time permits may well do. IMHO, configurable strategies is a desirable future that can support diverse local library management strategies. Which would simply mean that if I or someone implemented path URIs, it might be sensible to support enabling/disabling them via config file. Or? Basically options permit progress without demanding consensus.
from mopidy-local-sqlite.
There's already use_album_mbid_uri
for whether to use a MusicBrainzID tag, so I think a use_album_path_uri
config option could (and maybe should) be added pretty much the same way.
from mopidy-local-sqlite.
@bernd-wechner: Would you mind if we closed this, since it's basically a duplicate/discussion of #29/#46?
And for the record: General questions/discussions are of course welcome, but by Mopidy's more-or-less "informal" policies should be delegated to https://discuss.mopidy.com, with GitHub issues being reserved for actual "bugs".
This also has the benefit of more people having the opportunity to throw in their "2 cents" - though core devs such as @jodal and @adamcik are known have been notably silent on that channel lately ;-)
from mopidy-local-sqlite.
No worries, close away. I think #46 in particular covers it well!
from mopidy-local-sqlite.
Related Issues (20)
- Directories showing up empty after successful scan HOT 2
- Add mopidy-local-sqlite to mopidy's coveralls.io configuration HOT 2
- Remove "Folders" directory browsing
- Create develop branch and make it the default HOT 1
- Remove Mopidy <1.1 workarounds
- library.db stored in /var/lib/mopidy instead of "data_dir" path HOT 5
- Duplicate Albums with Same Name HOT 5
- [Question] MusicBrainz MBID HOT 2
- ERROR Local library sqlite not found when running Mopidy as a service HOT 10
- Timeout accessing the database HOT 2
- Sort Last Month's Updates by age HOT 1
- ImportError: No module named utils HOT 3
- Show original local file structure in musicbox-webclient HOT 1
- I cant see any artists or albums in MPDroid HOT 7
- Are more complicated directories possible? HOT 2
- Where is the database saved? HOT 3
- Can multiple Mopidy access the same database? HOT 2
- Auto rescan HOT 1
- Archive mopidy-local-sqlite once mopidy-local has been released 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 mopidy-local-sqlite.