tonycpsu / streamglob

A console media browser designed to facilitate live and time-shifted viewing of online content.
GNU General Public License v3.0
35 stars 10 forks source link

TypeError: sequence item 0: expected str instance, NoneType found #25

Closed user3483203 closed 5 years ago

user3483203 commented 5 years ago

When trying to view an mlb game, using the command streamglob mlb/nyy -v, I get the following output:

2019-04-19 18:59:23 [        __main__:645 ] [   debug] streamglob starting
2019-04-19 18:59:23 [        dropdown:822 ] [   debug] select: MLB
2019-04-19 18:59:23 [        dropdown:108 ] [   debug] set_label: ('dropdown_text', 'MLB')
2019-04-19 18:59:23 [             bam:1866] [   debug] getting schedule: 1, None, 2019-04-19, 2019-04-19, None, None, None
2019-04-19 18:59:23 [             bam:1886] [   debug] http://statsapi.mlb.com/api/v1/schedule?sportId=1&startDate=2019-04-19&endDate=2019-04-19&gameType=&gamePk=&teamId=&hydrate=linescore,team,game(content(summary,media(epg),editorial(preview,recap),highlights(highlights(items))))
2019-04-19 18:59:24 [        dropdown:822 ] [   debug] select: Video
2019-04-19 18:59:24 [        dropdown:108 ] [   debug] set_label: ('dropdown_text', 'Video')
2019-04-19 18:59:24 [        dropdown:822 ] [   debug] select: Video
2019-04-19 18:59:24 [        dropdown:108 ] [   debug] set_label: ('dropdown_text', 'Video')
2019-04-19 18:59:24 [        dropdown:822 ] [   debug] select: 720p
2019-04-19 18:59:24 [        dropdown:108 ] [   debug] set_label: ('dropdown_text', '720p')
2019-04-19 18:59:24 [        dropdown:822 ] [   debug] select: 720p
2019-04-19 18:59:24 [        dropdown:108 ] [   debug] set_label: ('dropdown_text', '720p')
2019-04-19 18:59:24 [        dropdown:822 ] [   debug] select: Live
2019-04-19 18:59:24 [        dropdown:108 ] [   debug] set_label: ('dropdown_text', 'Live')
2019-04-19 18:59:24 [         columns:128 ] [   debug] column start, width: given, 6
2019-04-19 18:59:24 [         columns:128 ] [   debug] column away_team_box, width: given, 16
2019-04-19 18:59:24 [         columns:128 ] [   debug] column home_team_box, width: given, 16
2019-04-19 18:59:24 [         columns:128 ] [   debug] column line, width: weight, 1
2019-04-19 18:59:24 [         columns:128 ] [   debug] column media_available, width: given, 10
2019-04-19 18:59:24 [         columns:128 ] [   debug] column game_id, width: weight, 1
2019-04-19 18:59:24 [       datatable:1295] [   debug] refresh: False
2019-04-19 18:59:24 [       datatable:1245] [   debug] requery: None, 0
2019-04-19 18:59:24 [         columns:128 ] [   debug] column team, width: given, 14
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 1, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 2, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 3, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 4, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 5, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 6, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 7, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 8, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 9, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column runs, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column hits, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column errors, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column index, width: weight, 1
2019-04-19 18:59:24 [             bam:1047] [   debug] geting media for game 565420
2019-04-19 18:59:24 [         columns:128 ] [   debug] column team, width: given, 14
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 1, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 2, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 3, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 4, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 5, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 6, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 7, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 8, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 9, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column runs, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column hits, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column errors, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column index, width: weight, 1
2019-04-19 18:59:24 [             bam:1047] [   debug] geting media for game 567468
2019-04-19 18:59:24 [         columns:128 ] [   debug] column team, width: given, 19
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 1, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 2, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 3, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 4, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 5, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 6, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 7, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 8, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 9, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column runs, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column hits, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column errors, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column index, width: weight, 1
2019-04-19 18:59:24 [             bam:1047] [   debug] geting media for game 566186
2019-04-19 18:59:24 [         columns:128 ] [   debug] column team, width: given, 14
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 1, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 2, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 3, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 4, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 5, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 6, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 7, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 8, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column 9, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column runs, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column hits, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column errors, width: given, 3
2019-04-19 18:59:24 [         columns:128 ] [   debug] column index, width: weight, 1
2019-04-19 18:59:24 [             bam:1047] [   debug] geting media for game 567372
2019-04-19 18:59:25 [         columns:128 ] [   debug] column team, width: given, 14
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 1, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 2, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 3, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 4, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 5, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 6, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 7, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 8, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 9, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column runs, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column hits, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column errors, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column index, width: weight, 1
2019-04-19 18:59:25 [             bam:1047] [   debug] geting media for game 566674
2019-04-19 18:59:25 [         columns:128 ] [   debug] column team, width: given, 14
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 1, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 2, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 3, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 4, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 5, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 6, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 7, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 8, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 9, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column runs, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column hits, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column errors, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column index, width: weight, 1
2019-04-19 18:59:25 [             bam:1047] [   debug] geting media for game 565519
2019-04-19 18:59:25 [         columns:128 ] [   debug] column team, width: given, 14
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 1, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 2, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 3, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 4, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 5, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 6, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 7, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 8, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 9, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column runs, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column hits, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column errors, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column index, width: weight, 1
2019-04-19 18:59:25 [             bam:1047] [   debug] geting media for game 566775
2019-04-19 18:59:25 [         columns:128 ] [   debug] column team, width: given, 14
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 1, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 2, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 3, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 4, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 5, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 6, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 7, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 8, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 9, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column runs, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column hits, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column errors, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column index, width: weight, 1
2019-04-19 18:59:25 [             bam:1047] [   debug] geting media for game 567563
2019-04-19 18:59:25 [         columns:128 ] [   debug] column team, width: given, 14
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 1, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 2, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 3, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 4, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 5, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 6, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 7, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 8, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 9, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column runs, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column hits, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column errors, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column index, width: weight, 1
2019-04-19 18:59:25 [             bam:1047] [   debug] geting media for game 566574
2019-04-19 18:59:25 [         columns:128 ] [   debug] column team, width: given, 14
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 1, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 2, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 3, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 4, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 5, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 6, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 7, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 8, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 9, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column runs, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column hits, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column errors, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column index, width: weight, 1
2019-04-19 18:59:25 [             bam:1047] [   debug] geting media for game 564742
2019-04-19 18:59:25 [         columns:128 ] [   debug] column team, width: given, 14
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 1, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 2, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 3, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 4, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 5, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 6, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 7, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 8, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 9, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column runs, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column hits, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column errors, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column index, width: weight, 1
2019-04-19 18:59:25 [             bam:1047] [   debug] geting media for game 566096
2019-04-19 18:59:25 [         columns:128 ] [   debug] column team, width: given, 14
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 1, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 2, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 3, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 4, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 5, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 6, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 7, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 8, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 9, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column runs, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column hits, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column errors, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column index, width: weight, 1
2019-04-19 18:59:25 [             bam:1047] [   debug] geting media for game 566285
2019-04-19 18:59:25 [         columns:128 ] [   debug] column team, width: given, 14
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 1, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 2, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 3, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 4, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 5, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 6, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 7, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 8, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 9, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column runs, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column hits, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column errors, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column index, width: weight, 1
2019-04-19 18:59:25 [             bam:1047] [   debug] geting media for game 565130
2019-04-19 18:59:25 [         columns:128 ] [   debug] column team, width: given, 14
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 1, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 2, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 3, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 4, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 5, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 6, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 7, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 8, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 9, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column runs, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column hits, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column errors, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column index, width: weight, 1
2019-04-19 18:59:25 [             bam:1047] [   debug] geting media for game 564937
2019-04-19 18:59:25 [         columns:128 ] [   debug] column team, width: given, 14
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 1, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 2, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 3, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 4, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 5, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 6, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 7, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 8, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column 9, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column runs, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column hits, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column errors, width: given, 3
2019-04-19 18:59:25 [         columns:128 ] [   debug] column index, width: weight, 1
2019-04-19 18:59:25 [             bam:1047] [   debug] geting media for game 565322
2019-04-19 18:59:25 [             bam:1866] [   debug] getting schedule: 1, None, 2019-04-19, 2019-04-19, None, 147, None
2019-04-19 18:59:25 [             bam:1886] [   debug] http://statsapi.mlb.com/api/v1/schedule?sportId=1&startDate=2019-04-19&endDate=2019-04-19&gameType=&gamePk=&teamId=147&hydrate=linescore,team,game(content(summary,media(epg),editorial(preview,recap),highlights(highlights(items))))
2019-04-19 18:59:25 [ selector_events:64  ] [   debug] Using selector: EpollSelector
2019-04-19 18:59:25 [           tasks:70  ] [   debug] task_manager starting
2019-04-19 18:59:25 [          player:215 ] [   debug] source: [MLBMediaSource(provider_id='mlb', url=None, media_type='video', game_id=567468, media_id='57d650e1-0220-4984-8776-ec212c5167e7', title='', description='', state='live', call_letters='FSKC', language='', feed_type='AWAY', free=False, playbacks=[])], player: {'media_types': {'video'}}, helper: streamlink
2019-04-19 18:59:25 [             mlb:692 ] [   debug] getting stream https://edge.svcs.mlb.com/media/57d650e1-0220-4984-8776-ec212c5167e7/scenarios/browser~csai
2019-04-19 18:59:25 [             mlb:697 ] [   debug] stream response: {'stream': {'complete': 'https://hlslive-llc-ewr1.media.mlb.com/token=exp=1555804765~id=00u84heze4Bmmdc2H356~data=57d650e1-0220-4984-8776-ec212c5167e7~hash=b604b4128c5565904c0c8aab503327973d358ed4/ls01/mlb/2019/04/19/Away_VIDEO_eng_Kansas_City_Royals_New_Yo_20190419_1555707948041/master_desktop_complete.m3u8', 'variants': [], 'renditions': {'audio': [], 'subtitles': []}, 'attributes': {'drms': [], 'encryptionType': 'AES-128', 'audioSegmentTypes': ['PACKED_AUDIO'], 'videoSegmentTypes': ['TS']}}, 'tracking': {'conviva': {'med': 'video', 'state': 'ON', 'productType': 'LIVE', 'locationName': 'EWR1_LIMELIGHT-SECURE', 'cdnName': 'LIMELIGHT-SECURE', 'pbs': 'browser~csai', 'fguid': 'ae1bd751-0494-4c19-9b66-3b2d027bb7ea', 'prt': 'mlbtv', 'conid': '57d650e1-0220-4984-8776-ec212c5167e7', 'userid': '00u84heze4Bmmdc2H356', 'assetName': '57d650e1-0220-4984-8776-ec212c5167e7', 'plt': 'browser'}, 'telemetry': {'fguid': 'ae1bd751-0494-4c19-9b66-3b2d027bb7ea', 'mediaId': '57d650e1-0220-4984-8776-ec212c5167e7'}, 'adEngine': {'cdn': 'LIMELIGHT-SECURE',
 'corigin': 'EWR1', 'fguid': 'ae1bd751-0494-4c19-9b66-3b2d027bb7ea'}}}
