A crossplatform menu bar application using mpv as DLNA Media Renderer.

Overview
Comments
  • [BUG] Unhandled exception in script

    [BUG] Unhandled exception in script

    Versions

    • System: Win11
    • System version: 21H2(22000.184)
    • Processor architecture: x64
    • APP version: v0.61

    Bug recurrence

    running the app on the win11

    Additional information

    image

    Log

    Starting Macast from terminal to get logs.

    Windows

    download debug version of this application: Download link

    PasteBoard

    # then paste your log here
    
    
    bug 
    opened by MisakaSakura 21
  • [BUG] Windows下无法正常启动(Unable to start on Windows)

    [BUG] Windows下无法正常启动(Unable to start on Windows)

    Versions

    • System: Windows
    • System version: 21H1 (19043)
    • Processor architecture: x86_74
    • APP version: v0.5

    Bug recurrence

    Just start it.

    Additional information

    I have Python 3.9.2 (accessible via python) on this machine, maybe it is related?

    Log

    PasteBoard

    Macast Loading Language: zh_CN
    MPV started
    ERROR:SSDPServer:not enough values to unpack (expected 2, got 1)
    ERROR:Render:stoping mpv
    ERROR:Render:sendCommand: 'NoneType' object has no attribute 'send_bytes'
    ERROR:Render:cannot send command quit to mpv
    ERROR:Render:stoping mpv
    ERROR:Render:sendCommand: 'NoneType' object has no attribute 'send_bytes'
    ERROR:Render:cannot send command quit to mpv
    ERROR:Render:mpv ipc socket start connect
    INFO:Render:{'event': 'property-change', 'id': 1, 'name': 'volume', 'data': 100.0}
    INFO:Render:{'event': 'property-change', 'id': 3, 'name': 'pause', 'data': False}
    ERROR:Render:mpv ipc stopped
    ERROR:Render:MPV stopped
    
    bug 
    opened by chengyuhui 18
  • [BUG] Windows系统下无法投屏

    [BUG] Windows系统下无法投屏

    Versions

    • System: Windows 11
    • System version: 22000.160
    • Processor architecture: amd64
    • APP version: 0.5

    Bug recurrence

    首次打开之后允许了防火墙,但是仍旧无法被其他设备的投屏功能找到。同一局域网下的另一台m1 mba就可以正常投屏

    Additional information

    (More description of this bug)

    Log

    Starting Macast from terminal to get logs.

    MacOS

    run this in your terminal:

    /Applications/Macast.app/Contents/MacOS/Macast
    

    Windows

    [email protected]  ~  Downloads  Programs  ❯ C:\Users\LOZAP\Downloads\Programs\Macast-v0.5-debug.exe Macast Loading Default Language en_US ERROR:Render:MPV started DEBUG:Macast:mpv_start ERROR:Render:mpv ipc socket start connect ERROR:Render:mpv ipc socket reconnecting DEBUG:Macast:tag_name: v0.5 ERROR:Render:mpv ipc socket start connect ERROR:Render:mpv ipc socket reconnecting ERROR:Render:mpv ipc socket start connect ERROR:Render:mpv ipc socket reconnecting ERROR:Render:mpv ipc socket start connect ERROR:Render:mpv ipc socket reconnecting ERROR:Render:mpv ipc socket start connect INFO:Render:{'event': 'property-change', 'id': 1, 'name': 'volume', 'data': 100.0} INFO:Render:{'event': 'property-change', 'id': 3, 'name': 'pause', 'data': False} ERROR:SSDPServer:not enough values to unpack (expected 2, got 1) ERROR:Render:stoping mpv ERROR:Render:mpv ipc stopped ERROR:Render:MPV stopped ERROR:main:Cherrypy stopped

    [email protected]  ~  Downloads  Programs  ❯ C:\Users\LOZAP\Downloads\Programs\Macast-v0.5-debug.exe Macast Loading Default Language en_US MPV started ERROR:Render:mpv ipc socket start connect ERROR:Render:mpv ipc socket reconnecting DEBUG:Macast:tag_name: v0.5 ERROR:Render:mpv ipc socket start connect ERROR:Render:mpv ipc socket reconnecting ERROR:Render:mpv ipc socket start connect ERROR:Render:mpv ipc socket reconnecting ERROR:Render:mpv ipc socket start connect INFO:Render:{'event': 'property-change', 'id': 1, 'name': 'volume', 'data': 100.0} INFO:Render:{'event': 'property-change', 'id': 3, 'name': 'pause', 'data': False} ERROR:Render:stoping mpv ERROR:Render:mpv ipc stopped ERROR:Render:MPV stopped ERROR:SSDPServer:not enough values to unpack (expected 2, got 1)

    Linux

    python Macast.py
    

    PasteBoard

    # then paste your log here
    
    
    bug 
    opened by swift-lee 16
  • [NEW FEATURE] 在我打包了archlinux版本之后, 想让作者改进的地方

    [NEW FEATURE] 在我打包了archlinux版本之后, 想让作者改进的地方

    New feature

    • 配置文件 macast_setting.json 的路径应位于 ~/.config/macast (规范)

    • 可以抛弃 py2apppyinstaller 的打包方式, 直接上架 pip 源中 (方便 brewpacman 之类的后期打包)

    Additional context

    感谢作者的无私奉献 !

    这是个人在打包该项目的 aur 时想到的一些改进, 希望采纳!

    feature-request 
    opened by icepie 13
  • [Question] go2tv couldn't find the DMR of Macast

    [Question] go2tv couldn't find the DMR of Macast

    Versions

    • System version: Windows 10
    • Processor architecture: X64
    • APP version: v0.7

    Problem

    With this program on, I can use Bilibili to cast the screen over the LAN. But using this tool go2tv, I couldn't find the DMR of Macast, then on the same computer, I installed 5KPlayer and tested Bilibili and go2tv. Both of them can cast screen. The go2tv can search the DMR provided by 5KPlayer, but it can't search the DMR of Macast.

    开启本程序,局域网内可以使用 Bilibili 投屏过来。但是使用这个工具 go2tv 则无法找到 Macast 的 DMR。然后相同的电脑上,我装了 5KPlayer,也测试了 Bilibili 和 go2tv 都是可以投屏的。go2tv 可以搜索到 5KPlayer 提供的 DMR,但是无法搜索到 Macast 的 DMR。

    question 
    opened by allanpk716 12
  • [BUG] 无法运行

    [BUG] 无法运行

    Versions

    • System: win11
    • System version: 21H2
    • Processor architecture: X64
    • APP version: 0.35

    Bug recurrence

    无法运行

    Log

    {'ApplicationPort': 1068, 'CheckUpdate': 1, 'DLNA_FriendlyName': 'Macast(DESKTOP-HVETC9J)', 'DLNA_Renderer': 'Default', 'MenubarIcon': 0, 'PlayerHW': 1, 'PlayerHW_Force': 1, 'PlayerSize_Auto': 2, 'StartAtLogin': 0, 'USN': 'a5cc293d-f7fd-46ee-ac16-f45205a52e5d'}
    Load renderer MPVRenderer done
    using renderer: Default
    [WinError 2] 系统找不到指定的文件。
    sendCommand: 'NoneType' object has no attribute 'send_bytes'
    [Errno 10] No child processes
    INFO:main:service_start
    ERROR:SSDPServer:add membership 192.168.31.30
    ERROR:SSDPServer:add membership 192.168.137.1
    ERROR:SSDPServer:[WinError 10049] 在其上下文中,该请求的地址无效。
    INFO:cherrypy.error:[30/Oct/2021:13:08:47] ENGINE Started monitor thread 'Autoreloader'.
    INFO:cherrypy.error:[30/Oct/2021:13:08:47] ENGINE Started monitor thread 'SSDP_NOTIFY_THREAD'.
    ERROR:cherrypy.error:[30/Oct/2021:13:08:47] ENGINE Shutting down due to error in start listener:
    Traceback (most recent call last):
      File "c:\users\zqzes\appdata\local\programs\python\python37\lib\site-packages\cherrypy\process\wspbus.py", line 268, in start
        self.publish('start')
      File "c:\users\zqzes\appdata\local\programs\python\python37\lib\site-packages\cherrypy\process\wspbus.py", line 248, in publish
        raise exc
    cherrypy.process.wspbus.ChannelFailures: OSError("No socket could be created -- (('0.0.0.0', 1068): [WinError 10013] 以 一种访问权限不允许的方式做了一个访问套接字的尝试。)")
    
    INFO:cherrypy.error:[30/Oct/2021:13:08:47] ENGINE Bus STOPPING
    INFO:cherrypy.error:[30/Oct/2021:13:08:47] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 1068)) already shut down
    INFO:main:service_stop
    INFO:MPVRenderer:stoping mpv and mpv ipc
    ERROR:MPVRenderer:sendCommand: 'NoneType' object has no attribute 'send_bytes'
    ERROR:MPVRenderer:[Errno 10] No child processes
    ERROR:MPVRenderer:mpv ipc socket start connect
    ERROR:MPVRenderer:mpv ipc socket reconnecting: [WinError 2] 系统找不到指定的文件。
    INFO:main:tag_name: v0.65
    ERROR:MPVRenderer:mpv restarting
    INFO:cherrypy.error:[30/Oct/2021:13:08:48] ENGINE Stopped thread 'Autoreloader'.
    INFO:cherrypy.error:[30/Oct/2021:13:08:48] ENGINE Stopped thread 'Autoreloader'.
    INFO:cherrypy.error:[30/Oct/2021:13:08:48] ENGINE Removed handler for console events.
    INFO:cherrypy.error:[30/Oct/2021:13:08:48] ENGINE Removed handler for console events.
    INFO:cherrypy.error:[30/Oct/2021:13:08:48] ENGINE Stopped thread 'SSDP_NOTIFY_THREAD'.
    INFO:cherrypy.error:[30/Oct/2021:13:08:48] ENGINE Stopped thread 'SSDP_NOTIFY_THREAD'.
    ERROR:SSDPServer:drop membership 192.168.31.30
    ERROR:SSDPServer:drop membership 192.168.137.1
    INFO:cherrypy.error:[30/Oct/2021:13:08:48] ENGINE Bus STOPPED
    INFO:cherrypy.error:[30/Oct/2021:13:08:48] ENGINE Bus STOPPED
    INFO:cherrypy.error:[30/Oct/2021:13:08:48] ENGINE Bus EXITING
    INFO:cherrypy.error:[30/Oct/2021:13:08:48] ENGINE Bus EXITING
    INFO:cherrypy.error:[30/Oct/2021:13:08:48] ENGINE Bus EXITED
    
    bug 
    opened by zqzess 11
  • [QUESTION] Macast installed through pip on Windows does not work properly

    [QUESTION] Macast installed through pip on Windows does not work properly

    • System: Window 10

    192.168.137.1这个地址比较奇怪,我这里没有

    pip install -i https://pypi.tuna.tsinghua.edu.cn/simple macast
    
    macast-cli
    
    {'ApplicationPort': 1068, 'CheckUpdate': 1, 'DLNA_FriendlyName': 'Macast(DESKTOP-O8SKEPJ)', 'DLNA_Renderer': 'Default', 'MenubarIcon': 0, 'PlayerHW': 1, 'PlayerPosition': 2, 'PlayerSize': 1, 'StartAtLogin': 0, 'USN': '86c505d0-e200-41f2-a2bc-0c27d48ef738'}
    INFO:cherrypy.error:[21/Sep/2021:11:24:23] ENGINE Set handler for console events.
    ERROR:SSDPServer:add membership 192.168.1.35
    ERROR:SSDPServer:add membership 192.168.137.1
    ERROR:SSDPServer:[WinError 10049] 在其上下文中,该请求的地址无效。
    INFO:cherrypy.error:[21/Sep/2021:11:24:23] ENGINE Serving on http://0.0.0.0:1068
    INFO:MPVRenderer:starting mpv and mpv ipc
    INFO:MPVRenderer:mpv starting
    INFO:cherrypy.error:[21/Sep/2021:11:24:23] ENGINE Started monitor thread 'Autoreloader'.
    INFO:cherrypy.error:[21/Sep/2021:11:24:23] ENGINE Started monitor thread 'SSDP_NOTIFY_THREAD'.
    INFO:cherrypy.error:[21/Sep/2021:11:24:23] ENGINE Bus STARTED
    INFO:main:Server current run on port: 1068
    ERROR:MPVRenderer:[WinError 2] 系统找不到指定的文件。
    INFO:MPVRenderer:mpv stopped
    ERROR:MPVRenderer:mpv ipc socket start connect
    ERROR:MPVRenderer:mpv ipc socket reconnecting: [WinError 2] 系统找不到指定的文件。
    ERROR:MPVRenderer:mpv ipc socket start connect
    ERROR:MPVRenderer:mpv restarting
    ERROR:MPVRenderer:mpv ipc socket reconnecting: [WinError 2] 系统找不到指定的文件。
    INFO:MPVRenderer:mpv starting
    ERROR:MPVRenderer:[WinError 2] 系统找不到指定的文件。
    INFO:MPVRenderer:mpv stopped
    ERROR:MPVRenderer:mpv ipc socket start connect
    ERROR:MPVRenderer:mpv ipc socket reconnecting: [WinError 2] 系统找不到指定的文件。
    ERROR:MPVRenderer:mpv ipc socket start connect
    ERROR:MPVRenderer:mpv ipc socket reconnecting: [WinError 2] 系统找不到指定的文件。
    ERROR:MPVRenderer:mpv restarting
    INFO:MPVRenderer:mpv starting
    ERROR:MPVRenderer:[WinError 2] 系统找不到指定的文件。
    INFO:MPVRenderer:mpv stopped
    ERROR:MPVRenderer:mpv ipc socket start connect
    ERROR:MPVRenderer:mpv ipc socket reconnecting: [WinError 2] 系统找不到指定的文件。
    ERROR:MPVRenderer:mpv ipc socket start connect
    ERROR:MPVRenderer:mpv ipc socket reconnecting: [WinError 2] 系统找不到指定的文件。
    ERROR:MPVRenderer:mpv restarting
    ERROR:MPVRenderer:mpv cannot start
    INFO:cherrypy.error:[21/Sep/2021:11:24:26] ENGINE Bus STOPPING
    INFO:cherrypy.error:[21/Sep/2021:11:24:26] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 1068)) shut down
    ERROR:SSDPServer:drop membership 192.168.1.35
    ERROR:SSDPServer:drop membership 192.168.137.1
    INFO:cherrypy.error:[21/Sep/2021:11:24:26] ENGINE Removed handler for console events.
    INFO:MPVRenderer:stoping mpv and mpv ipc
    ERROR:MPVRenderer:sendCommand: 'NoneType' object has no attribute 'send_bytes'
    ERROR:MPVRenderer:[Errno 10] No child processes
    ERROR:MPVRenderer:mpv ipc socket start connect
    ERROR:MPVRenderer:mpv ipc socket reconnecting: [WinError 2] 系统找不到指定的文件。
    INFO:cherrypy.error:[21/Sep/2021:11:24:27] ENGINE Stopped thread 'SSDP_NOTIFY_THREAD'.
    INFO:cherrypy.error:[21/Sep/2021:11:24:27] ENGINE Stopped thread 'Autoreloader'.
    INFO:cherrypy.error:[21/Sep/2021:11:24:27] ENGINE Bus STOPPED
    INFO:cherrypy.error:[21/Sep/2021:11:24:27] ENGINE Bus EXITING
    INFO:cherrypy.error:[21/Sep/2021:11:24:27] ENGINE Waiting for child threads to terminate...
    INFO:cherrypy.error:[21/Sep/2021:11:24:27] ENGINE Bus EXITED
    INFO:cherrypy.error:[21/Sep/2021:11:24:27] ENGINE Waiting for thread MPV_STOP_SERVICE.
    INFO:main:Service stopped
    
    question 
    opened by zqbxx 9
  • SSDP can't start

    SSDP can't start

    System Information Operating System: KDE neon 5.22 KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.86.0 Qt Version: 5.15.3 Kernel Version: 5.11.0-34-generic (64-bit) Graphics Platform: X11 App Version: v0.64

    When I launch macast I get a popup that "SSDP can't start".

    Macast Loading Default Language en_US
    {'PlayerHW_Force': 1, 'PlayerSize_Auto': 2, 'PlayerHW': 1, 'StartAtLogin': 0, 'CheckUpdate': 1, 'MenubarIcon': 0, 'DLNA_Renderer': 'Default', 'ApplicationPort': 1068, 'USN': '320e1686-d028-4a4f-b9ba-52c9e42f72ff'}
    Load renderer MPVRenderer done
    using renderer: Default
    DEBUG:main:Macast APP started
    INFO:MPVRenderer:starting mpv and mpv ipc
    INFO:MPVRenderer:mpv starting
    ERROR:SSDPServer:add membership 192.168.0.124
    INFO:main:service_start
    ERROR:SSDPServer:[Errno 98] Address already in use
    INFO:cherrypy.error:[16/Sep/2021:14:20:38] ENGINE Serving on http://0.0.0.0:1068
    INFO:cherrypy.error:[16/Sep/2021:14:20:38] ENGINE Started monitor thread 'Autoreloader'.
    INFO:cherrypy.error:[16/Sep/2021:14:20:38] ENGINE Started monitor thread 'SSDP_NOTIFY_THREAD'.
    INFO:cherrypy.error:[16/Sep/2021:14:20:38] ENGINE Bus STARTED
    INFO:main:Server current run on port: 1068
    ERROR:MPVRenderer:mpv ipc socket start connect
    ERROR:MPVRenderer:mpv ipc socket reconnecting: [Errno 2] No such file or directory
    INFO:cherrypy.error:[16/Sep/2021:14:20:38] ENGINE Bus STOPPING
    INFO:cherrypy.error:[16/Sep/2021:14:20:38] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 1068)) shut down
    INFO:cherrypy.error:[16/Sep/2021:14:20:38] ENGINE Stopped thread 'Autoreloader'.
    INFO:main:service_stop
    INFO:MPVRenderer:stoping mpv and mpv ipc
    ERROR:MPVRenderer:sendCommand: [Errno 107] Transport endpoint is not connected
    INFO:MPVRenderer:mpv stopped
    INFO:main:tag_name: v0.64
    ERROR:MPVRenderer:mpv ipc socket start connect
    ERROR:MPVRenderer:mpv ipc socket reconnecting: [Errno 2] No such file or directory
    INFO:cherrypy.error:[16/Sep/2021:14:20:38] ENGINE Stopped thread 'SSDP_NOTIFY_THREAD'.
    INFO:cherrypy.error:[16/Sep/2021:14:20:38] ENGINE Bus STOPPED
    INFO:cherrypy.error:[16/Sep/2021:14:20:38] ENGINE Bus EXITING
    INFO:cherrypy.error:[16/Sep/2021:14:20:38] ENGINE Bus EXITED
    
    (macast:68359): Gtk-WARNING **: 14:20:38.976: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
    
    (macast:68359): Gtk-WARNING **: 14:20:38.977: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
    
    (macast:68359): Gtk-WARNING **: 14:20:38.977: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
    INFO:cherrypy.error:[16/Sep/2021:14:20:38] ENGINE Waiting for child threads to terminate...
    INFO:main:Service stopped
    Gtk-Message: 14:20:39.128: Failed to load module "colorreload-gtk-module"
    Gtk-Message: 14:20:39.128: Failed to load module "window-decorations-gtk-module"
    INFO:cherrypy.error:[16/Sep/2021:14:21:02] ENGINE Bus STARTING
    ERROR:SSDPServer:add membership 192.168.0.124
    ERROR:SSDPServer:[Errno 98] Address already in use
    INFO:MPVRenderer:starting mpv and mpv ipc
    INFO:MPVRenderer:mpv starting
    INFO:main:service_start
    INFO:cherrypy.error:[16/Sep/2021:14:21:02] ENGINE Serving on http://0.0.0.0:1068
    INFO:cherrypy.error:[16/Sep/2021:14:21:02] ENGINE Started monitor thread 'Autoreloader'.
    INFO:cherrypy.error:[16/Sep/2021:14:21:02] ENGINE Started monitor thread 'SSDP_NOTIFY_THREAD'.
    INFO:cherrypy.error:[16/Sep/2021:14:21:02] ENGINE Bus STARTED
    INFO:main:Server current run on port: 1068
    INFO:cherrypy.error:[16/Sep/2021:14:21:02] ENGINE Bus STOPPING
    INFO:cherrypy.error:[16/Sep/2021:14:21:02] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 1068)) shut down
    INFO:cherrypy.error:[16/Sep/2021:14:21:02] ENGINE Stopped thread 'Autoreloader'.
    INFO:main:service_stop
    INFO:MPVRenderer:stoping mpv and mpv ipc
    ERROR:MPVRenderer:sendCommand: [Errno 107] Transport endpoint is not connected
    INFO:MPVRenderer:mpv stopped
    ERROR:MPVRenderer:mpv ipc socket start connect
    ERROR:MPVRenderer:mpv ipc socket reconnecting: [Errno 2] No such file or directory
    INFO:cherrypy.error:[16/Sep/2021:14:21:02] ENGINE Stopped thread 'SSDP_NOTIFY_THREAD'.
    INFO:cherrypy.error:[16/Sep/2021:14:21:02] ENGINE Bus STOPPED
    INFO:cherrypy.error:[16/Sep/2021:14:21:02] ENGINE Bus EXITING
    INFO:cherrypy.error:[16/Sep/2021:14:21:02] ENGINE Bus EXITED
    INFO:cherrypy.error:[16/Sep/2021:14:21:02] ENGINE Waiting for child threads to terminate...
    INFO:cherrypy.error:[16/Sep/2021:14:21:02] ENGINE Waiting for thread Thread-18.
    INFO:main:Service stopped
    
    opened by francois072 8
  • [BUG] 和emby配合无法控制

    [BUG] 和emby配合无法控制

    Versions

    • System: (Ubuntu)
    • System version: (21.04)
    • Processor architecture: (amd64)
    • APP version: (0.6.1 deb包)

    Bug recurrence

    使用安卓emby安卓客户端连接,emby服务端版本4.6.4,客户端版本3.1.63

    Additional information

    点击播放后,不会自动出现控制菜单,需要手动, 手动进入控制后,音量,停止可用,进度控制无效, 暂停可用但是无法恢复,暂停后再点暂停按钮会断开,需要重连

    Log

    error看到有两行, 全部日志

    ERROR:MPVRenderer:decode error 'reason'
    ERROR:MPVRenderer:decode error ['{"event":"tracks-changed"}', '{"event":"end-file"}']
    
    bug 
    opened by ghostry 8
  • [BUG] 腾讯视频无法搜索到

    [BUG] 腾讯视频无法搜索到

    Versions

    • System: macOS 11
    • System version: 11.5.2
    • Processor architecture: arm
    • APP version: v0.5

    Bug recurrence

    腾讯视频无法搜索到

    Additional information

    ios15,腾讯视频,iPhone11, 不知道是腾讯限制还是什么问题,腾讯视频一直无法搜索到。在爱奇艺和b站都是正常的。 补充下:在mac mini m1上使用作者的方法编译的程序

    Log

    bug 
    opened by shelken 8
  • Add Singleton support

    Add Singleton support

    #103 I have made a quick and dirty way to check if an instance of the program is already running, by using the singleton module included in tendo. It will create a dummy file in the default local temp folder (platform dependant) and check if the file existed. If the file exists, it will raise an error and quit the program.

    TODO:

    1. Add a toggle option in the context menu. Currently, it needs to be changed in the macast_setting.json file. I don't quite understand how the context menu works. :(
    2. A more elegant way to handle the program entry point.
    opened by happytommyl 7
  • [NEW FEATURE] Is that possible to support AppleTV

    [NEW FEATURE] Is that possible to support AppleTV

    A Huge demand to run on apple tv as lots of local app only stream throught DLNA. It makes appletv fully powerful and helps a lot! Thanks for any kind of reply or instruction!

    feature-request 
    opened by Ahwinds 3
  • [NEW FEATURE] Can it support system proxy

    [NEW FEATURE] Can it support system proxy

    New feature

    Can it support system proxy

    Additional context

    (Add any other context or screenshots about the feature request here.) Because of the network, I can't install the plug-in using the web console, but I have the clash system agent, can it support the system agent?

    feature-request 
    opened by tsvico 1
  • [Tutorial] Macast as headless DLNA renderer

    [Tutorial] Macast as headless DLNA renderer

    Preface:

    I was looking for a project like macast for quite some time, my priorities were not having to run a window manager on my headless living room server and being able to remotely cast video files on my TV.

    My setup is a arch-linux server with a TV via HDMI and 5.1 analog sound system via pulseaudio, I use Jellyfin to cast my videos.

    Prerequisites:

    • A user called 'macast', which will be used to run Macast
    • A Xserver (I use xorg-server and xorg-apps packages)
    • Systemd

    Configuration:

    We will need to create and edit a few files by hand(I might create a AUR repository later):

    /etc/systemd/system/macast.service

    [Unit]
    Description=Macast-gui (X11)
    After=remote-fs.target systemd-user-sessions.service network-online.target nss-lookup.target sound.target bluetooth.target polkit.service upower.service mysqld.service lircd.service
    Wants=network-online.target polkit.service upower.service
    [email protected]
    
    [Service]
    User=macast
    Group=macast
    PAMName=login
    TTYPath=/dev/tty1
    ExecStart=/usr/bin/xinit /usr/bin/macast-gui
    ExecStop=/usr/bin/killall --user macast --exact --wait macast-gui.bin
    Restart=on-abort
    StandardInput=tty
    StandardOutput=journal
    
    [Install]
    Alias=display-manager.service
    

    Note the User=macast and Group=macast as well as the ExecStop --user macast switch, if you want to use a different user, make your changes here

    run systemctl daemon-reload && systemctl start macast && systemctl stop macast

    This will create the macast_setting.json in /home/macast/.config/Macast/

    Next edit that file and make sure the following settings are set as follows: /home/macast/.config/Macast/macast_setting.json

    "PlayerPosition": 4,
    "PlayerSize":4,
    

    This will run mpv/macast in the center as fullscreen, you can find compatible settings here: https://github.com/xfangfang/Macast/blob/937891b99f25f12ed788c98f988b1ce530c77e4e/macast_renderer/mpv.py#L482-L506

    Usage:

    Now run macast: systemctl start macast and optionally run macast on boot: systemctl enable macast

    opened by bogie 4
  • Any Desire to Support Audio Files?

    Any Desire to Support Audio Files?

    New feature

    There doesn't appear to be a UPnP/DLNA renderer that runs on Apple Silicon that supports playback of audio files, particularly those I'm most interested in, high resolution files. (These would be PCM and DSD files in formats such as WAV, FLAC, AIFF, ALAC, DSF, etc.) Macast runs beautifully on my M1 MacBook but doesn't recognize these audio file formats.

    Additional context

    This is purely a selfish request since I'm interested in streaming audio to an M1 Mac via UPnP/DLNA/OpenHome and macast at least currently seems to be the only renderer that works on Apple Silicon. Its small resource footprint and unobtrusiveness are attractive as well - I always like something that Just Works.

    Since working with such file formats isn't something macast does now and I haven't seen a big demand from anyone except me, I would of course understand if it's not something you'd prefer to take on, But I thought I would raise the issue in case it's something you might be interested in doing.

    feature-request 
    opened by judmarc 3
  • [NEW FEATURE] Whether the video can be output through the RaspberryPi hdmi interface

    [NEW FEATURE] Whether the video can be output through the RaspberryPi hdmi interface

    New feature

    I have a RaspberryPi4. Want to use output video from hdmi interface.

    Additional context

    Because my RPi4 haven't gui. It's a docker server.

    feature-request 
    opened by Crazy-Young 2
  • [Question] Can not project

    [Question] Can not project

    Versions

    • System version: (eg:11.4)
    • Processor architecture: (eg:X86)
    • APP version: (eg: v0.2)

    Problem

    Can not project from ipad or iphone after upgrade them to newest version (os 16). Press the project button but it cant find the Macast. I tried many times, dont know whats going on with it. Hope you notice this issue. Much appreciate.

    good first issue question 
    opened by TChandler7 2
