cb206fc50356fb7f9865ad478b6966a90762f027
[DeezloaderRemix.git] / app / views / index.ejs
1 <!DOCTYPE html>
2 <html>
3 <head>
4         <title>Deezloader Remix</title>
5         <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
6         <link rel="stylesheet" type="text/css" href="css/material-icons.css"/>
7         <link rel="stylesheet" type="text/css" href="css/materialize.min.css"/>
8         <link rel="stylesheet" type="text/css" href="css/animate.css">
9         <link rel="stylesheet" type="text/css" href="css/style.css"/>
10         <link rel="stylesheet" type="text/css" href="css/darkMode.css" name="darkMode" disabled/>
11         <script type='text/javascript'>
12                 if (eval(localStorage.darkMode)){
13                         document.getElementsByName("darkMode")[0].removeAttribute("disabled");
14                 }
15         </script>
16         <meta charset="utf-8"/>
17 </head>
18 <body>
19 <span id="appVersionFallback" hidden>4.2.3</span>
20
21 <div id="title-bar" class="deezloader-black">
22         <div class="resize-padding" style="width: 100%; height: 3px;"></div>
23         <div class="resize-padding" style="width: 3px; height: 31px;"></div>
24         <div id="title">Deezloader Remix v<span id="application_version"></span></div>
25
26         <div id="title-bar-btns">
27                 <button id="min-btn"><i class="material-icons">remove</i></button>
28                 <button id="max-btn"><i class="material-icons">add</i></button>
29                 <button id="close-btn"><i class="material-icons">close</i></button>
30         </div>
31
32         <div class="resize-padding" style="position: absolute; top:0; right:0px; width: 3px; height: 31px;"></div>
33 </div>
34
35 <!--#############################################INITIALIZING-SCREEN############################################-->
36 <div id="initializing" class="valign-wrapper">
37         <div class="modal-content container" id="login-page">
38                 <div class="card">
39                         <div class="card-content">
40                                 <span class="card-title"><%= __('Please login to your deezer account')%>.</span>
41                                 <h6 class="red-text" id="login-res-text"></h6>
42                                 <div id="login-form-client-mode">
43                                         <div class="input-field col s12">
44                                                 <input autocomplete="off" type="text" id="modal_login_input_username"/>
45                                                 <label for="modal_login_input_username"><%= __('Email')%></label>
46                                         </div>
47                                         <div class="input-field col s12">
48                                                 <input autocomplete="off" type="password" id="modal_login_input_password"/>
49                                                 <label for="modal_login_input_password"><%= __('Password')%></label>
50                                         </div>
51                                         <input id="modal_login_input_captchaResponse" type="hidden" value=""/>
52                                         <!--<iframe id="modal_login_iframe_captcha" src="cap://deezer.com/"></iframe>-->
53                                 </div>
54                                 <div id="login-form-server-mode">
55                                         <div class="input-field col s12">
56                                                 <input autocomplete="off" type="password" id="modal_login_input_userToken"/>
57                                                 <label for="modal_login_input_userToken"><%= __('userToken')%></label>
58                                         </div>
59                                         <p><a href="https://notabug.org/RemixDevs/DeezloaderRemix/wiki/Login+via+userToken" target="_blank"><%= __('How do I get my userToken?')%></a></p>
60                                 </div>
61                         </div>
62                         <div class="card-action row">
63                                 <a href="#" class="deezloader-primary col s12 m2 waves-effect waves-light btn" id="modal_login_btn_login"><%= __('Log in')%></a>
64                                 <a href="#" class="deezloader-secondary col s12 m2 waves-effect waves-light btn" id="modal_login_btn_signup"><%= __('Sign up')%></a>
65                         </div>
66                 </div>
67         </div>
68 </div>
69
70 <!--#############################################MODAL_SETTINGS############################################-->
71 <div id="modal_settings" class="modal modal-fixed-footer">
72         <div class="modal-content">
73                 <h4 class="col s12"><%= __('Settings')%></h4>
74
75                 <h6 class="col s12 secondary-text"><%= __('Path Settings')%></h6><hr>
76                 <div class="row">
77                         <div class="input-field col s12">
78                                 <input autocomplete="off" type="text" id="modal_settings_input_downloadTracksLocation"/>
79                                 <label for="modal_settings_input_downloadTracksLocation"><%= __('Download folder path')%></label>
80                         </div>
81                 </div>
82
83                 <div class="row">
84                         <div class="input-field col s12">
85                                 <input autocomplete="off" type="text" id="modal_settings_input_trackNameTemplate"/>
86                                 <label for="modal_settings_input_trackNameTemplate"><%= __('Tracknames template')%> <i class="material-icons valignicon tiny tooltipped" data-position="right" data-delay="50"
87                                         data-tooltip="<%= __('Supported variables are')%>: %title%, %album%, %artist%, %year%, %date%, %label%, %number%, %disc%, %isrc%, %explicit%, %genre%">info_outline</i></label>
88                         </div>
89                 </div>
90
91                 <div class="row">
92                         <div class="input-field col s12 m6">
93                                 <input autocomplete="off" type="text" id="modal_settings_input_albumTrackNameTemplate"/>
94                                 <label for="modal_settings_input_albumTrackNameTemplate"><%= __('Album tracknames template')%> <i class="material-icons valignicon tiny tooltipped" data-position="right" data-delay="50"
95                                         data-tooltip="<%= __('Supported variables are')%>: %title%, %album%, %artist%, %year%, %date%, %label%, %number%, %disc%, %isrc%, %explicit%, %genre%">info_outline</i></label>
96                         </div>
97                         <div class="input-field col s12 m6">
98                                 <input autocomplete="off" type="text" id="modal_settings_input_albumNameTemplate"/>
99                                 <label for="modal_settings_input_albumNameTemplate"><%= __('Album names template')%> <i class="material-icons valignicon tiny tooltipped" data-position="right" data-delay="50"
100                                         data-tooltip="<%= __('Supported variables are')%>: %album%, %artist%, %year%, %date%, %bitrate%, %type%, %label%, %album_id%, %upc%, %explicit%, %genre%">info_outline</i></label>
101                         </div>
102                 </div>
103
104                 <div class="row">
105                         <div class="input-field col s12">
106                                 <input autocomplete="off" type="text" id="modal_settings_input_playlistTrackNameTemplate"/>
107                                 <label for="modal_settings_input_playlistTrackNameTemplate"><%= __('Playlist tracknames template')%> <i class="material-icons valignicon tiny tooltipped" data-position="right" data-delay="50"
108                                         data-tooltip="<%= __('Supported variables are')%>: %title%, %album%, %artist%, %year%, %date%, %label%, %number%, %position%, %disc%, %isrc%, %explicit%, %genre%">info_outline</i></label>
109                         </div>
110                 </div>
111
112                 <h6 class="col s12 secondary-text"><%= __('More Path Settings')%></h6><hr>
113                 <div class="row">
114                         <div class="col s12 switch settings_switch">
115                                 <span><%= __('Create folders for Artists')%></span>
116                                 <label>
117                                         <input type="checkbox" id="modal_settings_cbox_createArtistFolder"/>
118                                         <span class="lever"></span>
119                                 </label>
120                         </div>
121                         <div class="col s12 switch settings_switch">
122                                 <span><%= __('Create folders for Albums')%></span>
123                                 <label>
124                                         <input type="checkbox" id="modal_settings_cbox_createAlbumFolder"/>
125                                         <span class="lever"></span>
126                                 </label>
127                         </div>
128                         <div class="col s12 switch settings_switch">
129                                 <span><%= __('Create folders for CDs')%></span>
130                                 <label>
131                                         <input type="checkbox" id="modal_settings_cbox_createCDFolder" class="filled-in"/>
132                                         <span class="lever"></span>
133                                 </label>
134                         </div>
135                         <div class="col s12 switch settings_switch">
136                                 <span><%= __('Create Artist, Albums and CDs folders for Playlists too')%></span>
137                                 <label>
138                                         <input type="checkbox" id="modal_settings_cbox_createFoldersPlaylist" class="filled-in"/>
139                                         <span class="lever"></span>
140                                 </label>
141                         </div>
142                         <div class="col s12 switch settings_switch">
143                                 <span><%= __('Write all Artists in track filename')%></span>
144                                 <label>
145                                         <input type="checkbox" id="modal_settings_cbox_saveFullArtists" class="filled-in"/>
146                                         <span class="lever"></span>
147                                 </label>
148                         </div>
149                         <div class="col s12 switch settings_switch">
150                                 <span class="tooltipped" data-position="top" data-delay="500"
151                                         data-tooltip="<%= __('Adds 0s before %number% to have the same character length')%>"><%= __('Add padding to track numbers')%></span>
152                                 <label>
153                                         <input type="checkbox" id="modal_settings_cbox_padtrck" class="filled-in"/>
154                                         <span class="lever"></span>
155                                 </label>
156                         </div>
157                         <div class="input-field col s12">
158                                 <input autocomplete="off" type="number" id="modal_settings_number_paddingSize" min="0"/>
159                                 <label for="modal_settings_number_paddingSize"><%= __('Overwrite padding size')%></label>
160                         </div>
161                 </div>
162
163                 <h6 class="col s12 secondary-text"><%= __('App Settings')%></h6><hr>
164                 <div class="row">
165                         <div class="input-field col s12 m6">
166                                 <input autocomplete="off" type="number" id="modal_settings_number_queueConcurrency" min="1"/>
167                                 <label for="modal_settings_number_queueConcurrency"><%= __('Concurrent download limit')%></label>
168                         </div>
169                         <div class="input-field col s12 m6">
170                                 <select name="maxBitrate" id="modal_settings_select_maxBitrate">
171                                         <option value="9">FLAC 1411kbps</option>
172                                         <option value="3">MP3 320kbps</option>
173                                         <option value="1">MP3 128kbps</option>
174                                 </select>
175                                 <label for="modal_settings_select_maxBitrate"><%= __('Preferred bitrate')%></label>
176                         </div>
177                         <div class="input-field col s12 m6">
178                                 <select name="lang" id="modal_settings_select_lang">
179                                         <option value="en">English</option>
180                                         <option value="it">Italiano</option>
181                                         <option value="de">Deutsch</option>
182                                         <option value="es">Español</option>
183                                         <option value="tr">Türkçe</option>
184                                         <option value="pt-BR">Português do Brasil</option>
185                                 </select>
186                                 <label for="modal_settings_select_lang"><%= __('Language')%></label>
187                         </div>
188                         <div class="col s12 switch settings_switch">
189                                 <span><%= __('Fallback to lower bitrates if preferred is not available')%></span>
190                                 <label>
191                                         <input type="checkbox" id="modal_settings_cbox_fallbackBitrate" class="filled-in"/>
192                                         <span class="lever"></span>
193                                 </label>
194                         </div>
195                         <div class="col s12 switch settings_switch">
196                                 <span><%= __('Fallback to search if song is not available')%></span>
197                                 <label>
198                                         <input type="checkbox" id="modal_settings_cbox_fallbackSearch" class="filled-in"/>
199                                         <span class="lever"></span>
200                                 </label>
201                         </div>
202                         <div class="col s12 switch settings_switch">
203                                 <span><%= __('Download albums with one track as a single track')%></span>
204                                 <label>
205                                         <input type="checkbox" id="modal_settings_cbox_downloadSinglesAsTracks" class="filled-in"/>
206                                         <span class="lever"></span>
207                                 </label>
208                         </div>
209                         <div class="col s12 switch settings_switch">
210                                 <span><%= __('Create log file for Errors inside download folder')%></span>
211                                 <label>
212                                         <input type="checkbox" id="modal_settings_cbox_logErrors" class="filled-in"/>
213                                         <span class="lever"></span>
214                                 </label>
215                         </div>
216                         <div class="col s12 switch settings_switch">
217                                 <span><%= __('Create log file for Alternatives inside download folder')%></span>
218                                 <label>
219                                         <input type="checkbox" id="modal_settings_cbox_logSearched" class="filled-in"/>
220                                         <span class="lever"></span>
221                                 </label>
222                         </div><div class="col s12 switch settings_switch">
223                                 <span><%= __('Create M3U8 (Playlist) File')%></span>
224                                 <label>
225                                         <input type="checkbox" id="modal_settings_cbox_createM3UFile" class="filled-in"/>
226                                         <span class="lever"></span>
227                                 </label>
228                         </div>
229                         <div class="col s12 switch settings_switch">
230                                 <span><%= __('Download Synced Lyrics File (.lrc)')%></span>
231                                 <label>
232                                         <input type="checkbox" id="modal_settings_cbox_syncedlyrics" class="filled-in"/>
233                                         <span class="lever"></span>
234                                 </label>
235                         </div>
236                         <div class="col s12 switch settings_switch">
237                                 <span><%= __('Minimize to system tray')%></span>
238                                 <label>
239                                         <input type="checkbox" id="modal_settings_cbox_minimizeToTray" class="filled-in"/>
240                                         <span class="lever"></span>
241                                 </label>
242                         </div>
243                 </div>
244
245                 <h6 class="col s12 secondary-text"><%= __('Artworks')%></h6><hr>
246                 <div class="row">
247                         <div class="input-field col s12">
248                                 <select name="artworkSize" id="modal_settings_select_artworkSize">
249                                         <option value="2000">2000x2000</option>
250                                         <option value="1400">1400x1400</option>
251                                         <option value="1200">1200x1200</option>
252                                         <option value="1000">1000x1000</option>
253                                         <option value="800">800x800</option>
254                                         <option value="500">500x500</option>
255                                         <option value="250">250x250</option>
256                                 </select>
257                                 <label for="modal_settings_select_artworkSize"><%= __('Artwork Size')%></label>
258                         </div>
259                         <div class="col s12 switch settings_switch">
260                                 <span><%= __('Save Album Artwork')%></span>
261                                 <label>
262                                         <input type="checkbox" id="modal_settings_cbox_saveArtwork" class="filled-in"/>
263                                         <span class="lever"></span>
264                                 </label>
265                         </div>
266                         <div class="input-field col s12">
267                                 <input autocomplete="off" type="text" id="modal_settings_input_coverImageTemplate"/>
268                                 <label for="modal_settings_input_albumTrackNameTemplate"><%= __('Album Artwork Name Template')%> <i class="material-icons valignicon tiny tooltipped" data-position="right" data-delay="50"
269                                         data-tooltip="<%= __('Supported variables are')%>: %artist% and %name%">info_outline</i></label>
270                         </div>
271                         <div class="col s12 switch settings_switch">
272                                 <span><%= __('Save Artist Artwork')%></span>
273                                 <label>
274                                         <input type="checkbox" id="modal_settings_cbox_saveArtworkArtist" class="filled-in"/>
275                                         <span class="lever"></span>
276                                 </label>
277                         </div>
278                         <div class="input-field col s12">
279                                 <input autocomplete="off" type="text" id="modal_settings_input_artistImageTemplate"/>
280                                 <label for="modal_settings_input_albumNameTemplate"><%= __('Artist Artwork Name Template')%><i class="material-icons valignicon tiny tooltipped" data-position="right" data-delay="50"
281                                         data-tooltip="<%= __('Supported variables are')%>: %artist%">info_outline</i></label>
282                         </div>
283                         <div class="col s12 switch settings_switch">
284                                 <span><%= __('Download images as PNGs')%></span>
285                                 <label>
286                                         <input type="checkbox" id="modal_settings_cbox_PNGcovers" class="filled-in"/>
287                                         <span class="lever"></span>
288                                 </label>
289                         </div>
290                 </div>
291
292                 <h6 class="col s12 secondary-text"><%= __('Tags')%></h6><hr>
293                 <div class="row">
294                         <div class="input-field col s12">
295                                 <select name="multitagSeparator" id="modal_settings_select_multitagSeparator">
296                                         <option value="null"><%= __('Null Character')%></option>
297                                         <option value=",">,</option>
298                                         <option value=", ">, <%= __('with space')%></option>
299                                         <option value="/">/</option>
300                                         <option value=" / ">/ <%= __('with space')%></option>
301                                         <option value=";">;</option>
302                                         <option value="; ">; <%= __('with space')%></option>
303                                 </select>
304                                 <label for="modal_settings_select_multitagSeparator"><%= __('Multitag Separator')%></label>
305                         </div>
306                         <div class="input-field col s12 m6">
307                                 <select name="dateFormat" id="modal_settings_select_dateFormat">
308                                         <option value="0"><%= __('YY')%>/<%= __('MM')%>/<%= __('DD')%></option>
309                                         <option value="1"><%= __('DD')%>/<%= __('MM')%>/<%= __('YY')%></option>
310                                         <option value="2"><%= __('MM')%>/<%= __('DD')%>/<%= __('YY')%></option>
311                                         <option value="3"><%= __('YY')%>/<%= __('DD')%>/<%= __('MM')%></option>
312                                 </select>
313                                 <label for="modal_settings_select_dateFormat"><%= __('Date Format')%></label>
314                         </div>
315                         <div class="input-field col s12 m6">
316                                 <select name="dateFormatYear" id="modal_settings_select_dateFormatYear">
317                                         <option value="2">2 <%= __('digit')%></option>
318                                         <option value="4">4 <%= __('digit')%></option>
319                                 </select>
320                                 <label for="modal_settings_select_dateFormatYear"><%= __('Year Format')%></label>
321                         </div>
322                         <div class="col s12 switch settings_switch">
323                                 <span class="tooltipped" data-position="top" data-delay="500"
324                                         data-tooltip="<%= __('Replaces albums tags with the playlist ones')%>"><%= __('Save Playlist as Compilation')%></span>
325                                 <label>
326                                         <input type="checkbox" id="modal_settings_cbox_savePlaylistAsCompilation" class="filled-in"/>
327                                         <span class="lever"></span>
328                                 </label>
329                         </div>
330                         <div class="col s12 switch settings_switch">
331                                 <span><%= __('Remove \"(Album Version)\" from tracknames')%></span>
332                                 <label>
333                                         <input type="checkbox" id="modal_settings_cbox_removeAlbumVersion" class="filled-in"/>
334                                         <span class="lever"></span>
335                                 </label>
336                         </div>
337                         <div class="col s12 switch settings_switch">
338                                 <span><%= __('Save ID3v1 tags as well')%></span>
339                                 <label>
340                                         <input type="checkbox" id="modal_settings_cbox_saveID3v1" class="filled-in"/>
341                                         <span class="lever"></span>
342                                 </label>
343                         </div>
344                 </div>
345
346                 <div class="row">
347                         <div class="col s12">
348                                 <a href="#modal_tags" class="modal-trigger waves-effect waves-light btn btn-large" style="width:100%;"><%= __('Choose Which Tags To Save')%></a>
349                         </div>
350                 </div>
351
352                 <h6 class="col s12 secondary-text"><%= __('Spotify Features')%></h6><hr>
353                 <p class="secondary-text"><%- __('SpotifyFeatures_Info')%></p>
354                 <div class="row">
355                         <div class="input-field col s12 m6">
356                                 <input autocomplete="off" type="text" id="modal_settings_input_spotifyClientID"/>
357                                 <label for="modal_settings_input_spotifyClientID"><%= __('Client ID')%></label>
358                         </div>
359                         <div class="input-field col s12 m6">
360                                 <input autocomplete="off" type="password" id="modal_settings_input_spotifyClientSecret"/>
361                                 <label for="modal_settings_input_spotifyClientSecret"><%= __('Client Secret')%></label>
362                         </div>
363                         <div class="input-field col s12 m6">
364                                 <input autocomplete="off" type="text" id="modal_settings_input_spotifyUser"/>
365                                 <label for="modal_settings_input_spotifyUser"><%= __('Spotify Username (for the Playlists Tab)')%></label>
366                         </div>
367                 </div>
368
369                 <div class="row">
370                         <div class="col s12">
371                                 <img id="modal_settings_picture" src="" alt="Profile Picture" class="circle left" style="height:125px; margin-right: 12px;"/>
372                                 <p><%= __('You are logged in as')%> <b id="modal_settings_username"></b></p>
373                                 <a href="#" class="modal-close waves-effect waves-light btn" id="modal_settings_btn_logout"><%= __('Logout')%></a>
374                         </div>
375                 </div>
376
377         </div>
378         <div class="modal-footer">
379                 <a href="#" class="modal-close waves-effect waves-light deezloader-primary btn" id="modal_settings_btn_saveSettings"><i
380                         class="material-icons right">save</i><%= __('Save')%></a>
381                 <a href="#" class="waves-effect btn-flat" id="modal_settings_btn_defaultSettings"><i
382                         class="material-icons right">settings_backup_restore</i><%= __('Default Settings')%></a>
383                 <a href="#" class="modal-close waves-effect btn-flat"><%= __('Close')%></a>
384         </div>
385 </div>
386
387 <!--#############################################MODAL_TAGS############################################-->
388 <div id="modal_tags" class="modal modal-fixed-footer">
389         <div class="modal-content">
390                 <div class="row">
391                         <h4 class="col s12"><%= __('Saved Tags')%></h4>
392                 </div>
393                 <div class="row">
394                         <p class="col s12 m4">
395                                 <label>
396                                         <input type="checkbox" id="modal_tags_title" class="filled-in"/>
397                                         <span><%= __('Title')%></span>
398                                 </label>
399                         </p>
400                         <p class="col s12 m4">
401                                 <label>
402                                         <input type="checkbox" id="modal_tags_artist" class="filled-in"/>
403                                         <span><%= __('Artist')%></span>
404                                 </label>
405                         </p>
406                         <p class="col s12 m4">
407                                 <label>
408                                         <input type="checkbox" id="modal_tags_album" class="filled-in"/>
409                                         <span><%= __('Album')%></span>
410                                 </label>
411                         </p>
412                         <p class="col s12 m4">
413                                 <label>
414                                         <input type="checkbox" id="modal_tags_cover" class="filled-in"/>
415                                         <span><%= __('Cover')%></span>
416                                 </label>
417                         </p>
418                         <p class="col s12 m4">
419                                 <label>
420                                         <input type="checkbox" id="modal_tags_trackNumber" class="filled-in"/>
421                                         <span><%= __('Track Number')%></span>
422                                 </label>
423                         </p>
424                         <p class="col s12 m4">
425                                 <label>
426                                         <input type="checkbox" id="modal_tags_trackTotal" class="filled-in"/>
427                                         <span><%= __('Track Total')%></span>
428                                 </label>
429                         </p>
430                         <p class="col s12 m4">
431                                 <label>
432                                         <input type="checkbox" id="modal_tags_discNumber" class="filled-in"/>
433                                         <span><%= __('Disc Number')%></span>
434                                 </label>
435                         </p>
436                         <p class="col s12 m4">
437                                 <label>
438                                         <input type="checkbox" id="modal_tags_discTotal" class="filled-in"/>
439                                         <span><%= __('Disc Total')%></span>
440                                 </label>
441                         </p>
442                         <p class="col s12 m4">
443                                 <label>
444                                         <input type="checkbox" id="modal_tags_albumArtist" class="filled-in"/>
445                                         <span><%= __('Album Artist')%></span>
446                                 </label>
447                         </p>
448                         <p class="col s12 m4">
449                                 <label>
450                                         <input type="checkbox" id="modal_tags_genre" class="filled-in"/>
451                                         <span><%= __('Genre')%></span>
452                                 </label>
453                         </p>
454                         <p class="col s12 m4">
455                                 <label>
456                                         <input type="checkbox" id="modal_tags_year" class="filled-in"/>
457                                         <span><%= __('Year')%></span>
458                                 </label>
459                         </p>
460                         <p class="col s12 m4">
461                                 <label>
462                                         <input type="checkbox" id="modal_tags_date" class="filled-in"/>
463                                         <span><%= __('Date')%></span>
464                                 </label>
465                         </p>
466                         <p class="col s12 m4">
467                                 <label>
468                                         <input type="checkbox" id="modal_tags_explicit" class="filled-in"/>
469                                         <span><%= __('Explicit')%></span>
470                                 </label>
471                         </p>
472                         <p class="col s12 m4">
473                                 <label>
474                                         <input type="checkbox" id="modal_tags_isrc" class="filled-in"/>
475                                         <span>ISRC</span>
476                                 </label>
477                         </p>
478                         <p class="col s12 m4">
479                                 <label>
480                                         <input type="checkbox" id="modal_tags_length" class="filled-in"/>
481                                         <span><%= __('Length')%></span>
482                                 </label>
483                         </p>
484                         <p class="col s12 m4">
485                                 <label>
486                                         <input type="checkbox" id="modal_tags_barcode" class="filled-in"/>
487                                         <span><%= __('Barcode')%></span>
488                                 </label>
489                         </p>
490                         <p class="col s12 m4">
491                                 <label>
492                                         <input type="checkbox" id="modal_tags_bpm" class="filled-in"/>
493                                         <span>BPM</span>
494                                 </label>
495                         </p>
496                         <p class="col s12 m4">
497                                 <label>
498                                         <input type="checkbox" id="modal_tags_replayGain" class="filled-in"/>
499                                         <span><%= __('Replay Gain')%></span>
500                                 </label>
501                         </p>
502                         <p class="col s12 m4">
503                                 <label>
504                                         <input type="checkbox" id="modal_tags_publisher" class="filled-in"/>
505                                         <span><%= __('Label')%></span>
506                                 </label>
507                         </p>
508                         <p class="col s12 m4">
509                                 <label>
510                                         <input type="checkbox" id="modal_tags_unsynchronisedLyrics" class="filled-in"/>
511                                         <span><%= __('Unsynchronised Lyrics')%></span>
512                                 </label>
513                         </p>
514                         <p class="col s12 m4">
515                                 <label>
516                                         <input type="checkbox" id="modal_tags_copyright" class="filled-in"/>
517                                         <span><%= __('Copyright')%></span>
518                                 </label>
519                         </p>
520                         <p class="col s12 m4">
521                                 <label>
522                                         <input type="checkbox" id="modal_tags_musicpublisher" class="filled-in"/>
523                                         <span><%= __('Publisher')%></span>
524                                 </label>
525                         </p>
526                         <p class="col s12 m4">
527                                 <label>
528                                         <input type="checkbox" id="modal_tags_composer" class="filled-in"/>
529                                         <span><%= __('Composer')%></span>
530                                 </label>
531                         </p>
532                         <p class="col s12 m4">
533                                 <label>
534                                         <input type="checkbox" id="modal_tags_mixer" class="filled-in"/>
535                                         <span><%= __('Mixer')%></span>
536                                 </label>
537                         </p>
538                         <p class="col s12 m4">
539                                 <label>
540                                         <input type="checkbox" id="modal_tags_author" class="filled-in"/>
541                                         <span><%= __('Author')%></span>
542                                 </label>
543                         </p>
544                         <p class="col s12 m4">
545                                 <label>
546                                         <input type="checkbox" id="modal_tags_writer" class="filled-in"/>
547                                         <span><%= __('Writer')%></span>
548                                 </label>
549                         </p>
550                         <p class="col s12 m4">
551                                 <label>
552                                         <input type="checkbox" id="modal_tags_engineer" class="filled-in"/>
553                                         <span><%= __('Engineer')%></span>
554                                 </label>
555                         </p>
556                         <p class="col s12 m4">
557                                 <label>
558                                         <input type="checkbox" id="modal_tags_producer" class="filled-in"/>
559                                         <span><%= __('Producer')%></span>
560                                 </label>
561                         </p>
562                 </div>
563         </div>
564         <div class="modal-footer">
565                 <a href="#" class="modal-close waves-effect btn-flat"><%= __('Close')%></a>
566         </div>
567 </div>
568
569 <!--#############################################MODAL_ABOUT############################################-->
570 <div id="modal_about" class="modal modal-fixed-footer">
571         <div class="modal-content">
572                 <div class="row">
573                         <h4 class="col s12"><%= __('About the App')%></h4>
574                 </div>
575                 <div class="row">
576                         <ul class="collapsible" data-collapsible="accordion">
577                                 <li>
578                                         <div class="collapsible-header waves-effect"><i class="material-icons">info</i><%= __('About')%></div>
579                                         <div class="collapsible-body">
580                                                 <p>
581                                                         <b><%= __('Branch')%>: </b>Remix</br>
582                                                         <b><%= __('Version')%>:</b> <span id="application_version_about"></span><br/>
583                                                         <b><%= __('Based on')%>: </b>Deezloader Reborn</br>
584                                                         <b><%= __('Maintainers')%>:</b> RemixDevs Group<br/>
585                                                         <b><%= __('Repo')%>: </b> <a href="https://notabug.org/RemixDevs/DeezloaderRemix" target="_blank">Official Repo</a><br/>
586                                                         <b><%= __('FAQ')%>: </b> <a href="https://notabug.org/RemixDevs/DeezloaderRemix/wiki/FAQ" target="_blank">Link</a><br/>
587                                                         <b><%= __('Official mirrors')%>: </b> <a href="https://notabug.org/RemixDevs/DeezloaderRemix/wiki/Downloads" target="_blank">Link</a><br/>
588                                                         <b><%= __('Interface')%>:</b> <a href="http://materializecss.com/" target="_blank">Materialize CSS</a><br/>
589                                                         <br/>
590                                                         <b><%= __('Telegram Contacts')%></b><br/>
591                                                         <b><a href="https://t.me/RemixDevs" target="_blank"><%= __('News Channel')%></a></b><br/>
592                                                         <b><a href="https://t.me/DeezloaderRemixBeta" target="_blank"><%= __('Betas Channel')%></a></b><br/>
593                                                         <b><a href="https://t.me/DeezloaderRemix" target="_blank"><%= __('Stable Releases Channel')%></a></b><br/>
594                                                         <br>
595                                                         <b><%= __('Special Thanks to')%>:</b><br>
596                                                         BasCurtiz for the app UI Design<br>
597                                                         ZzMTV for the original Deezloader code<br>
598                                                         ParadoxalManiak, snwflake and ExtendLord for maintaining the previous branches<br>
599                                                         <br>
600                                                         <b>Translations:</b><br>
601                                                         Italian: RemixDev
602                                                         German: lollilol, Tobs<br>
603                                                         Spanish: Wanamingo<br>
604                                                         Turkish: Metep<br>
605                                                         Brazilian Portuguese: C4RLETH<br>
606                                                 </p>
607                                         </div>
608                                 </li>
609                                 <li>
610                                         <div class="collapsible-header waves-effect"><i class="material-icons">feedback</i><%= __('Feedback')%></div>
611                                         <div class="collapsible-body">
612                                                 <p>
613                                                         <%- __('Feedback_Text')%>
614                                                 </p>
615                                         </div>
616                                 </li>
617                                 <li>
618                                         <div class="collapsible-header waves-effect"><i class="material-icons">bug_report</i><%= __('Reporting Bugs')%></div>
619                                         <div class="collapsible-body">
620                                                 <p>
621                                                         <%- __('Bugs_Text')%>
622                                                 </p>
623                                         </div>
624                                 </li>
625                                 <li>
626                                         <div class="collapsible-header waves-effect"><i class="material-icons">group</i><%= __('Contacts')%></div>
627                                         <div class="collapsible-body">
628                                                 <p>
629                                                         <%- __('Contacts_Text')%><br>
630                                                         <ul>
631                                                                 <li><a href="https://t.me/DeezloaderItalia">Gruppo in Italiano</a></li>
632                                                                 <li><a href="https://t.me/joinchat/Ed1JxEn3_Bx1et6SCeLurg">Grupo en español</a></li>
633                                                                 <li><a href="https://t.me/deezloaderpt">Grupo em Português</a></li>
634                                                 </ul>
635                                                 </p>
636                                         </div>
637                                 </li>
638                                 <li>
639                                         <div class="collapsible-header waves-effect"><i class="material-icons">warning</i><%= __('Attention!')%></div>
640                                         <div class="collapsible-body">
641                                                 <p><%- __('Attention_Text')%></p>
642                                         </div>
643                                 </li>
644                                 <li>
645                                         <div class="collapsible-header waves-effect"><i class="material-icons">history</i><%= __('Changelog')%></div>
646                                         <div class="collapsible-body">
647                                                 <p>
648                                                         <b>Version 4.2.2</b><br/>
649                                                         - Re-added login with email / password with captcha popup (Doesn't work on Server Mode)<br/>
650                                                         - Reorganized Settings<br/>
651                                                         - ID3 default is now the only option for MP3 date format (If you had that selected you should change that or do a clean install)<br/>
652                                                         - Added link analyzer<br/>
653                                                         - Added support for spotify tracks and albums via urls and uri<br/>
654                                                         - Added %bitrate% and %date% to album folder name<br/>
655                                                         - Added %date% to tracknames<br/>
656                                                         - Added %position% for playlist tracknames<br/>
657                                                         - Added %isrc%, %upc% and %album_id%<br/>
658                                                         - Added option to enable or disable search fallback<br/>
659                                                         - Added option to create album/artist/cd folders for playlists as well<br/>
660                                                         - Added option to save playlist as a compilation (it overwrites original tags with the playlist one)<br/>
661                                                         - Added more UI elements to display errors<br/>
662                                                         - Added error log when clicking on error sign in the Download Tab<br/>
663                                                         - Added quality selection to remaining download buttons<br/>
664                                                         - Fixed certificate error while looking for updates<br/>
665                                                         - Fixed spotify playlist conversion problems<br/>
666                                                         - Fixed tags problems<br/>
667                                                         - Other Minor improvments<br/>
668                                                         <br/>
669                                                         <b>Version 4.2.1</b><br/>
670                                                         - Downloads are binded to the server on server mode<br/>
671                                                         - Downloading playlists wont create artist and album folders if options are selected<br/>
672                                                         - Date tag is now enabled by default on new installations<br/>
673                                                         - Now users without propic will have a default one in the settings<br/>
674                                                         - Update message only nags once per client<br/>
675                                                         - Added space after %explicit% if there is text after the tag<br/>
676                                                         - Added label at the end of album viewin the modal<br/>
677                                                         - Fixed forEach error when downloading tracks<br/>
678                                                         - Fixed problem where %type% could be empty<br/>
679                                                         - Fixed macOS copy-paste problem<br/>
680                                                         - Fixed duplicate detection when downloading tracks<br/>
681                                                         - Fixed null separator for multitags on FLACs<br/>
682                                                         - Fixed problem where m3u file on multidisc albums was wrong<br/>
683                                                         <br/>
684                                                         <b>Version 4.2.0</b><br/>
685                                                         - New login workflow<br/>
686                                                         - Improved UI<br/>
687                                                         - Revamped album, artists and playlist modals<br/>
688                                                         - Added option to download the track in a different quality over the one selected (right click on d/l button)<br/>
689                                                         - Added autologin by default to fix re-connection problems<br/>
690                                                         - Re-added fallback on track errors<br/>
691                                                         - Fixed Default Settings button<br/>
692                                                         - Fixed links not working in server mode<br/>
693                                                         - Fixed UI problems when on mobile view (responsive site)<br/>
694                                                         - Fixed Settings menu not being populated on mobile view<br/>
695                                                         - Fixed problem with the artist tag when downloading playlists and albums<br/>
696                                                         - Fixed playlist numbering on files (now it doesn't override the trackNumber tag)<br/>
697                                                         - Fixed aritst artwork not saving<br/>
698                                                         <br/>
699                                                         <b>Version 4.1.8</b><br/>
700                                                         - Fix the issue where some people wasn't able to log in from the Netherlands<br/>
701                                                         <br/>
702                                                         <b>Version 4.1.7</b><br/>
703                                                         - Partial rewrite of the app (4.2.0 will have the other half)<br/>
704                                                         - Fixed login security issue<br/>
705                                                         - Better Spotify integration (now conversion uses ISRC if found)<br/>
706                                                         - Fixed France Charts not showing up<br/>
707                                                         - Albums with only one track will download as a single track<br/>
708                                                         - Added option %genre% for Track and Album names<br/>
709                                                         - Added support for subfolders in Album name<br/>
710                                                         - Minor changes to the UI<br/>
711                                                         <br/>
712                                                         <b>Version 4.1.6</b><br/>
713                                                         - Fixed Spotify Playlist problem<br/>
714                                                         - Fixed security issue where Client Secret is exposed in Compiled binaries<br/>
715                                                         - Now to use Spotify Features you need to follow <a href="https://notabug.org/RemixDevs/DeezloaderRemix/wiki/Spotify+Features" target="_blank">this guide</a> first<br/>
716                                                         - Minor bugfixes and improvments<br/>
717                                                         <br/>
718                                                         <b>Version 4.1.5</b><br/>
719                                                         - Fixed %explicit% for album names<br/>
720                                                         - Added Contributions page<br/>
721                                                         - Fixed some spelling issues<br/>
722                                                         <br/>
723                                                         <b>Version 4.1.4</b><br/>
724                                                         - Improved Privacy in Server Mode<br/>
725                                                         - Cleaned up some files<br/>
726                                                         - Fixed Day Month position in DATE tag<br/>
727                                                         - Fixed %explicit% in name templates<br/>
728                                                         - Fixed artist download<br/>
729                                                         - Fixed FLAC Problems (not all of them)<br/>
730                                                         - Fixed select folder cancel bug<br/>
731                                                         - Added Update Notification<br/>
732                                                         - Added default ID3 DATE tag format<br/>
733                                                         - Added minimize to system tray<br/>
734                                                         - Added multitag separator for FLACS<br/>
735                                                         - Added hyperlinks to artist & album<br/>
736                                                         - Added option to better remove duplicates in the artist tag (Still in BETA)<br/>
737                                                         - Added option to save the track with the full list of artist in the filename<br/>
738                                                         - Added option to overwrite padding size<br/>
739                                                         - Added "Download All" button in modals<br/>
740                                                         - Removed ReplayGain as default setting<br/>
741                                                         <br/>
742                                                         <b>Version 4.1.3</b><br/>
743                                                         - Playlist and Album tracks now have fallback support<br/>
744                                                         - M3U files now works correctly<br/>
745                                                         - Fixed problems with tags<br/>
746                                                         - Added option %explicit% for Track and Album names (Will add "(Explicit)" in that position if it's explicit)<br/>
747                                                         - Added option to remove "(Album Version)" from track title<br/>
748                                                         - Added options to select which format should the date tag have<br/>
749                                                         - Added option to not fallback if desired bitrate is not available<br/>
750                                                         - Logging enhancements<br/>
751                                                         - Other minor bug-fixing<br/>
752                                                         <br/>
753                                                         <b>Version 4.1.2</b><br/>
754                                                         - Fixed Login Problem (for real this time)<br/>
755                                                         - Fixed Login after refresh<br/>
756                                                         - Regionlock free download<br/>
757                                                         - Added support for download of User Uploaded tracks<br/>
758                                                         - Now you can select which tags your songs has<br/>
759                                                         - Fixed selecting problem<br/>
760                                                         - Tracks without preview will display a disabled play button<br/>
761                                                         - Previews inside modal will stop with modal close<br/>
762                                                         - New %label% field for tracks and albums<br/>
763                                                         - Added option to create folder for CDs<br/>
764                                                         - Added rename option for cover file<br/>
765                                                         - Added option to download Artist artwork<br/>
766                                                         - Added option do log downloaded alternative tracks<br/>
767                                                         - Fixed some minor bugs<br/>
768                                                         <br/>
769                                                         <b>Version 4.1.1</b><br/>
770                                                         - Fixed Login Problem (again)<br/>
771                                                         - Added Dark Mode<br/>
772                                                         - Added smaller cover option<br/>
773                                                         - Added support for lower bitrates<br/>
774                                                         - Added "Stop All Downloads" button<br/>
775                                                         - Added support for Spotify Playlist preview<br/>
776                                                         - Added support for PNG covers<br/>
777                                                         - Re-Added Date Tag<br/>
778                                                         - Fixed same cover for same track in different albums bug<br/>
779                                                         - Fixed login issue from repository build<br/>
780                                                         <br/>
781                                                         <b>Version 4.1.0</b><br/>
782                                                         - New UI (not completly optimized for small screens)<br/>
783                                                         - Fixed login problems<br/>
784                                                         - Fixed %type% parameter not working<br/>
785                                                         - Fixed year tagging problem<br/>
786                                                         - Fixed playlist file not containing tracks<br/>
787                                                         - More precision in Spotify Playlist conversion<br/>
788                                                         <br/>
789                                                         <a href="https://notabug.org/RemixDevs/DeezloaderRemix/wiki/Changelog" target="_blank"><%= __('Full Changelog Here')%></a>
790                                                 </p>
791                                         </div>
792                                 </li>
793                                 <li>
794                                         <div class="collapsible-header waves-effect"><i class="material-icons">copyright</i><%= __('License')%></div>
795                                         <div class="collapsible-body">
796                                                 <p>
797                                                         <a rel="license" href="https://www.gnu.org/licenses/gpl-3.0.en.html" target="_blank">
798                                                                 <img alt="GNU General Public License" style="border-width:0"
799                                                                                  src="https://www.gnu.org/graphics/gplv3-127x51.png"/>
800                                                         </a><br/>
801                                                         This work is licensed under a <a rel="license" href="https://www.gnu.org/licenses/gpl-3.0.en.html" target="_blank">GNU General Public License 3.0</a>.
802                                                 </p>
803                                         </div>
804                                 </li>
805                                 <li>
806                                         <div class="collapsible-header waves-effect"><i class="material-icons">favorite</i><%= __('Contributions')%></div>
807                                         <div class="collapsible-body">
808                                                 <%- __('Contributions_Text')%>
809                                                 <p>
810                                                         PayPal: <a href="https://paypal.me/RemixDev" target="_blank">PayPal.me/RemixDev</a><br>
811                                                         Bitcoin: 1sdNymSJrMBWyHM4u2m9uco5nv6uV4Qs1<br>
812                                                         Ethereum: 0x1d2aa67e671485CD4062289772B662e0A6Ff976c
813                                                 </p>
814                                         </div>
815                                 </li>
816                         </ul>
817                 </div>
818         </div>
819         <div class="modal-footer">
820                 <a href="#" class="modal-close waves-effect btn-flat"><%= __('Close')%></a>
821         </div>
822 </div>
823
824 <!--##########################################MODAL_TRACKLIST###########################################-->
825 <div id="modal_trackList" class="modal modal-fixed-footer modal-custom-header">
826         <div class="modal-content">
827                 <div class="trackList-header" v-bind:style="{ 'background-image': `linear-gradient(to bottom, transparent 0%, var(--main-modal-background) 100%), url('${image}')` }">
828                         <h4>{{ title }}</h4>
829                         <h6 v-if="metadata" style="display: inline;">{{ metadata }}</h6>
830                         <span class="right hide-on-small-only" v-if="release_date"> {{ release_date }} </span>
831                 </div>
832                 <div class="modal-container">
833                         <table class="highlight col s12">
834                                 <thead>
835                                 <tr>
836                                         <td v-for="data in head" v-html="data.title" v-bind:style = "{ 'width': `${data.width ? data.width : 'auto'}`}" v-bind:class="{ 'hide-on-med-and-up' : data.smallonly, 'hide-on-small-only': data.hideonsmall }"></td>
837                                 </tr>
838                                 </thead>
839                                 <tbody id="modal_trackList_table_trackList_tbody_loadingIndicator" class="hide">
840                                 <tr>
841                                         <td class="center" colspan="6">
842                                                 <div class="preloader-wrapper big active">
843                                                         <div class="spinner-layer">
844                                                                 <div class="circle-clipper left">
845                                                                         <div class="circle"></div>
846                                                                 </div>
847                                                                 <div class="gap-patch">
848                                                                         <div class="circle"></div>
849                                                                 </div>
850                                                                 <div class="circle-clipper right">
851                                                                         <div class="circle"></div>
852                                                                 </div>
853                                                         </div>
854                                                 </div>
855                                         </td>
856                                 </tr>
857                                 </tbody>
858                                 <tbody id="modal_trackList_table_trackList_tbody_trackList" class="hide">
859                                 </tbody>
860                         </table>
861                 </div>
862         </div>
863         <div class="modal-footer">
864                 <a href="#" id="download_all_tracks" v-bind:data-link="link" class="btn btn-flat waves-effect waves-light left">Download {{ type }}</a>
865                 <a href="#" class="modal-close waves-effect btn-flat"><%= __('Close')%></a>
866         </div>
867 </div>
868
869 <!--##########################################MODAL_TRACKLISTALBUM###########################################-->
870 <div id="modal_trackListSelective" class="modal modal-fixed-footer modal-custom-header">
871         <div class="modal-content">
872                 <div class="trackList-header" v-bind:style="{ 'background-image': `linear-gradient(to bottom, transparent 0%, var(--main-modal-background) 100%), url('${image}')` }">
873                         <h4>{{ title }} <i v-if="explicit" class="material-icons valignicon materialize-red-text tooltipped" data-tooltip="Explicit">explicit</i></h4>
874                         <h6 v-if="metadata" style="display: inline;">{{ metadata }}</h6>
875                         <span class="right hide-on-small-only" v-if="release_date">{{ release_date }}</span>
876                 </div>
877                 <div class="modal-container">
878                         <table class="highlight col s12">
879                                 <thead>
880                                 <tr>
881                                         <td v-for="data in head" v-html="data.title" v-bind:style = "{ 'width': `${data.width ? data.width : 'auto'}`}" v-bind:class="{ 'hide-on-med-and-up' : data.smallonly, 'hide-on-small-only': data.hideonsmall }"></td>
882                                 </tr>
883                                 </thead>
884                                 <tbody id="modal_trackListSelective_table_trackListSelective_tbody_loadingIndicator" class="hide">
885                                 <tr>
886                                         <td class="center" colspan="6">
887                                                 <div class="preloader-wrapper big active">
888                                                         <div class="spinner-layer">
889                                                                 <div class="circle-clipper left">
890                                                                         <div class="circle"></div>
891                                                                 </div>
892                                                                 <div class="gap-patch">
893                                                                         <div class="circle"></div>
894                                                                 </div>
895                                                                 <div class="circle-clipper right">
896                                                                         <div class="circle"></div>
897                                                                 </div>
898                                                         </div>
899                                                 </div>
900                                         </td>
901                                 </tr>
902                                 </tbody>
903                                 <tbody id="modal_trackListSelective_table_trackListSelective_tbody_trackListSelective" class="hide">
904                                 </tbody>
905                         </table>
906                         <span v-if="label" style="opacity: 0.40;margin-top: 8px;display: inline-block;font-size: 13px;">{{ label }}</span>
907                 </div>
908         </div>
909         <div class="modal-footer">
910                 <a href="#" id="download_all_tracks_selective" v-bind:data-link="link" class="btn btn-flat waves-effect waves-light left">Download {{ type }}</a>
911                 <a href="#" id="download_track_selection" class="btn btn-flat waves-effect waves-light deezloader-primary white-text"><span class="hide-on-small-only"><%= __('Download selection')%><i class="material-icons right">file_download</i></span><i class="material-icons hide-on-med-and-up">file_download</i></a>
912                 <a href="#" class="modal-close waves-effect btn-flat"><%= __('Close')%></a>
913         </div>
914 </div>
915
916 <!--##########################################MODAL_MSG###########################################-->
917 <div id="modal_msg" class="modal">
918         <div class="modal-content">
919                 <div class="row">
920                         <h4 class="col s12" id="modal_msg_title"></h4>
921                 </div>
922                 <div class="row">
923                         <p style="white-space: pre-line" class="col s12" id="modal_msg_message"></p>
924                 </div>
925         </div>
926         <div class="modal-footer">
927                 <a href="#" class="modal-close waves-effect waves-light btn"><%= __('I got it!')%></a>
928         </div>
929 </div>
930
931 <!--##########################################MODAL_ANALYZER_COUNTRY###########################################-->
932 <div id="modal_link_analyzer_country" class="modal modal-fixed-footer">
933         <div class="modal-content">
934                 <h4 class="col s12"><%= __('Available Countries for')%> {{ title }}</h4>
935                 <table class="striped col s12">
936                         <thead>
937                                 <tr>
938                                         <th style="width:24px;"></th>
939                                         <th><%= __('Country')%></th>
940                                 </tr>
941                         </thead>
942                         <tbody>
943                                 <tr v-for="cc in countries">
944                                         <td v-for="val in cc">{{ val }}</td>
945                                 </tr>
946                         </tbody>
947                 </table>
948         </div>
949         <div class="modal-footer">
950                 <a href="#" class="modal-close waves-effect waves-light btn"><%= __('Close')%></a>
951         </div>
952 </div>
953
954 <!--********************************************MAIN-CONTENT********************************************-->
955 <nav>
956         <div class="nav-wrapper">
957                 <div class="brand-logo center hide-on-small-only">Deezloader <b>Remix</b></div>
958                 <ul class="left hide-on-small-only">
959                         <li>
960                                 <div class="switch">
961                                         <label>
962                                                 <i class="material-icons left white-text" style="margin-right: 0px; margin-left: 15px;">brightness_2</i>
963                                                 <input id="nightTimeSwitcher" type="checkbox">
964                                                 <span class="lever"></span>
965                                         </label>
966                                 </div>
967                         </li>
968                 </ul>
969                 <a href="#" data-target="slide-out" class="sidenav-trigger hide-on-med-and-up right"><i class="material-icons">menu</i></a>
970                 <ul id="nav-mobile" class="right hide-on-small-only">
971                         <li>
972                                 <a href="#modal_settings" id="nav_btn_openSettingsModal" class="waves-effect waves-light modal-trigger">
973                                         <i class="material-icons left">settings</i> <span class="hide-on-med-and-down"><%= __('Settings')%></span>
974                                 </a>
975                         </li>
976                         <li>
977                                 <a href="#modal_about" class="waves-effect waves-light modal-trigger">
978                                         <i class="material-icons left">info</i> <span class="hide-on-med-and-down"><%= __('About')%></span>
979                                 </a>
980                         </li>
981                 </ul>
982         </div>
983 </nav>
984
985 <img src="img/icon.svg" class="circle" id="main_icon"></img>
986
987 <ul id="slide-out" class="sidenav">
988         <li><div class="user-view">
989                 <div class="background"></div>
990                 <a href="#user"><img class="circle" id="side_avatar"></a>
991                 <a href="#name"><span class="white-text name" id="side_user"></span></a>
992                 <a href="#email"><span class="white-text email" id="side_email"></span></a>
993         </div></li>
994         <li><a href="#!" tab-id="tab_search" class="sidenav_tab sidenav-close waves-effect"><i class="material-icons">search</i><%= __('Search')%></a></li>
995         <li><a href="#!" tab-id="tab_charts" class="sidenav_tab sidenav-close waves-effect"><i class="material-icons">bubble_chart</i><%= __('Charts')%></a></li>
996         <li><a href="#!" tab-id="tab_playlists" class="sidenav_tab sidenav-close waves-effect"><i class="material-icons">playlist_play</i><%= __('Playlists')%></a></li>
997         <li><a href="#!" tab-id="tab_link" class="sidenav_tab sidenav-close waves-effect"><i class="material-icons">link</i><%= __('Link Analyzer')%></a></li>
998         <li><a href="#!" tab-id="tab_url" class="sidenav_tab sidenav-close waves-effect"><i class="material-icons">link</i><%= __('Download from URL')%></a></li>
999         <li><a href="#!" tab-id="tab_downloads" class="sidenav_tab sidenav-close waves-effect"><i class="material-icons">get_app</i><%= __('Downloads')%></a></li>
1000         <li><div class="divider"></div></li>
1001         <li><a href="#modal_settings" id="sidenav_settings" class="waves-effect sidenav-close modal-trigger"><i class="material-icons">settings</i><%= __('Settings')%></a></li>
1002         <li><a href="#modal_about" class="waves-effect sidenav-close modal-trigger"><i class="material-icons">info</i><%= __('About')%></a></li>
1003         <li><a href="#!" id="nightModeSwitch2"><i class="material-icons">brightness_2</i><%= __('Enable Night Mode')%></a>
1004         </li>
1005 </ul>
1006
1007 <main class="container">
1008         <ul id="tab-nav" class="row tabs tabs-fixed-width hide-on-small-only">
1009                 <li class="tab"><a class="active" href="#tab_search"><%= __('Search')%></a></li>
1010                 <li class="tab"><a href="#tab_charts"><%= __('Charts')%></a></li>
1011                 <li class="tab"><a href="#tab_playlists"><%= __('Playlists')%></a></li>
1012                 <li class="tab"><a href="#tab_link"><%= __('Link Analyzer')%></a></li>
1013                 <li class="tab"><a href="#tab_url"><%= __('Download from URL')%></a></li>
1014                 <li class="tab"><a href="#tab_downloads"><%= __('Downloads')%></a></li>
1015         </ul>
1016
1017         <div id="main-content" class="row">
1018
1019                 <div id="tab_search">
1020                         <form id="tab_search_form_search">
1021                                 <div class="inline-input-group col s12">
1022                                         <input autocomplete="off" id="tab_search_form_search_input_searchString" type="search" class="input" placeholder="<%= __('Start searching...')%>">
1023                                         <button class="btn btn-input btn-flat deezloader-primary white-text"><i class="material-icons">search</i></button>
1024                                 </div>
1025                                 <div class="row center">
1026                                         <p class="col s3">
1027                                                 <label>
1028                                                 <input name="searchMode" type="radio" class="with-gap" id="tab_search_radio_searchMode_song" value="track" checked/>
1029                                                 <span><i class="material-icons show-on-small-only left deezloader-primary-text">music_note</i><span class="hide-on-med-and-down"><%= __('Song')%></span></span>
1030                                                 </label>
1031                                         </p>
1032                                         <p class="col s3">
1033                                                 <label>
1034                                                 <input name="searchMode" type="radio" class="with-gap" id="tab_search_radio_searchMode_album" value="album"/>
1035                                                 <span><i class="material-icons show-on-small-only left deezloader-primary-text">album</i><span class="hide-on-med-and-down"><%= __('Album')%></span></span>
1036                                                 </label>
1037                                         </p>
1038                                         <p class="col s3">
1039                                                 <label>
1040                                                 <input name="searchMode" type="radio" class="with-gap" id="tab_search_radio_searchMode_artist" value="artist"/>
1041                                                 <span><i class="material-icons show-on-small-only left deezloader-primary-text">person</i><span class="hide-on-med-and-down"><%= __('Artist')%></span></span>
1042                                                 </label>
1043                                         </p>
1044                                         <p class="col s3">
1045                                                 <label>
1046                                                         <input name="searchMode" type="radio" class="with-gap" id="tab_search_radio_searchMode_playlist" value="playlist"/>
1047                                                         <span><i class="material-icons show-on-small-only left deezloader-primary-text">playlist_play</i><span class="hide-on-med-and-down"><%= __('Playlist')%></span></span>
1048                                                 </label>
1049                                         </p>
1050                                 </div>
1051                         </form>
1052                         <div id="tab_search_results">
1053                                 <table id="tab_search_table_results" class="striped col s12">
1054                                         <thead class="hide-on-small-only">
1055                                                 <tr class="hide" id="tab_search_table_results_thead_track">
1056                                                         <th style="width: 56px;"><!--cover--></th>
1057                                                         <th><%= __('Song')%></th>
1058                                                         <th><%= __('Artist')%></th>
1059                                                         <th><%= __('Album')%></th>
1060                                                         <th><i class="material-icons">timer</i></th>
1061                                                         <th style="width: 56px;"><!--download_link--></th>
1062                                                 </tr>
1063                                                 <tr class="hide" id="tab_search_table_results_thead_album">
1064                                                         <th style="width: 56px;"><!--cover--></th>
1065                                                         <th><%= __('Album')%></th>
1066                                                         <th><%= __('Artist')%></th>
1067                                                         <th><%= __('Songs')%></th>
1068                                                         <th><%= __('Type')%></th>
1069                                                         <th><!--space--></th>
1070                                                         <th style="width: 56px;"><!--download_link--></th>
1071                                                 </tr>
1072                                                 <tr class="hide" id="tab_search_table_results_thead_artist">
1073                                                         <th style="width: 56px;"><!--cover--></th>
1074                                                         <th><%= __('Artist')%></th>
1075                                                         <th><%= __('Albums')%></th>
1076                                                         <th><!--space--></th>
1077                                                         <th style="width: 56px;"><!--download_link--></th>
1078                                                 </tr>
1079                                                 <tr class="hide" id="tab_search_table_results_thead_playlist">
1080                                                         <th style="width: 56px;"><!--cover--></th>
1081                                                         <th><%= __('Name')%></th>
1082                                                         <th><%= __('Songs')%></th>
1083                                                         <th style="width: 56px;"><!--space--></th>
1084                                                         <th style="width: 56px;"><!--download_link--></th>
1085                                                 </tr>
1086                                         </thead>
1087                                         <tbody id="tab_search_table_results_tbody_loadingIndicator" class="hide loadingTab">
1088                                                 <tr>
1089                                                         <td class="center">
1090                                                                 <div class="preloader-wrapper big active">
1091                                                                         <div class="spinner-layer spinner-blue-only">
1092                                                                                 <!-- Spinner Code -->
1093                                                                                 <div class="circle-clipper left"><div class="circle"></div></div><div class="gap-patch"><div class="circle"></div></div><div class="circle-clipper right"><div class="circle"></div></div>
1094                                                                         </div>
1095                                                                 </div>
1096                                                         </td>
1097                                                 </tr>
1098                                         </tbody>
1099                                         <tbody id="tab_search_table_results_tbody_results"></tbody>
1100                                         <tbody id="tab_search_table_results_tbody_noResults" class="hide">
1101                                                 <tr>
1102                                                         <td class="center"><%= __('Nothing found!')%></td>
1103                                                 </tr>
1104                                         </tbody>
1105                                 </table>
1106                         </div>
1107                 </div>
1108
1109                 <div id="tab_charts">
1110                         <div class="input-field col s12">
1111                                 <select id="tab_charts_select_country" class="icons">
1112                                         <!--All country selects have to be like the following example:
1113                                         <option value="example" data-icon="images/sample.jpg" class="left circle">Example</option>
1114                                         -->
1115                                 </select>
1116                                 <label><%= __('Country')%></label>
1117                         </div>
1118                         <button id="downloadChartPlaylist" class="col s12 btn btn-input btn-flat deezloader-primary white-text" style="margin-bottom:8px;"><%= __('Download Playlist')%></button>
1119                         <table id="tab_charts_table_charts" class="striped">
1120                                 <thead class="hide-on-small-only">
1121                                         <tr>
1122                                                 <th>#</th>
1123                                                 <th style="width: 56px;"><!--cover--></th>
1124                                                 <th><%= __('Song')%></th>
1125                                                 <th><%= __('Artist')%></th>
1126                                                 <th><%= __('Album')%></th>
1127                                                 <th><i class="material-icons">timer</i></th>
1128                                                 <th style="width: 56px;"><!--download_link--></th>
1129                                         </tr>
1130                                 </thead>
1131                                 <tbody id="tab_charts_table_charts_tbody_loadingIndicator" class="loadingTab">
1132                                         <tr>
1133                                                 <td colspan="7" class="center">
1134                                                         <div class="preloader-wrapper big active">
1135                                                                 <div class="spinner-layer spinner-blue-only">
1136                                                                         <!-- Spinner Code -->
1137                                                                         <div class="circle-clipper left"><div class="circle"></div></div><div class="gap-patch"><div class="circle"></div></div><div class="circle-clipper right"><div class="circle"></div></div>
1138                                                                 </div>
1139                                                         </div>
1140                                                 </td>
1141                                         </tr>
1142                                 </tbody>
1143                                 <tbody id="tab_charts_table_charts_tbody_charts"></tbody>
1144                         </table>
1145                 </div>
1146
1147                 <div id="tab_playlists" class="row">
1148                         <div class="col s12">
1149                                 <button class="btn-flat btn-large waves-effect deezloader-primary white-text" id="button_refresh_playlist_tab" style="width:100%;"><%= __('Refresh Playlists')%></button>
1150                         </div>
1151                         <div class="col s12">
1152                                 <table class="striped">
1153                                         <thead>
1154                                                 <tr>
1155                                                         <th style="width: 56px;"><!--cover--></th>
1156                                                         <th><%= __('Name')%></th>
1157                                                         <th><%= __('Songs')%></th>
1158                                                         <th style="width: 56px;"><!--inspect_playlist--></th>
1159                                                         <th style="width: 56px;"><!--download_link--></th>
1160                                                 </tr>
1161                                         </thead>
1162                                         <tbody id="table_personal_playlists">
1163                                         </tbody>
1164                                 </table>
1165                         </div>
1166                 </div>
1167
1168                 <div id="tab_link">
1169                         <div class="inline-input-group">
1170                                 <input autocomplete="off" type="search" id="link_analyzer_url" class="input" placeholder="<%= __('Song/Album URL')%>">
1171                                 <button id="link_analyzer_go" class="btn btn-input btn-flat deezloader-primary white-text"><i class="material-icons">search</i></button>
1172                         </div>
1173
1174                         <div id="link_analyzer_loading" class="center" hidden>
1175                                 <div class="preloader-wrapper big active">
1176                                         <div class="spinner-layer spinner-blue-only">
1177                                                 <!-- Spinner Code -->
1178                                                 <div class="circle-clipper left"><div class="circle"></div></div><div class="gap-patch"><div class="circle"></div></div><div class="circle-clipper right"><div class="circle"></div></div>
1179                                         </div>
1180                                 </div>
1181                         </div>
1182
1183                         <div id="link_analyzer_start">
1184                                 <p class="secondary-text center"><%- __('LinkAnalyzer_Info')%></p>
1185                         </div>
1186
1187                         <div v-if="d.title" id="link_analyzer_song" class="link_analyzer_info">
1188                                 <div id="link_analyzer_song_sideinfo" class="hide-on-small-only link_analyzer_sideinfo">
1189                                         <img v-bind:src=" d.album.cover_medium "/>
1190                                         <a href="#modal_link_analyzer_country" class="modal-trigger waves-effect waves-light btn" style="width:100%;"><%= __('See Available Countries')%></a>
1191                                 </div>
1192                                 <div id="link_analyzer_song_maininfo" class="link_analyzer_maininfo">
1193                                         <h5 style="margin-bottom:8px; margin-top:0px;">{{ d.title }} {{ d.version }}<i v-if="d.explicit_lyrics" class="material-icons valignicon materialize-red-text tooltipped" data-tooltip="Explicit">explicit</i></h5>
1194                                         <p style="margin-top:0px;">by <b>{{ d.artist.name }}</b></br>
1195                                         in <b>{{ d.album.title }}</b></p>
1196                                         <hr class="hide-on-small-only">
1197                                         <a v-if="d.alternative" v-bind:href="'d.alternative.link'"><b><%= __('Alternative Link')%></b></a>
1198                                         <table class="striped">
1199                                                 <tbody>
1200                                                         <tr v-if="d.isrc"><td><b>ISRC</b></td><td>{{ d.isrc }}</td></tr>
1201                                                         <tr v-if="d.duration"><td><b><%= __('Duration')%></b></td><td>{{ d.duration_string }}</td></tr>
1202                                                         <tr v-if="d.disk_number"><td><b><%= __('Disc Number')%></b></td><td>{{ d.disk_number }}</td></tr>
1203                                                         <tr v-if="d.track_position"><td><b><%= __('Track Number')%></b></td><td>{{ d.track_position }}</td></tr>
1204                                                         <tr v-if="d.release_date"><td><b><%= __('Release Date')%></b></td><td>{{ d.release_date }}</td></tr>
1205                                                         <tr v-if="d.bpm"><td><b>BPM</b></td><td>{{ d.bpm }}</td></tr>
1206                                                 </tbody>
1207                                         </table>
1208                                         <a href="#modal_link_analyzer_country" class="modal-trigger waves-effect waves-light btn hide-on-med-and-up" style="width:100%;"><%= __('See Available Countries')%></a>
1209                                 </div>
1210                         </div>
1211
1212                         <div v-if="d.title" id="link_analyzer_album" class="link_analyzer_info">
1213                                 <div id="link_analyzer_album_sideinfo" class="hide-on-small-only link_analyzer_sideinfo">
1214                                         <img v-bind:src=" d.cover_medium "/>
1215                                         <a v-on:click="showTrackListSelective(d.link)" class="waves-effect waves-light btn" style="width:100%;"><%= __('Show Tracklist')%></a>
1216                                 </div>
1217                                 <div id="link_analyzer_album_maininfo" class="link_analyzer_maininfo">
1218                                         <h5 style="margin-bottom:8px; margin-top:0px;">{{ d.title }} <i v-if="d.explicit_lyrics" class="material-icons valignicon materialize-red-text tooltipped" data-tooltip="Explicit">explicit</i></h5>
1219                                         <p style="margin-top:0px;">by <b>{{ d.artist.name }}</b></br>
1220                                         <b>{{ d.nb_tracks }}</b> {{ d.nb_tracks==1 ? 'track' : 'tracks' }}</p>
1221                                         <hr class="hide-on-small-only">
1222                                         <a v-if="d.alternative" v-bind:href="'d.alternative.link'"><b><%= __('Alternative Link')%></b></a>
1223                                         <table class="striped">
1224                                                 <tbody>
1225                                                         <tr v-if="d.upc"><td><b>UPC</b></td><td>{{ d.upc }}</td></tr>
1226                                                         <tr v-if="d.duration"><td><b><%= __('Duration')%></b></td><td>{{ d.duration_string }}</td></tr>
1227                                                         <tr v-if="d.release_date"><td><b><%= __('Release Date')%></b></td><td>{{ d.release_date }}</td></tr>
1228                                                         <tr v-if="d.label"><td><b><%= __('Label')%></b></td><td>{{ d.label }}</td></tr>
1229                                                         <tr v-if="d.record_type"><td><b><%= __('Record Type')%></b></td><td>{{ d.record_type.substring(0,1).toUpperCase()+ d.record_type.substring(1) }}</td></tr>
1230                                                         <tr v-if="d.genres_string"><td><b><%= __('Genres')%></b></td><td>{{ d.genres_string }}</td></tr>
1231                                                 </tbody>
1232                                         </table>
1233                                         <a v-on:click="showTrackListSelective(d.link)" class="waves-effect waves-light btn hide-on-med-and-up" style="width:100%;"><%= __('Show Tracklist')%></a>
1234                                 </div>
1235                         </div>
1236                 </div>
1237
1238                 <div id="tab_url">
1239                         <div class="inline-input-group">
1240                                 <input autocomplete="off" type="search" id="song_url" class="input" placeholder="<%= __('DownloadURL_Info')%>">
1241                                 <button id="download_from_url_button" class="btn btn-input btn-flat deezloader-primary white-text"><i class="material-icons">get_app</i></button>
1242                         </div>
1243                 </div>
1244
1245                 <div id="tab_downloads">
1246                         <div class="row">
1247                                 <div class="col s12 m4">
1248                                         <button id="openDownloadsFolder" style="width: 100%; margin-bottom:8px;" class="btn btn-flat btn-input btn-block deezloader-primary white-text">
1249                                                 <%= __('Open Downloads Folder')%>
1250                                         </button>
1251                                 </div>
1252                                 <div class="col s12 m4">
1253                                         <button id="cancelAllTable" style="width: 100%; margin-bottom:8px;" class="btn btn-flat btn-input btn-block deezloader-primary white-text">
1254                                                 <%= __('Cancel All Downloads')%>
1255                                         </button>
1256                                 </div>
1257                                 <div class="col s12 m4">
1258                                         <button id="clearTracksTable" style="width: 100%; margin-bottom:8px;" class="btn btn-flat btn-input btn-block deezloader-primary white-text">
1259                                                 <%= __('Clear List')%>
1260                                         </button>
1261                                 </div>
1262                         </div>
1263                         <table id="tab_downloads_table_downloads" class="row">
1264                                 <thead>
1265                                         <tr>
1266                                                 <th><%= __('Name')%></th>
1267                                                 <th><%= __('Size')%></th>
1268                                                 <th><%= __('Downloaded')%></th>
1269                                                 <th><%= __('Failed')%></th>
1270                                                 <th style="width: 25%;"><!--progress--></th>
1271                                                 <th style="width: 56px;"><!--event buttons--></th>
1272                                         </tr>
1273                                 </thead>
1274                                 <tbody></tbody>
1275                         </table>
1276                 </div>
1277
1278         </div>
1279 </main>
1280
1281 <div class="fixed-action-btn" id="btn_scrollToTop" style="bottom: 45px; right: 24px;">
1282         <a class="btn-floating btn-large deezloader-primary scale-transition scale-out">
1283                 <i class="large material-icons">keyboard_arrow_up</i>
1284         </a>
1285 </div>
1286 <audio id="preview-track">
1287         <source id="preview-track_source" src="" type="audio/mpeg">
1288 </audio>
1289
1290 <div id="modal_quality" class="smallmodal">
1291         <!-- Modal content -->
1292         <div class="smallmodal-content">
1293                 <a onclick="modalQualityButton(9)" href="#" id="download_track_selection" class="btn btn-flat waves-effect waves-light deezloader-primary white-text">Download FLAC</a><br>
1294                 <a onclick="modalQualityButton(3)" href="#" id="download_track_selection" class="btn btn-flat waves-effect waves-light deezloader-primary white-text">Download MP3 320kbps</a><br>
1295                 <a onclick="modalQualityButton(1)" href="#" id="download_track_selection" class="btn btn-flat waves-effect waves-light deezloader-primary white-text">Download MP3 128kbps</a><br>
1296         </div>
1297 </div>
1298
1299 <footer id="page_footer" class="darken-1 left page-footer hide-on-med-and-down valign-wrapper">
1300                         <p><span style="position: relative;display: inline-block;transform: rotateY(180deg);">&copy;</span> Deezloader <%= __('original code by ZzMTV')%>.</p>
1301 </footer>
1302
1303 <script>if (typeof module === 'object') {
1304         window.module = module;
1305         module = undefined;
1306 }</script>
1307
1308 <script type="text/javascript" src="js/socket.io.js"></script>
1309 <script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
1310 <script type="text/javascript" src="js/materialize.min.js"></script>
1311 <script type="text/javascript" src="js/i18n.min.js"></script>
1312 <script type="text/javascript" src="js/vue.min.js"></script>
1313 <script type="text/javascript" src="js/appBase.js"></script>
1314 <script type="text/javascript" src="js/frontend.js"></script>
1315 <script>if (window.module) module = window.module;</script>
1316 </body>
1317 </html>