Mac companion: source code offer
This is a plain-words summary, not legal advice. The TV Browser Mac companion contains libraries under the GNU Lesser General Public License (LGPL), version 2.1 or later. You can get their complete source code, and what you need to modify them and relink the app, free of charge. We do not host the archives: they are the unmodified upstream source packages below, and you can check each against its SHA-256 value.
Libraries and where to get the source
| Library and version | Upstream source archive | SHA-256 |
|---|---|---|
| python-zeroconf 0.153.0 | zeroconf-0.153.0.tar.gz PyPI project page | 28bd0baa208f4ea481a386e9eefdd3a65663fada34233432301a0c221d741d1d |
| python-soxr (its source includes libsoxr) 1.1.0 | soxr-1.1.0.tar.gz PyPI project page | 9f228ae21c78fa9359ca98d8a5e8e91f30639e438e574133dace62c5b5309e44 |
| libquadmath (inside the scipy package) | GCC source tree: libquadmath | Not published here. The exact GCC release used by the scipy build is not yet identified. Write to us and we will supply the matching source. |
To check a download on a Mac, run shasum -a 256 <file> and compare the result with the value above. The versions and values come from the Mac companion's dependency lock file.
How to ask us
Write to support@gettvbrowser.com for the source, or for help with any step below. The offer lasts at least three years after you receive the app, and for as long as we distribute this version. We charge nothing for a download.
Replacing a library
You may modify these libraries for your own use, and reverse engineer the app to debug your changes. Inside "TV Browser Companion.app":
- python-zeroconf:
Contents/Resources/app_packages/zeroconf/ - python-soxr (libsoxr is linked inside it):
Contents/Resources/app_packages/soxr/soxr_ext.abi3.so - libquadmath:
Contents/Resources/app_packages/scipy/.dylibs/libquadmath.0.dylib - The app's own code, as plain Python files:
Contents/Resources/app/tvbrowser_companion/
- Edit the source and build it for Python 3.12 on your Mac (for the Python libraries:
pip wheel <source folder>). - Copy the new files over the old ones in a copy of the app.
- Re-sign the copy for your own Mac:
codesign --force --deep --sign - "TV Browser Companion.app". Without this, macOS refuses to run it, because changing any file breaks the original signature. - If macOS still blocks the first launch, remove the quarantine mark with
xattr -dr com.apple.quarantine "TV Browser Companion.app", or open the app with right-click, Open.
The paths above follow the app's packaging layout and have not yet been checked against a released build. The changed copy is no longer our signed and notarised build, so it will not pass notarisation on other Macs and we cannot update it. Running the companion from its source is the easiest way to try a changed library. Other open-source components are listed on the notices page.