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