Skip to content

Commit

Permalink
sort by disk
Browse files Browse the repository at this point in the history
  • Loading branch information
IrosTheBeggar committed Jan 27, 2020
1 parent 3efee29 commit 3b38769
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli-boot-wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if (config.error) {
const colors = require('colors');
console.clear();
console.log(colors.bold(`
v4.6.1 ____ _
v4.7.0 ____ _
_ __ ___ / ___|| |_ _ __ ___ __ _ _ __ ___
| '_ \` _ \\\\___ \\| __| '__/ _ \\/ _\` | '_ \` _ \\
| | | | | |___) | |_| | | __/ (_| | | | | | |
Expand Down
2 changes: 1 addition & 1 deletion modules/db-read/database-public-loki.js
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ exports.setup = function (mstream, program) {
{'album': { '$eq': album }},
artistClause
]
}).compoundsort(['track','filepath']).eqJoin(userMetadataCollection.chain(), leftFun, rightFunDefault, mapFunDefault).data();
}).compoundsort(['disk','track','filepath']).eqJoin(userMetadataCollection.chain(), leftFun, rightFunDefault, mapFunDefault).data();

for (let row of results) {
songs.push({
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mstream",
"version": "4.6.1",
"version": "4.7.0",
"description": "music streaming server",
"main": "cli-boot-wrapper.js",
"bin": {
Expand Down

0 comments on commit 3b38769

Please sign in to comment.