在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:oronbz/homebridge-omxplayer开源软件地址:https://github.com/oronbz/homebridge-omxplayer开源编程语言:JavaScript 100.0%开源软件介绍:homebridge-omxplayerA Raspberry Pi (only) Plugin to download and play any YouTube video or a local video file using Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to "Star" or donate.Click here to review more of my plugins. New version (2.0) - This plugin is a platform now and have many new features:Play Playlist - to play the tracks in their order. Play Playlist Shuffle - to play tracks in a random order. Play Next Switch - to play the next song in the list. Pause Switch - to pause/resume playback. Repeat All - set to true to allow the playlist to repeat itsef when it**s done. Volume Control Light Bulb - to control the volume of the track, when set to false 100% volume will be used. Format in config - for choosing the quality of the downloaded file. USE WITH CAUTION - See "Formats" section below. Path in config - to choose which folder to download the files. when not set, the default persist folder will be chosen. Output in config - to select your audio output ("both, "hdmi", "local", "alsa"), default to "both. Example config.json:
Why do we need this plugin?This plugin is great for getting some music and videos into scenes and automations, for example:
How it worksBasically, all you need to do is:
when setting a new youtube link, only for the first time,the video will be downloaded which should take a few seconds. How to install
The raspberry pi should be logged in with the same user that runs homebridge. It is suggested to use auto-login when Raspberry rebooted. TroubleshootingPermissions issueIf you're running
Delete any Make sure your Reboot and try again. FormatsEasy Formats"best": Select the best quality format represented by a single file with video and audio. "worst": Select the worst quality format represented by a single file with video and audio. "bestvideo": Select the best quality video-only format (e.g. DASH video). May not be available. "worstvideo": Select the worst quality video-only format. May not be available. "bestaudio": Select the best quality audio only-format. May not be available. "worstaudio": Select the worst quality audio only-format. May not be available For Expertsit will only download if this version is available for all your tracks
CreditsThis plugin was inspired by homebridge-dummy by @nfarina and the idea for this plugin came from my little brother @nitaybz which has written many other plugins already, so you should definitely explore his repos too: https://github.com/nitaybz?tab=repositories |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论