[mythtv] Dynamically loading libdvdcss on macOS
Scott Theisen
scott.the.elm at gmail.com
Thu Jul 24 01:53:12 UTC 2025
On 2025/07/23 18:02, Nigel Pearson wrote:
>
>> On 24 Jul 2025, at 3:34 am, Scott Theisen <scott.the.elm at gmail.com>
>> asked:
>>
>> MythTV's copy of libdvdread has customizations for finding libdvdcss
>> on macOS. I think this is related to packaging? Does anyone know if
>> this customization is still necessary?
>
>
> Necessary?
>
> 1) I doubt anyone still has a DVD drive capable Mac :-)
>
They could have disk images without CSS stripped and there are external
(USB) DVD drives.
> 2) Most users probably use something like MacPorts,
> which does its own dependency install locations?
>
>
>
> However, a quick look at a standalone binary:
>
> https://sourceforge.net/projects/mythtvformacosx/files/v36/macOS%2013%20Ventura/MythFrontend-x86_64-macOS13-v36-with-plugins.dmg/download
>
> shows DVD & related libraries:
>
> % ls mythfrontend.app/Contents/Frameworks/ | grep -E 'dvd|css|blu|udf'
>
> libbluray.2.dylib
>
> libmythdvdnav.36-36.dylib
>
> libudfread.1.dylib
>
>
>
>
> so unless we are removing that feature,
> something similar to my old ugliness has to stay?
>
That bundle doesn't have libdvdcss.2.dylib, so there is no reason to
search extra locations when it won't be found there.
It looks like only the deprecated packaging scripts for macOS in
https://github.com/MythTV/packaging/ do anything with libdvdcss.
So the question is really: do we want to support bundling libdvdcss on
macOS or will libdvdcss only be found if it is in the normal search path
for dlopen()?
Regards,
Scott Theisen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20250723/d5aa7e31/attachment.htm>
More information about the mythtv-dev
mailing list