Releases(v0.7)
A Model for Natural Language Attack on Text Classification and Inference

TextFooler A Model for Natural Language Attack on Text Classification and Inference This is the source code for the paper: Jin, Di, et al. "Is BERT Re

Di Jin 418 Dec 16, 2022
A curated list of neural network pruning resources.

A curated list of neural network pruning and related resources. Inspired by awesome-deep-vision, awesome-adversarial-machine-learning, awesome-deep-learning-papers and Awesome-NAS.

Yang He 1.7k Jan 09, 2023
Rot-Pro: Modeling Transitivity by Projection in Knowledge Graph Embedding

Rot-Pro : Modeling Transitivity by Projection in Knowledge Graph Embedding This repository contains the source code for the Rot-Pro model, presented a

Tewi 9 Sep 28, 2022
Zero-shot Synthesis with Group-Supervised Learning (ICLR 2021 paper)

GSL - Zero-shot Synthesis with Group-Supervised Learning Figure: Zero-shot synthesis performance of our method with different dataset (iLab-20M, RaFD,

Andy_Ge 62 Dec 21, 2022
Language models are open knowledge graphs ( non official implementation )

language-models-are-knowledge-graphs-pytorch Language models are open knowledge graphs ( work in progress ) A non official reimplementation of Languag

theblackcat102 132 Dec 18, 2022
Code release for "BoxeR: Box-Attention for 2D and 3D Transformers"

BoxeR By Duy-Kien Nguyen, Jihong Ju, Olaf Booij, Martin R. Oswald, Cees Snoek. This repository is an official implementation of the paper BoxeR: Box-A

Nguyen Duy Kien 111 Dec 07, 2022
Implementation / replication of DALL-E, OpenAI's Text to Image Transformer, in Pytorch

DALL-E in Pytorch Implementation / replication of DALL-E, OpenAI's Text to Image Transformer, in Pytorch. It will also contain CLIP for ranking the ge

Phil Wang 5k Jan 04, 2023
Implementation of paper "Towards a Unified View of Parameter-Efficient Transfer Learning"

A Unified Framework for Parameter-Efficient Transfer Learning This is the official implementation of the paper: Towards a Unified View of Parameter-Ef

Junxian He 216 Dec 29, 2022
Code for ICCV 2021 paper "HuMoR: 3D Human Motion Model for Robust Pose Estimation"

Code for ICCV 2021 paper "HuMoR: 3D Human Motion Model for Robust Pose Estimation"

Davis Rempe 367 Dec 24, 2022
Neighborhood Contrastive Learning for Novel Class Discovery

Neighborhood Contrastive Learning for Novel Class Discovery This repository contains the official implementation of our paper: Neighborhood Contrastiv

Zhun Zhong 56 Dec 09, 2022
Official code for the CVPR 2021 paper "How Well Do Self-Supervised Models Transfer?"

How Well Do Self-Supervised Models Transfer? This repository hosts the code for the experiments in the CVPR 2021 paper How Well Do Self-Supervised Mod

Linus Ericsson 157 Dec 16, 2022
Keras implementation of Normalizer-Free Networks and SGD - Adaptive Gradient Clipping

Keras implementation of Normalizer-Free Networks and SGD - Adaptive Gradient Clipping

Yam Peleg 63 Sep 21, 2022
Pytorch implementation of the paper "COAD: Contrastive Pre-training with Adversarial Fine-tuning for Zero-shot Expert Linking."

Expert-Linking Pytorch implementation of the paper "COAD: Contrastive Pre-training with Adversarial Fine-tuning for Zero-shot Expert Linking." This is

BoChen 12 Jan 01, 2023
The code for SAG-DTA: Prediction of Drug–Target Affinity Using Self-Attention Graph Network.

SAG-DTA The code is the implementation for the paper 'SAG-DTA: Prediction of Drug–Target Affinity Using Self-Attention Graph Network'. Requirements py

Shugang Zhang 7 Aug 02, 2022
ISBI 2022: Cross-level Contrastive Learning and Consistency Constraint for Semi-supervised Medical Image.

Cross-level Contrastive Learning and Consistency Constraint for Semi-supervised Medical Image Introduction This repository contains the PyTorch implem

25 Nov 09, 2022
Unsupervised Learning of Probably Symmetric Deformable 3D Objects from Images in the Wild

Unsupervised Learning of Probably Symmetric Deformable 3D Objects from Images in the Wild

1.1k Jan 03, 2023
Code for "Diversity can be Transferred: Output Diversification for White- and Black-box Attacks"

Output Diversified Sampling (ODS) This is the github repository for the NeurIPS 2020 paper "Diversity can be Transferred: Output Diversification for W

50 Dec 11, 2022
Image-to-image regression with uncertainty quantification in PyTorch

Image-to-image regression with uncertainty quantification in PyTorch. Take any dataset and train a model to regress images to images with rigorous, distribution-free uncertainty quantification.

Anastasios Angelopoulos 25 Dec 26, 2022
This repository provides an efficient PyTorch-based library for training deep models.

s3sec Test AWS S3 buckets for read/write/delete access This tool was developed to quickly test a list of s3 buckets for public read, write and delete

Bytedance Inc. 123 Jan 05, 2023
Official implementation of NPMs: Neural Parametric Models for 3D Deformable Shapes - ICCV 2021

NPMs: Neural Parametric Models Project Page | Paper | ArXiv | Video NPMs: Neural Parametric Models for 3D Deformable Shapes Pablo Palafox, Aljaz Bozic

PabloPalafox 109 Nov 22, 2022