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)
Repository for the semantic WMI loss

Installation: pip install -e . Installing DL2: First clone DL2 in a separate directory and install it using the following commands: git clone https:/

Nick Hoernle 4 Sep 15, 2022
State of the Art Neural Networks for Deep Learning

pyradox This python library helps you with implementing various state of the art neural networks in a totally customizable fashion using Tensorflow 2

Ritvik Rastogi 60 May 29, 2022
StyleSpace Analysis: Disentangled Controls for StyleGAN Image Generation

StyleSpace Analysis: Disentangled Controls for StyleGAN Image Generation Demo video: CVPR 2021 Oral: Single Channel Manipulation: Localized or attribu

Zongze Wu 267 Dec 30, 2022
Data loaders and abstractions for text and NLP

torchtext This repository consists of: torchtext.datasets: The raw text iterators for common NLP datasets torchtext.data: Some basic NLP building bloc

3.2k Jan 08, 2023
The implementation of 'Image synthesis via semantic composition'.

Image synthesis via semantic synthesis [Project Page] by Yi Wang, Lu Qi, Ying-Cong Chen, Xiangyu Zhang, Jiaya Jia. Introduction This repository gives

DV Lab 71 Jan 06, 2023
Have you ever wondered how cool it would be to have your own A.I

Have you ever wondered how cool it would be to have your own A.I. assistant Imagine how easier it would be to send emails without typing a single word, doing Wikipedia searches without opening web br

Harsh Gupta 1 Nov 09, 2021
PyTorch code for our paper "Gated Multiple Feedback Network for Image Super-Resolution" (BMVC2019)

Gated Multiple Feedback Network for Image Super-Resolution This repository contains the PyTorch implementation for the proposed GMFN [arXiv]. The fram

Qilei Li 66 Nov 03, 2022
ICML 21 - Voice2Series: Reprogramming Acoustic Models for Time Series Classification

Voice2Series-Reprogramming Voice2Series: Reprogramming Acoustic Models for Time Series Classification International Conference on Machine Learning (IC

49 Jan 03, 2023
Learning Neural Network Subspaces

Learning Neural Network Subspaces Welcome to the codebase for Learning Neural Network Subspaces by Mitchell Wortsman, Maxwell Horton, Carlos Guestrin,

Apple 117 Nov 17, 2022
FasterAI: A library to make smaller and faster models with FastAI.

Fasterai fasterai is a library created to make neural network smaller and faster. It essentially relies on common compression techniques for networks

Nathan Hubens 193 Jan 01, 2023
ICCV2021 Expert-Goal Trajectory Prediction

ICCV 2021: Where are you heading? Dynamic Trajectory Prediction with Expert Goal Examples This repository contains the code for the paper Where are yo

hz 21 Dec 12, 2022
mlpack: a scalable C++ machine learning library --

a fast, flexible machine learning library Home | Documentation | Doxygen | Community | Help | IRC Chat Download: current stable version (3.4.2) mlpack

mlpack 4.2k Jan 09, 2023
X-modaler is a versatile and high-performance codebase for cross-modal analytics.

X-modaler X-modaler is a versatile and high-performance codebase for cross-modal analytics. This codebase unifies comprehensive high-quality modules i

910 Dec 28, 2022
PixelPyramids: Exact Inference Models from Lossless Image Pyramids (ICCV 2021)

PixelPyramids: Exact Inference Models from Lossless Image Pyramids This repository contains the PyTorch implementation of the paper PixelPyramids: Exa

Visual Inference Lab @TU Darmstadt 8 Dec 11, 2022
This is our ARTS test set, an enriched test set to probe Aspect Robustness of ABSA.

This is the repository for our 2020 paper "Tasty Burgers, Soggy Fries: Probing Aspect Robustness in Aspect-Based Sentiment Analysis". Data We provide

35 Nov 16, 2022
SwinIR: Image Restoration Using Swin Transformer

SwinIR: Image Restoration Using Swin Transformer This repository is the official PyTorch implementation of SwinIR: Image Restoration Using Shifted Win

Jingyun Liang 2.4k Jan 05, 2023
Lightweight, Python library for fast and reproducible experimentation :microscope:

Steppy What is Steppy? Steppy is a lightweight, open-source, Python 3 library for fast and reproducible experimentation. Steppy lets data scientist fo

minerva.ml 134 Jul 10, 2022
[AAAI2021] The source code for our paper 《Enhancing Unsupervised Video Representation Learning by Decoupling the Scene and the Motion》.

DSM The source code for paper Enhancing Unsupervised Video Representation Learning by Decoupling the Scene and the Motion Project Website; Datasets li

Jinpeng Wang 114 Oct 16, 2022
Code for ECCV 2020 paper "Contacts and Human Dynamics from Monocular Video".

Contact and Human Dynamics from Monocular Video This is the official implementation for the ECCV 2020 spotlight paper by Davis Rempe, Leonidas J. Guib

Davis Rempe 207 Jan 05, 2023
This is a Pytorch implementation of the paper: Self-Supervised Graph Transformer on Large-Scale Molecular Data.

This is a Pytorch implementation of the paper: Self-Supervised Graph Transformer on Large-Scale Molecular Data.

212 Dec 25, 2022