plugin.video.sendtokodi
plugin.video.sendtokodi copied to clipboard
Arte.tv not playing
Hi @firsttris After issue #64 was solved upstream a couple of weeks ago, I just made new unsuccessful attempts. Below is a log excerpt showing first a youtube video playing without any issue and then an arte.tv video failing. Any clue about this one? Happy to provide any more details as needed or to raise this issue elsewhere as appropriate. Thank you.
2022-08-14 08:46:59.681 T:1876 INFO
2022-08-14 08:48:22.853 T:1904 ERROR
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.video.sendtokodi/service.py", line 174, in <module>
result = ydl.extract_info(url, download=False)
File "/home/osmc/.kodi/addons/plugin.video.sendtokodi/lib/yt_dlp/YoutubeDL.py", line 1432, in extract_info
return self.__extract_info(url, self.get_info_extractor(ie_key), download, extra_info, process)
File "/home/osmc/.kodi/addons/plugin.video.sendtokodi/lib/yt_dlp/YoutubeDL.py", line 1459, in wrapper
self.report_error(str(e), e.format_traceback())
File "/home/osmc/.kodi/addons/plugin.video.sendtokodi/lib/yt_dlp/YoutubeDL.py", line 978, in report_error
self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
File "/home/osmc/.kodi/addons/plugin.video.sendtokodi/lib/yt_dlp/YoutubeDL.py", line 921, in trouble
raise DownloadError(message, exc_info)
lib.yt_dlp.utils.DownloadError: ERROR: [ArteTV] 092943-001-A: Requested format is not available. Use --list-formats for a list of available formats
-->End of Python script error report<--
2022-08-14 08:48:23.145 T:1904 INFO
I did a quick test with a single video. Unless this was an exception, arte.tv seems to not provide a "single file for audio and video" anymore. The future of streams is to provide multiple audio and video streams separately. This enables seamless and even adaptive switching between qualities and different audio lines (langues etc.).
In the current state this plugin requires a single file stream which contains audio and video at once. For everything else wee need https://github.com/firsttris/plugin.video.sendtokodi/issues/34
Thanks for coming back @nullket
@laurentbacall if you are on kodi matrix can you please checkout this experimental feature:
- Go to https://github.com/firsttris/plugin.video.sendtokodi/actions
- Search for the newest
Support original manifest if available
run and click on it - Under
Artifacts
downloadAddon-artifacts-Matrix
- Extract the downlaoded zip
Addon-artifacts-Matrix.zip
once so you get aplugin.video.sendtokodi-xyz.zip
file - Uninstall the currently installed sendtokodi
- Install the downloaded one via the kodi "install from zip" procedure
- Test an Arte Stream
@nullket - great stuff - works like a charm - my wife is super happy to watch ARTE again. You rock. Thank you so much. How will I know when it is available as an update to the regular addon?
@nullket - great stuff - works like a charm - my wife is super happy to watch ARTE again. You rock. Thank you so much.
You are welcome :) But I had to add some changes again as I broke audio only streams. Can you do me a favor, install the newest test build (steps above) and test it again?
How will I know when it is available as an update to the regular addon?
As soon as all issues introduced by this (see https://github.com/firsttris/plugin.video.sendtokodi/pull/74) are fixed and firsttris had the time to review the PR.
Sure. Just tested 0.9.274. The ARTE stream won't start (kodi log below). But worse -- 0.9.274 won't uninstall via kodi interface. How can I force uninstall? (I am comfortable with shell if that helps). 0.9.274_kodi.log
Re: forcing uninstall, would it be as easy as removing ~/.kodi/addons/plugin.video.sendtokodi ?
Re: forcing uninstall, would it be as easy as removing ~/.kodi/addons/plugin.video.sendtokodi ?
Yep, that and restarting Kodi should do it.
Thanks but too bad it broke. I will look into the log the next days.
Mhm I am not sure you got the right version last time or something else was borked (might be the reason you could not uninstall it correctly). Anyway, I made some changes and your url was working fine on my kodi instance. Please test https://github.com/firsttris/plugin.video.sendtokodi/actions/runs/3044279379
In case it does not work, please restart kodi to make sure the correct plugin version was loaded.
Thank you. So I tried 0.9.276. The stream from the other day was no longer available. I am attaching the log (kodi.old.log) after installing it and re-starting kodi. At 21:16:48.123 I attempted to play an empty URL which obviously failed (my bad). At 2022-09-13 21:18:17.778, I played a short stream (1 min 13s total length) which launched OK. At 2022-09-13 21:19:21.057, same short stream launched successfully again. At 2022-09-13 21:21:14.689, trying another random (but longer, say 45 min) stream. This one failed. At 2022-09-13 21:22:52.333 another random longer stream failed. At 2022-09-13 21:22:52.333, re-installing 0.9.269 after uninstalling 276 (uninstall worked OK this time) and re-starting kodi.
After that (kodi.log), at 2022-09-13 21:24:30.699 I played the previously failed stream and it launched just fine.
Okay there was a copy paste error. Sorry for that.
Please uninstall the current version, install this version, restart kodi (just to be sure). Lets make your first URL our prime test case from now on (it works on my machine ;) ): https://www.arte.tv/fr/videos/080102-000-A/aurores-boreales-des-lumieres-fascinantes-mais-menacantes/
If that works, please test other ARTE streams as well.
Every Arte stream I tried - including our prime test case - played beautifully with 0.9.277 :) Well done @nullket
It is merged in the master and will be available via an automatic update to you. For now it is experimental (default off) to figure out if there are any other issues with it.