Skip to content

Commit

Permalink
removed testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
petersem committed Feb 2, 2024
1 parent b9e4a94 commit ebc679b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,14 +512,14 @@ async function loadNowScreening() {

//console.log(JSON.stringify(oldAwtrixJson) !== JSON.stringify(awtrixJson));

if(JSON.stringify(oldAwtrixJson) !== JSON.stringify(awtrixJson)){
await awt.post("http://192.168.1.28",awtrixJson);
oldAwtrixJson = awtrixJson;
//console.log('updated awtrix');
}
else{
//console.log('skipped awtrix update');
}
// if(JSON.stringify(oldAwtrixJson) !== JSON.stringify(awtrixJson)){
// await awt.post("http://192.168.1.28",awtrixJson);
// oldAwtrixJson = awtrixJson;
// //console.log('updated awtrix');
// }
// else{
// //console.log('skipped awtrix update');
// }


// restore defaults if plex now available after an error
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "posterr",
"version": "1.16.11",
"version": "1.16.12",
"description": "A digital display for your media",
"main": "index.js",
"bin": "index.js",
Expand Down

0 comments on commit ebc679b

Please sign in to comment.