Skip to content
本章目录

macOS 上完美使用 Emby Theater 方案 [高级篇]

一、下载并安装 Emby Theater

下载 EmbyTheater.zip 解压出 Emby Theater.app,拖到 应用程序 文件夹里

应用源码:https://github.com/thura10/emby-theater-electron

二、安装 mpv

bash
brew install --HEAD mpv

三、替换 libass

由于上面安装的 libmpv 对于某些中文字幕会乱码,所以下面给出一个解决办法。(原因:https://zrstea.com/261/

步骤

  1. 下载这个 libass.rb 这个文件。比如我保存到了系统下载目录 ~/Downloads 里;
  2. 进入下载目录 cd ~/Downloads
  3. 卸载安装 libmpv 时安装的 libass,然后重新编译并安装,命令如下:
    bash
    brew uninstall libass --ignore-dependencies && brew install fontconfig
    brew install -s libass.rb
    

以上三个步骤方案来自:@PANINI@xinzhe he

四、客户端解锁

  1. 应用程序 文件夹中找到 Emby Theater.app,右键 显示包内容。找到 Contents/Resources/app/main.js 文件,用文本编辑器打开;

  2. 搜索找到

    javascript
    function getAppBaseUrl() {
    
        var url = 'https://tv.emby.media';
    
        //url = 'http://localhost:8088';
        return url;
    }
    

    替换为

    javascript
    function getAppBaseUrl() {
    
        var url = 'https://happyemby.911997.xyz';
    
        //url = 'http://localhost:8088';
        return url;
    }
    

    保存即可

解锁方法来源:https://neko.re/archives/225.html