What about the free game? What's the variable I need for that?
If you only want to add the free games to Channels, you can use the "includeTeams=free" URL parameter in your M3U/XML links. Something like
http://your.ip.address.here:9999/channels.m3u?mediaType=Video&resolution=best&includeTeams=free
http://your.ip.address.here:9999/guide.xml?mediaType=Video&includeTeams=free
I couldn’t get it to work either so I use the nuclear option
Thanks @tonywagner for this plugin! I was using matty’s mlb for years and then I switched to your other mlb container. I’ve finally made the switch over to the main mlbserver and it’s wonderful. I like that it just removes all blacked out games (the others just only let you remove channels) and all the options are much appreciated.
I have a recommendation. A lot of people have asked about how do I get X or make it so Y. Something I would like to see is a URL builder. Just an option that lets you click and add all these various arguments and then outputs the various options for the m3u8 and the epg.
Just wanted to throw this out there. Thanks!
That's a good idea -- the web interface could use an overhaul anyway. I will keep this in mind!
I have played around with the MILB feeds and currently have all 4 of the Cubs affiliates in my M3U/guide. This works great for the home broadcasts. The problem is that a lot of the MILB games don't have local broadcasts and may be on the opposing team's stream.
I could add every affiliate to my M3U, but that's too many channels to scroll through in the guide for my liking. Is there any way to map a channel that dynamically combines home and away streams into a single stream? I have no idea if that is possible. Is there any option I could use to accomplish what I am trying to do, which is basically to only show games for Cubs affiliates in my guide but also include the away games?
What is your mlbserver XML URL?
If CHC is included among your favorite teams in the mlbserver, then the main XML endpoint should include not only all of your entitled MLB games, but also all Cubs affiliate games, home or away:
http://YOUR.MLBSERVER.IP.ADDRESS/guide.xml?mediaType=Video
The includeTeams parameter will limit the games to just those specified teams and their affiliates, again home or away:
http://YOUR.MLBSERVER.IP.ADDRESS/guide.xml?mediaType=Video&includeTeams=CHC,CWS
That limits the data in the guide, but won't I still need every MILB affiliate in my M3U and see all the channels in my channel listing, but just without guide data? I may not be understanding how that works.
Same parameter should work in the M3U. And the resulting affiliate stream link inside the M3U, like
http://YOUR.MLBSERVER.IP.ADDRESS/stream.m3u8?team=KNX&mediaType=Video&level=AA&resolution=best
should point to every Knoxville game, home or away. (In fact right now it points to their away game from earlier today, since they don't currently have a live game.)
Ok, I see. I think I got it now, using:
http://YOUR.MLBSERVER.IP.ADDRESS/guide.xml?mediaType=Video&includeTeamsInTitles=channels&offAir=channels&includeOrgs=CHC&includeBlackouts=true
I was misunderstanding how it worked. I didn't realize the single organizational stream included both home and away. I thought I had to explicitly include the away team's channel as well for away broadcasts. I'm glad that isn't the case!
As always, thank you for your help. I haven't watched this much baseball in years.
One last question...
Any chance we could get the program titles to indicate that a game is blacked out when using the includeBlackouts=true parameter?
I like to see all the games listed in my guide, even if they are blacked out, but it would be helpful to be able to quickly identify which of those games are being blacked out.
using docker cli, I am just not seeing PHI (phillies). When I add the fav teams env var to the cmd line, I get the AAA teams and minor leagues for phillies added, but not the MLB team... what am I doing wrong? I just used the "All: channels.m3u and guide.xml" from the mlbserver webgui in my custom channels config, just expected literally all the games but it's not doing that for me.
Are you in the Philadelphia market? If so, you probably aren't seeing the Phillies because of blackout restrictions.
I am, is that tied to my account or my dns?(if you know)
I also have normal cable tv(include comcast sportsnet) imported via my hdhomerun tuner but I honestly don't understand sports blackouts very well. I thought paying for an MLB sub would cover that too.
It’s usually tied to your IP address. You can add includeBlackouts=true but it will likely error when you try to play any Phillies games.
MLB ties to DNS. That’s about all I’m going to say about that. Take this as a hint if you like.
It has nothing to do with your IP, it depends on which DNS server resolves the DNS query for mlb.
That is really interesting!
Where are you getting the media tags from. I have a program that uses that mlb stats api and it seems like the media tags like nesn, marquee, etc are gone? Yours seems pretty consistent.
Is there a reason that I can't create a standard "Team Pass" in channels that catches all of these games along with the games on regular local/cable channels? I have it set up with two different passes currently, one standard team pass, and one advanced pass for the mlbserver channels. I'm just wondering if there is a better way to do it.