-
+ |
No Tracks found
|
-
+ |
explicit
{{ track.title + (track.title_version && track.title.indexOf(track.title_version) == -1 ? ' '+ track.title_version : '') }}
|
-
+ |
{{track.artist.name}}
|
-
+ |
{{track.album.title}}
|
-
+ |
{{convertDuration(track.duration)}}
|
-
+ |
get_app
@@ -408,38 +411,42 @@ Charts
-
-
-
- {{ track.position }}
- |
-
-
-
- play_arrow
-
-
- |
-
- {{ track.title + (track.title_version && track.title.indexOf(track.title_version) == -1 ? ' '+ track.title_version : '') }}
- |
-
- {{track.artist.name}}
- |
-
- {{track.album.title}}
- |
-
- {{convertDuration(track.duration)}}
- |
-
- get_app
- |
-
+
+
+
+
+ {{ track.position }}
+ |
+
+
+
+ play_arrow
+
+
+
+ |
+
+ {{ track.title + (track.title_version && track.title.indexOf(track.title_version) == -1 ? ' '+ track.title_version : '') }}
+ |
+
+ {{track.artist.name}}
+ |
+
+ {{track.album.title}}
+ |
+
+ {{convertDuration(track.duration)}}
+ |
+
+ get_app
+ |
+
+
@@ -1198,61 +1205,75 @@ {{ metadata }}{{ release_date }}
-
+
-
+ |
+ music_note
|
-
+ | # |
+ Song |
+ Artist |
+ Album |
+
+ timer
+ |
+
|
-
+
-
-
- play_arrow
-
-
- play_arrow
-
+ |
+
+
+ play_arrow
+
+
|
-
- {{ track.track_position }}
+ |
+ {{ type === 'Album' ? track.track_position : (body.indexOf(track) + 1) }}
|
-
-
- explicit
-
- {{ track.title + (track.title_version && track.title.indexOf(track.title_version) == -1 ? ' '+ track.title_version : '') }}
+ |
+
+
+ explicit
+
+ {{ track.title + (track.title_version && track.title.indexOf(track.title_version) == -1 ? ' '+ track.title_version : '') }}
+
|
-
+ |
{{ track.artist.name }}
|
-
+ |
{{ track.album.title }}
|
-
+ |
{{ convertDuration(track.duration) }}
|
-
-
+ |
+
|
-
-
-
- album
-
+ |
+
+
+ album
+
+ |
+
{{ track.number }}
|
+ |
@@ -1272,7 +1293,7 @@ {{ metadata }}
+ |
diff --git a/public/js/bundle.js b/public/js/bundle.js
index 4275cda..90f39e5 100644
--- a/public/js/bundle.js
+++ b/public/js/bundle.js
@@ -40956,9 +40956,8 @@ const TracklistTab = new Vue({
{ title: 'Artist' },
{ title: 'timer', width: '40px' }
];
- if (lodash.isEmpty(data.tracks)) {
- console.log('show e lodash ok');
+ if (lodash.isEmpty(data.tracks)) {
this.body = null;
} else {
this.body = data.tracks;
@@ -40979,6 +40978,7 @@ const TracklistTab = new Vue({
{ title: 'Album' },
{ title: 'timer', width: '40px' }
];
+
if (lodash.isEmpty(data.tracks)) {
this.body = null;
} else {
diff --git a/public/js/bundle.js.map b/public/js/bundle.js.map
index ea7f12f..e46dac6 100644
--- a/public/js/bundle.js.map
+++ b/public/js/bundle.js.map
@@ -1 +1 @@
-{"version":3,"file":"bundle.js","sources":["../../node_modules/jquery/dist/jquery.js","../../src/js/modules/socket.js","../../node_modules/toastify-js/src/toastify.js","../../src/js/modules/toasts.js","../../src/js/modules/downloads.js","../../src/js/modules/quality-modal.js","../../node_modules/lodash/lodash.js","../../node_modules/vue/dist/vue.esm.js","../../src/js/modules/components/artist-tab.js","../../src/js/modules/track-preview.js","../../src/js/modules/components/tracklist-tab.js","../../src/js/modules/utils.js","../../src/js/modules/components/link-analyzer-tab.js","../../src/js/modules/components/home-tab.js","../../src/js/modules/components/charts-tab.js","../../src/js/modules/components/favorites-tab.js","../../src/js/modules/components/settings-tab.js","../../src/js/modules/components/main-search.js","../../src/js/modules/tabs.js","../../src/js/modules/search.js","../../src/js/app.js"],"sourcesContent":["/*!\n * jQuery JavaScript Library v3.5.1\n * https://jquery.com/\n *\n * Includes Sizzle.js\n * https://sizzlejs.com/\n *\n * Copyright JS Foundation and other contributors\n * Released under the MIT license\n * https://jquery.org/license\n *\n * Date: 2020-05-04T22:49Z\n */\n( function( global, factory ) {\n\n\t\"use strict\";\n\n\tif ( typeof module === \"object\" && typeof module.exports === \"object\" ) {\n\n\t\t// For CommonJS and CommonJS-like environments where a proper `window`\n\t\t// is present, execute the factory and get jQuery.\n\t\t// For environments that do not have a `window` with a `document`\n\t\t// (such as Node.js), expose a factory as module.exports.\n\t\t// This accentuates the need for the creation of a real `window`.\n\t\t// e.g. var jQuery = require(\"jquery\")(window);\n\t\t// See ticket #14549 for more info.\n\t\tmodule.exports = global.document ?\n\t\t\tfactory( global, true ) :\n\t\t\tfunction( w ) {\n\t\t\t\tif ( !w.document ) {\n\t\t\t\t\tthrow new Error( \"jQuery requires a window with a document\" );\n\t\t\t\t}\n\t\t\t\treturn factory( w );\n\t\t\t};\n\t} else {\n\t\tfactory( global );\n\t}\n\n// Pass this if window is not defined yet\n} )( typeof window !== \"undefined\" ? window : this, function( window, noGlobal ) {\n\n// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1\n// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode\n// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common\n// enough that all such attempts are guarded in a try block.\n\"use strict\";\n\nvar arr = [];\n\nvar getProto = Object.getPrototypeOf;\n\nvar slice = arr.slice;\n\nvar flat = arr.flat ? function( array ) {\n\treturn arr.flat.call( array );\n} : function( array ) {\n\treturn arr.concat.apply( [], array );\n};\n\n\nvar push = arr.push;\n\nvar indexOf = arr.indexOf;\n\nvar class2type = {};\n\nvar toString = class2type.toString;\n\nvar hasOwn = class2type.hasOwnProperty;\n\nvar fnToString = hasOwn.toString;\n\nvar ObjectFunctionString = fnToString.call( Object );\n\nvar support = {};\n\nvar isFunction = function isFunction( obj ) {\n\n // Support: Chrome <=57, Firefox <=52\n // In some browsers, typeof returns \"function\" for HTML |