Traceback (most recent call last):
  File "/home/chris/miniconda3/bin/streamglob", line 11, in <module>
    sys.exit(main())
  File "/home/chris/miniconda3/lib/python3.7/site-packages/streamglob/__main__.py", line 658, in main
    run_cli(action, provider, selection, **opts)
  File "/home/chris/miniconda3/lib/python3.7/site-packages/streamglob/__main__.py", line 564, in run_cli
    stdout=sys.stdout, stderr=sys.stderr, **kwargs
  File "/home/chris/miniconda3/lib/python3.7/asyncio/base_events.py", line 573, in run_until_complete
    return future.result()
  File "/home/chris/miniconda3/lib/python3.7/site-packages/streamglob/player.py", line 255, in play
    player.source = source
  File "/home/chris/miniconda3/lib/python3.7/site-packages/streamglob/player.py", line 326, in source
    self.source.integrate_player(self)
  File "/home/chris/miniconda3/lib/python3.7/site-packages/streamglob/player.py", line 633, in integrate_player
    self.extra_args_pre += ["--player"] + [" ".join(dst.command)]
TypeError: sequence item 0: expected str instance, NoneType found

I noticed there was a similar TypeError in another issue, but even following that thread and updating to the newest version of master didn't fix it. I have tried a clean install, in a new environment, as well as deleting the sqlite file found in ~/.config

tonycpsu commented 5 years ago

Do you have mpv installed, and is it in your PATH?

user3483203 commented 5 years ago

I do not have mpv installed. I had un-commented out the wrong line in the config file to configure VLC, and it appears to be working now. Are you accepting pull requests? Might be worth it to have a check to see if any valid media players are found in the players section of the config.

tonycpsu commented 5 years ago

Are you accepting pull requests?

Always. :)

Might be worth it to have a check to see if any valid media players are found in the players section of the config.

Agreed.

Glad it's working now.