The web front for shykeiichi/medialog

Medialog-Web update

Changed files
+3 -2
src
+1 -1
src/config.js
··· 1 - export let api_ip = "83.209.13.121:7707" 1 + export let api_ip = "192.168.0.153:7707"
+2 -1
src/medialog.svelte
··· 218 218 return 0; 219 219 } 220 220 Object.keys(data[category][media]["seasons"]).forEach((item, index) => { 221 - allSeasons += 1; 221 + if(data[category][media]["seasons"][item]["rating"] != 0) 222 + allSeasons += 1; 222 223 if(data[category][media]["seasons"][item]["rating"] != NaN) 223 224 totalRating += data[category][media]["seasons"][item]["rating"]; 224 225 else