How are those on M1's getting past the chrome core dumps?
=== Getting events ===
Looking for live events...
/app/services/get-events.ts:4
import { db } from './database';
^
browserType.launch: Browser closed.
==================== Browser output: ====================
/opt/google/chrome/chrome --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --user-data-dir=/tmp/playwright_chromiumdev_profile-AklIvY --remote-debugging-pipe --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --no-startup-window
pid=37
[pid=37][err] qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
[pid=37][err] qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
[pid=37][err] qemu: uncaught target signal 11 (Segmentation fault) - core dumped
=========================== logs ===========================
Sorry, I have unexpected visitors yesterday (that turned into today)... So I am working on this as I am able to sneak away...
I ran exactly what you put except I replaced the two /username/ with my username and put my ESPN_USER and ESPN_PASS in. It runs successfully in terminal and downloads the Image and starts a Container. However, it only runs for about 10-15 seconds and then stops on its own. If I restart it, it again only runs for a very short amount of time and then stops. In the terminal window, I get the following error...
=== Getting events ===
Looking for live events...
/app/services/get-events.ts:4
import { db } from './database';
^
browserType.launch: Browser closed.
==================== Browser output: ====================
<launching> /opt/google/chrome/chrome --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --user-data-dir=/tmp/playwright_chromiumdev_profile-p2JnfU --remote-debugging-pipe --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --no-startup-window
<launched> pid=37
[pid=37][err] qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
[pid=37][err] qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
[pid=37][err] qemu: uncaught target signal 11 (Segmentation fault) - core dumped
=========================== logs ===========================
<launching> /opt/google/chrome/chrome --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --user-data-dir=/tmp/playwright_chromiumdev_profile-p2JnfU --remote-debugging-pipe --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --no-startup-window
<launched> pid=37
[pid=37][err] qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
[pid=37][err] qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
[pid=37][err] qemu: uncaught target signal 11 (Segmentation fault) - core dumped
============================================================
at /app/services/get-events.ts:45:34
at /app/services/get-events.ts:8:71
at __awaiter (/app/services/get-events.ts:4:12)
at getEvents (/app/services/get-events.ts:44:31)
at /app/services/get-events.ts:73:13
at /app/services/get-events.ts:8:71
at __awaiter (/app/services/get-events.ts:4:12)
at getEventSchedules (/app/services/get-events.ts:62:45)
at /app/index.ts:57:26
at /app/index.ts:8:71
at __awaiter (/app/index.ts:4:12)
at schedule (/app/index.ts:55:29)
at /app/index.ts:175:9
at /app/index.ts:8:71
at __awaiter (/app/index.ts:4:12)
at /app/index.ts:172:13
at Object.<anonymous> (/app/index.ts:179:3)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Module.m._compile (/app/node_modules/ts-node/src/index.ts:1310:23) {
name: 'Error'
}
npm notice
npm notice New patch version of npm available! 8.5.1 -> 8.5.2
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.5.2>
npm notice Run `npm install -g npm@8.5.2` to update!
npm notice
Assume it’s a G1 mac mini? Docker trying to emulate amd/intel architecture through qemu is probably never going to be stable enough to run without errors. This container is based on an image thst is only designed to run on amd64.
Yes, i have an apple silicon M1 mac mini.
Ahhh! Didn't realize you were running M1 Mac (or I missed it), sorry. I was using Intel Mac and Windows PCs. You mentioned you had a Windows desktop machine earlier so perhaps try running docker on that machine and you'll probably have better success. Until M1 native version of EPusTV is done by someone perhaps.
anyone else missing the Carabao Cup (chelsea v liverpool) thats currently live on espn+ in their guide? looks like the container is not picking it up. thanks.
Hmm…
it wont show whatever i do. restart the container didnt work, reload guide didnt work. stopped and restarted the container and got more guide data, but the cup. i dont know, this container is wonky.
Summary
Assigning UT Arlington vs. Stephen F. Austin (Baseball) to Channel #6527
Assigning Kent State vs. #20 Texas Tech (Doubleheader) (Baseball) to Channel #6528
Assigning Mercer vs. Kennesaw State (W Lacrosse) to Channel #6529
Assigning Orlando City SC vs. CF Montréal to Channel #6530
Assigning The Honda Classic: Featured Hole - #17 (Final Round) to Channel #6531
Assigning The Honda Classic: Featured Group 2 (Koepka & Poulter) Final Round) to Channel #6532
Assigning Kent State vs. Wofford (W Lacrosse) to Channel #6533
Assigning Ohio State vs. Texas State (Baseball) to Channel #6534
Assigning Winthrop vs. #21 Liberty (Baseball) to Channel #6535
Assigning Central Florida vs. Georgia Southern (Baseball) to Channel #6536
Assigning South Florida vs. East Carolina (W Basketball) to Channel #6537
Assigning Boston College vs. Indiana State (Softball) to Channel #6515
Assigning Buffalo Sabres vs. Dallas Stars to Channel #6520
Assigning Buffalo Sabres vs. Dallas Stars to Channel #6523
Assigning UAB vs. SE Louisiana (Baseball) to Channel #6538
Assigning Monmouth vs. Siena (M Basketball) to Channel #6539
Assigning Iona vs. Rider (M Basketball) to Channel #6540
Assigning Wichita State vs. Tulsa (W Basketball) to Channel #6541
Assigning Rhode Island vs. South Alabama (Baseball) to Channel #6542
Assigning UT Rio Grande Valley vs. Houston (Baseball) to Channel #6543
Assigning Niagara vs. Saint Peter's (M Basketball) to Channel #6544
Assigning Toronto Six vs. Metropolitan Riveters to Channel #6545
Assigning Bowling Green vs. Austin Peay (Baseball) to Channel #6546
Assigning St. Louis Blues vs. Chicago Blackhawks to Channel #6547
Assigning Cincinnati vs. North Alabama (Baseball) to Channel #6548
Assigning En Español-FC Barcelona vs. Athletic Club Bilbao (LaLiga) to Channel #6549
Assigning FC Barcelona vs. Athletic Club Bilbao (LaLiga) to Channel #6550
Assigning St. Louis Blues vs. Chicago Blackhawks to Channel #6551
Assigning Illinois State vs. Northern Iowa (W Basketball) to Channel #6552
Assigning West Virginia vs. Liberty (M Lacrosse) to Channel #6553
Assigning Princeton vs. #6 Harvard (Quarterfinals) (W Hockey) to Channel #6554
Assigning Bradley vs. Drake (W Basketball) to Channel #6555
Assigning Purdue Fort Wayne vs. California Baptist (Baseball) to Channel #6556
Assigning Gonzaga vs. CSU Fullerton (Baseball) to Channel #6557
Assigning St. John's vs South Florida (Softball) to Channel #6558
Assigning Clarkson vs. #9 Quinnipiac (Quarterfinals) (W Hockey) to Channel #6559
Assigning St. Lawrence vs. #7 Yale (Quarterfinals) (W Hockey) to Channel #6560
Assigning Washington vs. UC San Diego (Baseball) to Channel #6561
Assigning Cornell vs. #8 Colgate (Quarterfinals) (W Hockey) to Channel #6562
Assigning Virginia vs. UNC Greensboro (Softball) to Channel #6513
Assigning Sun, 2/27 Bundesliga Highlight Show to Channel #6519
Assigning Winnipeg Jets vs. Arizona Coyotes to Channel #6525
Assigning Winnipeg Jets vs. Arizona Coyotes to Channel #6529
Assigning Sacramento State vs. #12 Long Beach State (Baseball) to Channel #6515
Assigning Grand Canyon vs. UC Irvine (Baseball) to Channel #6521
Assigning Nevada vs. UC Santa Barbara (Baseball) to Channel #6526
Assigning #4 Florida vs. UCF (Softball) to Channel #6530
Assigning Harvard vs. Princeton (M Hockey) to Channel #6533
Assigning Kansas State vs. CSU Bakersfield (Baseball) to Channel #6537
Assigning Indiana State vs. Samford (Softball) to Channel #6563
Assigning Pacific vs. CSU Northridge (Baseball) to Channel #6564
Assigning Oregon vs Baylor (Acrobatics and Tumbling) to Channel #6565
Assigning UT Arlington vs. Stephen F. Austin (Baseball) to Channel #6566
Assigning #23 Duke vs. Baylor (Baseball) to Channel #6514
Assigning Dom, 2/27 - Fuera de Juego to Channel #6517
Assigning Wright State vs. #4 Oklahoma State (Baseball) to Channel #6518
Assigning New Zealand vs. South Africa presented by ANZ (2nd Test - Day 4) to Channel #6519
Assigning Pittsburgh Penguins vs. Columbus Blue Jackets to Channel #6522
Assigning Pittsburgh Penguins vs. Columbus Blue Jackets to Channel #6527
Assigning Texas A&M-CC vs. Houston (Softball) to Channel #6534
Assigning UT Rio Grande Valley vs. Houston (Baseball) to Channel #6535
Assigning North Carolina vs. #25 East Carolina (Baseball) to Channel #6512
=== Done building the schedule ===
=== Starting Server ===
Server started on port 8000
thanks
Well shoot! I can use my windows desktop for docker, but i try really hard to contain all of my channels 'things' on the mac. Hopefully someone can develop a apple silicon version soon!?!
Thank you for your help!!
Thanks for this, Their weekly schedule seems consistent, I'm trying to learn how to convert it to XML. But I don't want to hijack this thread any further, so I started a different one to discuss TWiT.tv
Hi, Can EPlusTV be used if you have the Channels server on a PC?
EPlusTV just generates the streams and m3u/xml info for you to import into Channels - the Channels server can run anywhere and on any platform as long as it can access the EPlusTV container.
Yes, I run Channels on a Win10 PC, and I'm running EPlusTV within Docker Desktop, on the same PC. But, as freeside stated, they can run on any platform, as long as Channels can access the EPlusTV.
Big props to the developer... this has solved almost all of my problems... at the very least it puts it in the guide so I can see what is airing on ESPN+ without having to leave the app or look elsewhere... two problems I've encountered with this and curious if anyone else has seen these/has a fix for them...
-
Stream will start and run fine for several minutes, then randomly freeze. I can exit out and restart the stream no problem but it's annoying. (It's possible that the crappy PC I'm running POP_OS! on and running the docker command through is part of the issue on this)
-
Some events never load (cricket and hockey seem to fall into this camp)... this morning on ESPN.com I clicked on a live cricket match just to see if it loaded, and I got a splash screen to pick a broadcast (English or Hindi) I'm betting this is where it is getting caught up... I'm betting the Hockey problem I'm having is making me choose home or away broadcast... there might not be a workaround to this problem.
I've observed the stream stopping randomly too on a consistent basis. I've ruled out a client issue (Apple TV 4k latest beta). If I open the stream from Channels in Quadstream it will automatically restart after the stream is lost after a few seconds. Here is a log sample from last night when it occurs:
2022/03/13 19:44:32.567475 [HLS] Stopping transcoder session ch10672-dANY-ip192.168.1.40 (out: 1m15.754667s, finished: true)
2022/03/13 19:44:36.702441 [TNR] Opened connection to M3U-ESPN for ch10672 EPlusTV 1
2022/03/13 19:44:36.718452 [HLS] Starting live stream for channel 10672 from 192.168.1.40 (bitrate=0)
2022/03/13 19:44:37.259212 [HLS] Probed live stream in 539.4537ms: h264 1280x720 progressive 3507098bps
2022/03/13 19:44:37.274831 [HLS] Session ch10672-dANY-ip192.168.1.40 started in 611.213ms
2022/03/13 19:44:50.700870 [TNR] Closed connection to M3U-ESPN for ch10672 EPlusTV 1
2022/03/13 19:44:51.667402 [HLS] Couldn't generate stream playlist for ch10672-dANY-ip192.168.1.40: Stream stopped
2022/03/13 19:44:51.667402 [HLS] Stopping transcoder session ch10672-dANY-ip192.168.1.40 (out: 14.378667s, finished: true)
2022/03/13 19:44:54.738175 [TNR] Opened connection to M3U-ESPN for ch10672 EPlusTV 1
2022/03/13 19:44:54.753954 [HLS] Starting live stream for channel 10672 from 192.168.1.40 (bitrate=0)
2022/03/13 19:44:55.215386 [HLS] Probed live stream in 460.8852ms: h264 1280x720 progressive 3145009bps
2022/03/13 19:44:55.230645 [HLS] Session ch10672-dANY-ip192.168.1.40 started in 514.4136ms
2022/03/13 19:45:11.082872 [TNR] Closed connection to M3U-ESPN for ch10672 EPlusTV 1
2022/03/13 19:45:11.241567 [HLS] Couldn't generate stream playlist for ch10672-dANY-ip192.168.1.40: Stream stopped
2022/03/13 19:45:11.241567 [HLS] Stopping transcoder session ch10672-dANY-ip192.168.1.40 (out: 14.890667s, finished: true)
2022/03/13 19:45:14.318213 [TNR] Opened connection to M3U-ESPN for ch10672 EPlusTV 1
2022/03/13 19:45:14.331934 [HLS] Starting live stream for channel 10672 from 192.168.1.40 (bitrate=0)
2022/03/13 19:45:14.807154 [HLS] Probed live stream in 473.8735ms: h264 1280x720 progressive 2562760bps
2022/03/13 19:45:14.864990 [HLS] Session ch10672-dANY-ip192.168.1.40 started in 566.1954ms
I finally got around to getting this setup. It's great, but would be nice if it worked on RPi4, but that's a conversation for another thread. I've got it setup on my MacBook Pro, so it only updates when the lid is open. First world problems.
Anyways, the reason for the post is is there anyway to add the sport to the guide or as a tag? Example:
The only way the one would know this is Water Polo is by looking at the xml:
<programme channel="7022.eplustv" start="20220319160000 +0000" stop="20220319180000 +0000">
<title lang="en">Wagner vs. Villanova</title>
<desc lang="en">Wagner vs. Villanova</desc>
<icon src="https://artwork.api.espn.com/artwork/collections/airings/1512b121-114f-484d-a4bf-81240a23a07c/default?width=640&apikey=1ngjw23osgcis1i1vbj96lmfqs×tamp=202203171951"/>
<live/>
<new/>
<category lang="en">Sports</category>
<category lang="en">Water Polo</category>
<category lang="en">NCAA Women's Water Polo</category>
<category lang="en">NCAAW Water Polo</category>
</programme>
Many of the events you can determine the sport because ESPN added it to the title as you can see "Air Force vs. Mercer (M Lacrosse)" but most don't, or the image gives clues.
Getting this error from the ESPNTV Container:
=== Getting events ===
Looking for live events...
(node:18) UnhandledPromiseRejectionWarning: page.goto: Timeout 30000ms exceeded.
=========================== logs ===========================
navigating to "https://www.espn.com/espnplus/schedule?channel=ESPN_PLUS", waiting until "networkidle"
============================================================
at /app/services/get-events.ts:53:14
at fulfilled (/app/services/get-events.ts:5:58)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:18) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:18) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Not sure if this fixed the problem or how it fixed the problem. But I updated my resources and it is loading now:
CPU from 2 to 3
Memory from 4 to 8
Swap from 1 to 1.5
I can get it to work, but after about 10 minutes I get Connection Lost, with nothing in the Channels or Docker logs to identify what the problem was.
2022/03/24 19:44:41.926033 [TNR] Opened connection to M3U-ESPN for ch7000 EPlusTV 7000
2022/03/24 19:50:46.151677 [TNR] Closed connection to M3U-ESPN for ch7000 EPlusTV 7000
Server started on port 8000
There is an active event. Going to start the stream.
Getting stream for event: 14504e45-bff3-45ef-94f0-a92c77ab23dc
Channel has upcoming event. Set timer to start
Channel has upcoming event. Set timer to start
Got credentials from local storage
Stream started on PID: 1321
There is an active event. Going to start the stream.
Getting stream for event: 5cbec4ff-2800-4e60-b858-242b98e4e1cb
Channel has upcoming event. Set timer to start
Got credentials from local storage
Stream started on PID: 1614
Killing unwatched stream with PID: 1321
Stream for 7002 stopped.
Killing unwatched stream with PID: 1614
Stream for 7000 stopped.
Would be nice if this was more reliable.