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)
Learning Confidence for Out-of-Distribution Detection in Neural Networks

Learning Confidence Estimates for Neural Networks This repository contains the code for the paper Learning Confidence for Out-of-Distribution Detectio

235 Jan 05, 2023
This is an implementation of Googles Yogi-Optimizer in Keras (tf.keras)

Yogi-Optimizer_Keras This is an implementation of Googles Yogi-Optimizer in Keras (tf.keras) The NeurIPS-Paper can be found here: http://papers.nips.c

14 Sep 13, 2022
💡 Type hints for Numpy

Type hints with dynamic checks for Numpy! (❒) Installation pip install nptyping (❒) Usage (❒) NDArray nptyping.NDArray lets you define the shape and

Ramon Hagenaars 377 Dec 28, 2022
yolov5目标检测模型的知识蒸馏(基于响应的蒸馏)

代码地址: https://github.com/Sharpiless/yolov5-knowledge-distillation 教师模型: python train.py --weights weights/yolov5m.pt \ --cfg models/yolov5m.ya

52 Dec 04, 2022
Tensorflow implementation of the paper "HumanGPS: Geodesic PreServing Feature for Dense Human Correspondences", CVPR 2021.

HumanGPS: Geodesic PreServing Feature for Dense Human Correspondences Tensorflow implementation of the paper "HumanGPS: Geodesic PreServing Feature fo

Google Interns 50 Dec 21, 2022
Code for "R-GCN: The R Could Stand for Random"

RR-GCN: Random Relational Graph Convolutional Networks PyTorch Geometric code for the paper "R-GCN: The R Could Stand for Random" RR-GCN is an extensi

PreDiCT.IDLab 31 Sep 07, 2022
Tilted Empirical Risk Minimization (ICLR '21)

Tilted Empirical Risk Minimization This repository contains the implementation for the paper Tilted Empirical Risk Minimization ICLR 2021 Empirical ri

Tian Li 40 Nov 28, 2022
🌳 A Python-inspired implementation of the Optimum-Path Forest classifier.

OPFython: A Python-Inspired Optimum-Path Forest Classifier Welcome to OPFython. Note that this implementation relies purely on the standard LibOPF. Th

Gustavo Rosa 30 Jan 04, 2023
Face recognize system

FRS Face_recognize_system This project contains my work that target on solving some problems of FRS: Face detection: Retinaface Face anti-spoofing: Fo

Tran Anh Tuan 4 Nov 18, 2021
M3DSSD: Monocular 3D Single Stage Object Detector

M3DSSD: Monocular 3D Single Stage Object Detector Setup pytorch 0.4.1 Preparation Download the full KITTI detection dataset. Then place a softlink (or

mumianyuxin 64 Dec 27, 2022
Python based framework for Automatic AI for Regression and Classification over numerical data.

Python based framework for Automatic AI for Regression and Classification over numerical data. Performs model search, hyper-parameter tuning, and high-quality Jupyter Notebook code generation.

BlobCity, Inc 141 Dec 21, 2022
PyTorch code for Composing Partial Differential Equations with Physics-Aware Neural Networks

FInite volume Neural Network (FINN) This repository contains the PyTorch code for models, training, and testing, and Python code for data generation t

Cognitive Modeling 20 Dec 18, 2022
Implementation of a Transformer that Ponders, using the scheme from the PonderNet paper

Ponder(ing) Transformer Implementation of a Transformer that learns to adapt the number of computational steps it takes depending on the difficulty of

Phil Wang 65 Oct 04, 2022
A programming language written with python

Kaoft A programming language written with python How to use A simple Hello World: c="Hello World" c Output: "Hello World" Operators: a=12

1 Jan 24, 2022
(under submission) Bayesian Integration of a Generative Prior for Image Restoration

BIGPrior: Towards Decoupling Learned Prior Hallucination and Data Fidelity in Image Restoration Authors: Majed El Helou, and Sabine Süsstrunk {Note: p

Majed El Helou 22 Dec 17, 2022
Codebase for Time-series Generative Adversarial Networks (TimeGAN)

Codebase for Time-series Generative Adversarial Networks (TimeGAN)

Jinsung Yoon 532 Dec 31, 2022
The implementation for the SportsCap (IJCV 2021)

SportsCap: Monocular 3D Human Motion Capture and Fine-grained Understanding in Challenging Sports Videos ProjectPage | Paper | Video | Dataset (Part01

Chen Xin 79 Dec 16, 2022
InvTorch: memory-efficient models with invertible functions

InvTorch: Memory-Efficient Invertible Functions This module extends the functionality of torch.utils.checkpoint.checkpoint to work with invertible fun

Modar M. Alfadly 12 May 12, 2022
A Pytorch implementation of CVPR 2021 paper "RSG: A Simple but Effective Module for Learning Imbalanced Datasets"

RSG: A Simple but Effective Module for Learning Imbalanced Datasets (CVPR 2021) A Pytorch implementation of our CVPR 2021 paper "RSG: A Simple but Eff

120 Dec 12, 2022
Omnidirectional camera calibration in python

Omnidirectional Camera Calibration Key features pure python initial solution based on A Toolbox for Easily Calibrating Omnidirectional Cameras (Davide

Thomas Pönitz 12 Nov 22, 2022