Closed mlindner closed 7 years ago
Can you share the output of MAL Updater OS X after opening the stream.
Note that this feature only supports crunchyroll, Daisuki, funimation and anilab. I do not allow illegal streaming sites since I do not condone them.
Yes I'm using Crunchyroll. Why can't you get the URL the same way you get the filename from mpv?
Genshiken:~ mlindner$ ps ax | grep -i crunchyroll 70508 s003 S+ 0:00.97 /usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python /usr/local/bin/streamlink http://www.crunchyroll.com/saga-of-tanya-the-evil/episode-12-how-to-use-a-victory-727483
The URL is right there.
As to the output. There is no output. I put the URL in the bar that opens. I select the quality. I click the button. After I click the button MALUpdaterOSX quits and nothing happens.
Can you post the crash log here? Also, run MAL Updater OS X by right clicking the bundle, Contents>MacOS and click MAL Updater OS X. I want the console output.
In regard to detecting an existing stream, I have implemented this in the framework and I will be adding it to the program shortly
https://github.com/Atelier-Shiori/Streamlinkdetect/blob/master/streamlinkdetect/streamlinkdetector.m
If I do as you suggest and run it from Contents/MacOS/MAL Updater OSX, the behavior is drastically different. When doing as you suggest, as soon as I paste the URL into the dialog box it immediately opens the video player without clicking any buttons. If I then quit the video player and click the button to launch the video player, the video plays as normal with no issues. The output for this very different behavior is below.
I checked again with the new version with just launching the application normally and the behavior is the same as I described earlier in this bug, but it appears to no longer crash. It simply doesn't play any video.
Here is the output from terminal when launching it from inside the bundle. I paste a URL, then exit the player. Then click the button to launch the player. This is the output from those steps.
Last login: Sun Apr 2 04:27:30 on ttys003 Genshiken:~ mlindner$ /Applications/MAL\ Updater\ OS\ X.app/Contents/MacOS/MAL\ Updater\ OS\ X ; exit; 2017-04-02 04:27:40.780 MAL Updater OS X[4437:282075] Auto Scrobble Started. 2017-04-02 04:27:40.792 MAL Updater OS X[4437:282075] [Crashlytics] Version 3.8.4 (121) 2017-04-02 04:27:40.813 MAL Updater OS X[4437:282075] Atarashii-API is reachable. AV: 00:00:01.060 / 00:23:40.169 (0%) A-V: 0.101 Cache: 9s CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces. 2017-04-02 04:28:37.785 MAL Updater OS X[4437:282720] Debug: Saga of Tanya the Evil 2017-04-02 04:28:37.786 MAL Updater OS X[4437:282720] Check Exceptions List 2017-04-02 04:28:37.787 MAL Updater OS X[4437:282720] Saga of Tanya the Evil 2017-04-02 04:28:37.788 MAL Updater OS X[4437:282720] Saga of Tanya the Evil found on exceptions list as Youjo Senki. 2017-04-02 04:28:37.789 MAL Updater OS X[4437:282720] ============= 2017-04-02 04:28:37.789 MAL Updater OS X[4437:282720] Scrobbling... 2017-04-02 04:28:37.789 MAL Updater OS X[4437:282720] Finding AniID 2017-04-02 04:28:37.790 MAL Updater OS X[4437:282720] Youjo Senki is found in cache. 2017-04-02 04:28:37.790 MAL Updater OS X[4437:282720] Found 32615 2017-04-02 04:28:37.791 MAL Updater OS X[4437:282720] Checking Status 2017-04-02 04:28:38.412 MAL Updater OS X[4437:282730] Streamlink: [cli][info] Found matching plugin crunchyroll for URL http://www.crunchyroll.com/saga-of-tanya-the-evil/episode-11-resistance-727481 2017-04-02 04:28:39.208 MAL Updater OS X[4437:282730] Streamlink: [cli][info] Available streams: 360p_alt, 360p_alt2, 240p_alt, 240p_alt2, 480p_alt, 480p_alt2, 720p_alt, 720p_alt2, 1080p_alt, 1080p_alt2, 240p (worst), 360p, 480p, 720p, 1080p (best) [cli][info] Opening stream: 1080p (hls) 2017-04-02 04:28:39.208 MAL Updater OS X[4437:282730] Streamlink: [cli][info] Starting player: mpv --no-cache --screen=1 --no-ytdl 2017-04-02 04:28:39.250 MAL Updater OS X[4437:282730] Streamlink: Playing: https://comcast-hls-media-vod-ellation.vip1-sjc1.dlvr1.net/8491b1d7-1797-11e7-bdad-856c74d41d8c/evs/e88050dfa2556ce54ce808e0cc9e04f1/assets/7b5eeb9a3487dca37cfd8d9a6fdc809e_3177189.mp4/index-v1-a1.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jb21jYXN0LWhscy1tZWRpYS12b2QtZWxsYXRpb24udmlwMS1zamMxLmRsdnIxLm5ldC84NDkxYjFkNy0xNzk3LTExZTctYmRhZC04NTZjNzRkNDFkOGMvZXZzLyoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE0OTExNDYyMjF9fX1dfQ__&Signature=AOTuLzpkzo2eqiAG1oYcEooMlqhCzBv~yI5YNitbO-HkjUHoV~d7GukAyxDYzCvoXuSQWUm5Ce5tjFiMrv~8p9posjFHrQyMXBTPxFQzgS8n2CzBdphp0LtQ-oukxAO-lrqtZYbMv4g~CAjaccQh20BTXPQmQKngz-LDQpX~QTiS9mdXL71QC0sILcyP2tY5h4FYM70lf-t7dwKc6pHiMXi3WxSMd64D0~4wuUzqDkUnvUFOEzb4pfZg4b~mnaViqEL8s6yS8GYMJmsKMGiEbkkW4MGNpQ7wZTQGeOlkccb0k0KSoCBEcgqHEh~H~LH2tYHr~j2XjNhRAKnnvT1Cqg__&Key-Pair-Id=DLVR 2017-04-02 04:28:40.092 MAL Updater OS X[4437:282720] Title on List 2017-04-02 04:28:40.092 MAL Updater OS X[4437:282720] Updating Title 2017-04-02 04:28:40.093 MAL Updater OS X[4437:282720] Scrobble Complete with Status Code: 2 2017-04-02 04:28:40.093 MAL Updater OS X[4437:282720] ============= 2017-04-02 04:28:40.310 MAL Updater OS X[4437:282957] Streamlink: (+) Video --vid=1 (h264) (+) Audio --aid=1 (aac) 2017-04-02 04:28:40.310 MAL Updater OS X[4437:282957] Streamlink: [vo/opengl/cocoa] Screen ID 1 does not exist, falling back to main device 2017-04-02 04:28:40.418 MAL Updater OS X[4437:282957] Streamlink: AO: [coreaudio] 44100Hz stereo 2ch floatp 2017-04-02 04:28:40.445 MAL Updater OS X[4437:282957] Streamlink: VO: [opengl] 1920x1080 yuv420p AV: 00:00:01.060 / 00:23:40.169 (0%) A-V: 0.101 Cache: 9s 2017-04-02 04:28:41.784 MAL Updater OS X[4437:282959] Streamlink:
Exiting... (Quit)
The single line "AV: 00:00:01.060 / 00:23:40.169 (0%) A-V: 0.101 Cache: 9s" is from when the player launched by itself. The rest is from when I launched it myself. The warning appeared in between the two runs.
For reference here is my streamlink config file:
player=mpv --no-cache --screen=1 --no-ytdl player-no-close player-passthrough=hls,http,rtmp verbose-player
crunchyroll-username=
Environmental path variable was set to the program's launch path when it needs to be "/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin". After adding this variable to the task, it launches the player properly.
Fixed with https://github.com/Atelier-Shiori/Streamlinkdetect/commit/a50bc62887b36e34e1e4bfe20a2b52821e362877
If I try and pass a URL into it, it correctly parses the available stream qualities, but when I select one and click "Open Stream" nothing happens. No error, nothing being launched, just nothing.