Another try try
This commit is contained in:
parent
0be8ad07e8
commit
ca971c34ad
|
@ -13,6 +13,6 @@
|
|||
<script src=https://infobeamer.montage2.de/js/moment/moment.min.73de4254959530e4d1d9bec586379184f96b4953dacf9cd5e5e2bdd7bfeceef7.js integrity="sha256-c95CVJWVMOTR2b7FhjeRhPlrSVPaz5zV5eK917/s7vc="></script>
|
||||
<script src=https://infobeamer.montage2.de/js/preact/preact.min.0c204e20934f1e09cfe86fbcf1d069d842f988fc71efe3a923021c08892c71c8.js integrity="sha256-DCBOIJNPHgnP6G+88dBp2EL5iPxx7+OpIwIcCIksccg="></script>
|
||||
<script src=https://infobeamer.montage2.de/js/htm/htm.80e39afe20fd61183412eda89efa10532d57945e6364642aceacd50eb2384b4b.js integrity="sha256-gOOa/iD9YRg0Eu2onvoQUy1XlF5jZGQqzqzVDrI4S0s="></script>
|
||||
<script src=https://infobeamer.montage2.de/main.b67a4b646a3847aa36131a70016e64dd9f5aec7555b1e993ca99e620f6c78bd4.js integrity="sha256-tnpLZGo4R6o2ExpwAW5k3Z9a7HVVsemTypnmIPbHi9Q=" type=module></script>
|
||||
<script src=https://infobeamer.montage2.de/main.d2de05d8f07febd8a32436fd867b559f405cd7bd633a5a2d52981fc30152512c.js integrity="sha256-0t4F2PB/69ijJDb9hntVn0Bc171jOlotUpgfwwFSUSw=" type=module></script>
|
||||
</body>
|
||||
</html>
|
|
@ -90,9 +90,6 @@
|
|||
return scheduleFiltered;
|
||||
};
|
||||
var is_new_music = (musicA, musicB) => {
|
||||
console.log("Eval new music?");
|
||||
console.log(musicA);
|
||||
console.log(musicB);
|
||||
let isSame;
|
||||
if (musicA.length !== 0 && musicB.length !== 0) {
|
||||
isSame = musicA[0].artist === musicB[0].artist && musicA[0].title === musicB[0].title;
|
||||
|
@ -105,8 +102,8 @@
|
|||
};
|
||||
var music_filter = (musicA, musicB) => {
|
||||
let isNew = is_new_music(musicA, musicB);
|
||||
console.log("New? " + isNew);
|
||||
musicB.forEach((m) => m.updated = true);
|
||||
console.log("New music? " + isNew);
|
||||
musicB.forEach((m) => m.updated = isNew);
|
||||
return musicB;
|
||||
};
|
||||
|
|
@ -13,6 +13,6 @@
|
|||
<script src=https://infobeamer.montage2.de/js/moment/moment.min.73de4254959530e4d1d9bec586379184f96b4953dacf9cd5e5e2bdd7bfeceef7.js integrity="sha256-c95CVJWVMOTR2b7FhjeRhPlrSVPaz5zV5eK917/s7vc="></script>
|
||||
<script src=https://infobeamer.montage2.de/js/preact/preact.min.0c204e20934f1e09cfe86fbcf1d069d842f988fc71efe3a923021c08892c71c8.js integrity="sha256-DCBOIJNPHgnP6G+88dBp2EL5iPxx7+OpIwIcCIksccg="></script>
|
||||
<script src=https://infobeamer.montage2.de/js/htm/htm.80e39afe20fd61183412eda89efa10532d57945e6364642aceacd50eb2384b4b.js integrity="sha256-gOOa/iD9YRg0Eu2onvoQUy1XlF5jZGQqzqzVDrI4S0s="></script>
|
||||
<script src=https://infobeamer.montage2.de/main.b67a4b646a3847aa36131a70016e64dd9f5aec7555b1e993ca99e620f6c78bd4.js integrity="sha256-tnpLZGo4R6o2ExpwAW5k3Z9a7HVVsemTypnmIPbHi9Q=" type=module></script>
|
||||
<script src=https://infobeamer.montage2.de/main.d2de05d8f07febd8a32436fd867b559f405cd7bd633a5a2d52981fc30152512c.js integrity="sha256-0t4F2PB/69ijJDb9hntVn0Bc171jOlotUpgfwwFSUSw=" type=module></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue