How to watch Netflix Amazon Video and Plex in OSMC v18

Thanks, i fought through to getting to the add-on requiring widewine before i found your reply (sorry). Widewine is buried in a Chrome image and needs 2.0GB to unpack.
I’m trying to find a way to redirect where is unpacks, or do this on another machine and relocate widevine.
Complicated? bloody hell!
Writin a whole new vero-centric guide as I go here

Df -h shows i have 9.9gb free, so intalling widevine now…

I wrote a full step-by-step guide, modified from the hard work of others:

1 Like

Hey,
thx for the tut. My Amazon addon killed osmc if i want to start the stream. You said widevine have an issue. I dont find the comment to the previous verison. can you help me.

Hi! I followed the newer set of instructions here:

to install on my Vero 4k+ and I was able to access Netflix just fine.
Amazon Prime is being more stubborn about working.

Here’s the version info for my Vero 4k+:

$ cat /etc/os-release
PRETTY_NAME=“Open Source Media Center”
NAME=“OSMC”
VERSION=“October 2022”
VERSION_ID=“2022.10-1”
ID=osmc
ID_LIKE=debian

ANSI_COLOR=“1;31”
HOME_URL=“https://osmc.tv
SUPPORT_URL=“https://osmc.tv
BUG_REPORT_URL=“https://osmc.tv

Here’s the version numbers for the addons:

$ ls -ltr /addons
total 32
-rw-r–r-- 1 root root 766 Mar 9 2022 repository.sandmann79.plugins-1.0.4.zip
-rw-r–r-- 1 root root 27422 Jan 1 13:11 repository.castagnait-2.0.0.zip

When I try to use the Amazon VOD, I’m logged in, but all the various
lists are empty. No Movies listed, no TV Shows listed and I created a
Watch list from my MBP13 logged into Amazon Prime from Safari and
added two things to the Watch list. Nothing shows up via Amazon VOD.

I’ve tried:

  • Uninstalling Amazon VOD and reinstalling it without rebooting.
    No joy on accessing anything in any list.
  • Uninstalling Amazon VOD, rebooting, reinstalling Amazon VOD,
    rebooting. No joy in accessing anything in any list.

Here’s a log snippet from my last attempt to access the Watch list:

2023-01-01 17:31:11.436 T:3013     INFO <general>: Python interpreter stopped
2023-01-01 17:45:59.023 T:2908     INFO <general>: CActiveAESink::OpenSink - initialize sink
2023-01-01 17:45:59.023 T:2908     INFO <general>: CAESinkALSA::Initialize - Requested layout: FL, FR
2023-01-01 17:45:59.023 T:2908     INFO <general>: CAESinkALSA::Initialize - set digital_codec 0
2023-01-01 17:45:59.023 T:2908     INFO <general>: CAESinkALSA::Initialize - Attempting to open device "default"
2023-01-01 17:45:59.028 T:2908     INFO <general>: CAESinkALSA::Initialize - Opened device "default"
2023-01-01 17:45:59.030 T:2908     INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2023-01-01 17:45:59.031 T:2908     INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE4
2023-01-01 17:45:59.032 T:2908     INFO <general>: CAESinkALSA::Initialize - speaker layout 0
2023-01-01 17:45:59.172 T:3104     INFO <general>: Python interpreter interrupted by user
2023-01-01 17:45:59.172 T:3102    ERROR <general>: Skipped 1 duplicate messages..
2023-01-01 17:45:59.172 T:3102    ERROR <general>: GetDirectory - Error getting plugin://plugin.video.amazon-test/
2023-01-01 17:45:59.177 T:2891    ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.amazon-test/) failed
2023-01-01 17:46:00.927 T:2891     INFO <general>: Loading skin file: DialogContextMenu.xml, load type: KEEP_IN_MEMORY
2023-01-01 17:46:21.424 T:2908     INFO <general>: CActiveAESink::OpenSink - initialize sink
2023-01-01 17:46:21.425 T:2908     INFO <general>: CAESinkALSA::Initialize - Requested layout: FL, FR
2023-01-01 17:46:21.425 T:2908     INFO <general>: CAESinkALSA::Initialize - set digital_codec 0
2023-01-01 17:46:21.425 T:2908     INFO <general>: CAESinkALSA::Initialize - Attempting to open device "default"
2023-01-01 17:46:21.433 T:2908     INFO <general>: CAESinkALSA::Initialize - Opened device "default"
2023-01-01 17:46:21.434 T:2908     INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2023-01-01 17:46:21.434 T:2908     INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE4
2023-01-01 17:46:21.436 T:2908     INFO <general>: CAESinkALSA::Initialize - speaker layout 0
2023-01-01 17:46:36.459 T:3256    ERROR <general>: GetDirectory - Error getting addons://sources/
2023-01-01 17:46:36.462 T:2891    ERROR <general>: CGUIMediaWindow::GetDirectory(addons://sources/) failed
2023-01-01 17:46:37.670 T:3260     INFO <general>: initializing python engine.
2023-01-01 17:46:39.991 T:3260     INFO <general>: CPythonInvoker(9, /home/osmc/.kodi/addons/script.skinshortcuts/resources/lib/entry_point.py): script successfully run
2023-01-01 17:46:40.095 T:3260     INFO <general>: Python interpreter stopped
2023-01-01 17:46:41.513 T:2891     INFO <general>: Loading skin file: DialogFavourites.xml, load type: KEEP_IN_MEMORY
2023-01-01 17:46:52.517 T:2891    ERROR <general>: Control 55 in window 10025 has been asked to focus, but it can't
2023-01-01 17:46:52.543 T:3278     INFO <general>: initializing python engine.
2023-01-01 17:46:56.741 T:3278     INFO <general>: [Amazon VOD] getURL: https://raw.githubusercontent.com/Sandmann79/xbmc/master/plugin.video.amazon-test/resources/menu/ATVPDKIKX0DER.json
2023-01-01 17:46:57.146 T:3278     INFO <general>: [Amazon VOD] Version: 0.9.6+matrix.1
2023-01-01 17:46:57.147 T:3278     INFO <general>: [Amazon VOD] Unicode filename support: False
2023-01-01 17:46:57.148 T:3278     INFO <general>: [Amazon VOD] Locale: en-us / Language: en
2023-01-01 17:46:57.761 T:3278     INFO <general>: CPythonInvoker(10, /home/osmc/.kodi/addons/plugin.video.amazon-test/default.py): script successfully run
2023-01-01 17:47:01.611 T:3278     INFO <general>: initializing python engine.
2023-01-01 17:47:01.994 T:2891     INFO <general>: Loading skin file: DialogSelect.xml, load type: KEEP_IN_MEMORY
2023-01-01 17:47:07.722 T:3278     INFO <general>: CPythonInvoker(10, /home/osmc/.kodi/addons/plugin.video.amazon-test/default.py): script aborted
2023-01-01 17:47:07.894 T:3278     INFO <general>: Python interpreter stopped
2023-01-01 17:47:07.903 T:3282    ERROR <general>: Skipped 1 duplicate messages..
2023-01-01 17:47:07.903 T:3282    ERROR <general>: GetDirectory - Error getting plugin://plugin.video.amazon-test/?cat=Browse&mode=switchProfile&opt&page=1&url
2023-01-01 17:47:07.905 T:2891    ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.amazon-test/?cat=Browse&mode=switchProfile&opt&page=1&url) failed
2023-01-01 17:47:07.919 T:3285     INFO <general>: initializing python engine.
2023-01-01 17:47:12.044 T:3285     INFO <general>: [Amazon VOD] Version: 0.9.6+matrix.1
2023-01-01 17:47:12.045 T:3285     INFO <general>: [Amazon VOD] Unicode filename support: False
2023-01-01 17:47:12.046 T:3285     INFO <general>: [Amazon VOD] Locale: en-us / Language: en
2023-01-01 17:47:12.578 T:3285     INFO <general>: CPythonInvoker(11, /home/osmc/.kodi/addons/plugin.video.amazon-test/default.py): script successfully run
2023-01-01 17:47:14.580 T:3285     INFO <general>: initializing python engine.
2023-01-01 17:47:14.695 T:3285     INFO <general>: CPythonInvoker(11, /home/osmc/.kodi/addons/plugin.video.amazon-test/default.py): script successfully run
2023-01-01 17:47:17.650 T:3285     INFO <general>: initializing python engine.
2023-01-01 17:47:17.658 T:3285     INFO <general>: [Amazon VOD] getURL: https://www.amazon.com/gp/video/api/myStuffWatchlist?viewType=watchlist&args={"watchlist":{"sort":"DATE_ADDED_DESC","libraryType":"Items","primeOnly":false,"startIndex":0,"contentType":"MOVIE"},"shared":{"isPurchaseRow":0}}
2023-01-01 17:47:17.911 T:3285     INFO <general>: [Amazon VOD] getURL: https://atv-ps.amazon.com/cdp/catalog/Browse?firmware=fmw:28-app:5.2.3&deviceTypeID=A1C66CX2XD756O&deviceID=4bcf43cf01e74691aa2417fa922e7612&format=json&version=2&formatVersion=3&marketplaceId=ATVPDKIKX0DER&IncludeAll=T&AID=1&asinlist=B07WNKFC1H,B01IG0E1F0&StartIndex=0&Detailed=T
2023-01-01 17:47:18.401 T:3285    ERROR <general>: [Amazon VOD] Error reason: 404 error (NoRetries)
2023-01-01 17:47:18.405 T:3285    ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'AttributeError'>
                                                   Error Contents: 'bool' object has no attribute 'update'
                                                   Traceback (most recent call last):
                                                     File "/home/osmc/.kodi/addons/plugin.video.amazon-test/default.py", line 5, in <module>
                                                       EntryPoint()
                                                     File "/home/osmc/.kodi/addons/plugin.video.amazon-test/resources/lib/startup.py", line 84, in EntryPoint
                                                       g.pv.Route(mode, args)
                                                     File "/home/osmc/.kodi/addons/plugin.video.amazon-test/resources/lib/atv_api.py", line 1050, in Route
                                                       self.listContent(args.get('cat'), url, int(args.get('page', '1')), args.get('opt', ''), int(args.get('export', '0')))
                                                     File "/home/osmc/.kodi/addons/plugin.video.amazon-test/resources/lib/atv_api.py", line 284, in listContent
                                                       titles, parent = self.getList(catalog, export, url, page)
                                                     File "/home/osmc/.kodi/addons/plugin.video.amazon-test/resources/lib/atv_api.py", line 672, in getList
                                                       titles.update(info)
                                                   AttributeError: 'bool' object has no attribute 'update'
                                                   -->End of Python script error report<--

2023-01-01 17:47:18.618 T:3285     INFO <general>: Python interpreter stopped
2023-01-01 17:47:18.635 T:3294    ERROR <general>: Skipped 2 duplicate messages..
2023-01-01 17:47:18.635 T:3294    ERROR <general>: GetDirectory - Error getting plugin://plugin.video.amazon-test/?cat=watchlist&mode=listContent&opt&page=1&url=MOVIE
2023-01-01 17:47:18.649 T:2891    ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.amazon-test/?cat=watchlist&mode=listContent&opt&page=1&url=MOVIE) failed
2023-01-01 17:47:18.662 T:3296     INFO <general>: initializing python engine.
2023-01-01 17:47:22.837 T:3296     INFO <general>: CPythonInvoker(12, /home/osmc/.kodi/addons/plugin.video.amazon-test/default.py): script successfully run
2023-01-01 17:47:30.772 T:3296     INFO <general>: initializing python engine.
2023-01-01 17:47:30.775 T:3296     INFO <general>: [Amazon VOD] Version: 0.9.6+matrix.1
2023-01-01 17:47:30.776 T:3296     INFO <general>: [Amazon VOD] Unicode filename support: False
2023-01-01 17:47:30.777 T:3296     INFO <general>: [Amazon VOD] Locale: en-us / Language: en
2023-01-01 17:47:31.414 T:3296     INFO <general>: CPythonInvoker(12, /home/osmc/.kodi/addons/plugin.video.amazon-test/default.py): script successfully run

I don’t know if the log snippet has any useful diagnostic or not. I can also do
a repro with debug logging enabled and upload the logs that way.

Thanks, in advance, for any help with Amazon VOD.

I installed the Netflix and Amazon VOD add-ons onto:

  • Raspberry Pi 3b+ running OSMC
  • MacMini running 10.13.6 running Kodi 19.4
  • MacMini running 11.7.2 running Kodi 19.4
  • MBP13 running 11.7.2 running Kodi 19.4
  • MBP13 running 10.13.6 running Kodi 19.4

The Netflix add-on works for all of the above and the Amazon VOD fails in
the same way for all of the above.