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)
Job Assignment System by Real-time Emotion Detection

Emotion-Detection Job Assignment System by Real-time Emotion Detection Emotion is the essential role of facial expression and it could provide a lot o

1 Feb 08, 2022
A simple pygame dino game which can also be trained and played by a NEAT KI

Dino Game AI Game The game itself was developed with the Pygame module pip install pygame You can also play it yourself by making the dino jump with t

Kilian Kier 7 Dec 05, 2022
Simple torch.nn.module implementation of Alias-Free-GAN style filter and resample

Alias-Free-Torch Simple torch module implementation of Alias-Free GAN. This repository including Alias-Free GAN style lowpass sinc filter @filter.py A

이준혁(Junhyeok Lee) 64 Dec 22, 2022
Wide Residual Networks (WideResNets) in PyTorch

Wide Residual Networks (WideResNets) in PyTorch WideResNets for CIFAR10/100 implemented in PyTorch. This implementation requires less GPU memory than

Jason Kuen 296 Dec 27, 2022
Python implementation of Wu et al (2018)'s registration fusion

reg-fusion Projection of a central sulcus probability map using the RF-ANTs approach (right hemisphere shown). This is a Python implementation of Wu e

Dan Gale 26 Nov 12, 2021
Accelerate Neural Net Training by Progressively Freezing Layers

FreezeOut A simple technique to accelerate neural net training by progressively freezing layers. This repository contains code for the extended abstra

Andy Brock 203 Jun 19, 2022
Selecting Parallel In-domain Sentences for Neural Machine Translation Using Monolingual Texts

DataSelection-NMT Selecting Parallel In-domain Sentences for Neural Machine Translation Using Monolingual Texts Quick update: The paper got accepted o

Javad Pourmostafa 6 Jan 07, 2023
Multivariate Time Series Forecasting with efficient Transformers. Code for the paper "Long-Range Transformers for Dynamic Spatiotemporal Forecasting."

Spacetimeformer Multivariate Forecasting This repository contains the code for the paper, "Long-Range Transformers for Dynamic Spatiotemporal Forecast

QData 440 Jan 02, 2023
"NAS-Bench-301 and the Case for Surrogate Benchmarks for Neural Architecture Search".

NAS-Bench-301 This repository containts code for the paper: "NAS-Bench-301 and the Case for Surrogate Benchmarks for Neural Architecture Search". The

AutoML-Freiburg-Hannover 57 Nov 30, 2022
Autotype on websites that have copy-paste disabled like Moodle, HackerEarth contest etc.

Autotype A quick and small python script that helps you autotype on websites that have copy paste disabled like Moodle, HackerEarth contests etc as it

Tushar 32 Nov 03, 2022
The source code for 'Noisy-Labeled NER with Confidence Estimation' accepted by NAACL 2021

Kun Liu*, Yao Fu*, Chuanqi Tan, Mosha Chen, Ningyu Zhang, Songfang Huang, Sheng Gao. Noisy-Labeled NER with Confidence Estimation. NAACL 2021. [arxiv]

30 Nov 12, 2022
A curated list of programmatic weak supervision papers and resources

A curated list of programmatic weak supervision papers and resources

Jieyu Zhang 118 Jan 02, 2023
Personal implementation of paper "Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval"

Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval This repo provides personal implementation of paper Approximate Ne

John 8 Oct 07, 2022
Delving into Localization Errors for Monocular 3D Object Detection, CVPR'2021

Delving into Localization Errors for Monocular 3D Detection By Xinzhu Ma, Yinmin Zhang, Dan Xu, Dongzhan Zhou, Shuai Yi, Haojie Li, Wanli Ouyang. Intr

XINZHU.MA 124 Jan 04, 2023
Here I will explain the flow to deploy your custom deep learning models on Ultra96V2.

Xilinx_Vitis_AI This repo will help you to Deploy your Deep Learning Model on Ultra96v2 Board. Prerequisites Vitis Core Development Kit 2019.2 This co

Amin Mamandipoor 1 Feb 08, 2022
[ICRA 2022] CaTGrasp: Learning Category-Level Task-Relevant Grasping in Clutter from Simulation

This is the official implementation of our paper: Bowen Wen, Wenzhao Lian, Kostas Bekris, and Stefan Schaal. "CaTGrasp: Learning Category-Level Task-R

Bowen Wen 199 Jan 04, 2023
Official code of "Mitigating the Mutual Error Amplification for Semi-Supervised Object Detection"

CrossTeaching-SSOD 0. Introduction Official code of "Mitigating the Mutual Error Amplification for Semi-Supervised Object Detection" This repo include

Bruno Ma 9 Nov 29, 2022
A TensorFlow implementation of DeepMind's WaveNet paper

A TensorFlow implementation of DeepMind's WaveNet paper This is a TensorFlow implementation of the WaveNet generative neural network architecture for

Igor Babuschkin 5.3k Dec 28, 2022
Optimal space decomposition based-product quantization for approximate nearest neighbor search

Optimal space decomposition based-product quantization for approximate nearest neighbor search Abstract Product quantization(PQ) is an effective neare

Mylove 1 Nov 19, 2021
VOGUE: Try-On by StyleGAN Interpolation Optimization

VOGUE is a StyleGAN interpolation optimization algorithm for photo-realistic try-on. Top: shirt try-on automatically synthesized by our method in two different examples.

Wei ZHANG 66 Dec 09, 2022