mlbserver 2023.3.13 → 2023.3.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/session.js +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # mlbserver
2
2
 
3
- Current version 2023.03.13
3
+ Current version 2023.03.24
4
4
 
5
5
  Credit to https://github.com/tonycpsu/streamglob and https://github.com/mafintosh/hls-decryptor
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mlbserver",
3
- "version": "2023.03.13",
3
+ "version": "2023.03.24",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
package/session.js CHANGED
@@ -3434,7 +3434,7 @@ class sessionClass {
3434
3434
  }
3435
3435
 
3436
3436
  // Game is not broadcast
3437
- if ( cache_data.dates[0].games[i].content && cache_data.dates[0].games[i].content.media && cache_data.dates[0].games[i].content.media.epg && (cache_data.dates[0].games[i].content.media.epg.length > 0) && (cache_data.dates[0].games[i].content.media.epg[0].title == 'MLBTV') && cache_data.dates[0].games[i].content.media.epg[0].items && (cache_data.dates[0].games[i].content.media.epg[0].items.length > 0) ) {
3437
+ if ( !cache_data.dates[0].games[i].content || !cache_data.dates[0].games[i].content.media || !cache_data.dates[0].games[i].content.media.epg || (cache_data.dates[0].games[i].content.media.epg.length == 0) || (cache_data.dates[0].games[i].content.media.epg[0].title != 'MLBTV') || !cache_data.dates[0].games[i].content.media.epg[0].items || (cache_data.dates[0].games[i].content.media.epg[0].items.length == 0) ) {
3438
3438
  omitted_games.no_broadcast.push(teams)
3439
3439
  continue
3440
3440
  }