Who does not love internet radio stations? Who does not like to listen to Liquid Funk or Detroit Techno or Verdi all day long? Now you can do it easily on your Raspberry Pi. You can install it from Raspbian, as well. youtube-dlįrom rg3, RemotePi uses this program to extract direct stream links from YouTube page URLs. RemotePi is a single HTML5 webpage, you load it once and then it communicates with the Raspberry Pi with AJAX calls using JavaScript. Source code and installation instructions on Github. Best used with a nicely arranged folder structure. It does not use 3rd party databases for metadata, except for internet radio. RemotePi is strictly file and directory based and could not care less for MP3 tags in files. The playlist resumes after the end of the movie.Ĭontrol buttons: Play/pause/stop playback, or navigate in the playlist with repeat, previous/next, Rewind/FastForward 30/600s, or previous or next album buttons.Ĭycle through subtitles and soundtracks, switch audio output to HDMI of Jack. You can even interrupt the playlist to play a single file or a YouTube clip. Insert, add and append files, directories or internet radio streams to the omxd playlist. Limit file browsing within the Raspberry Pi’s file system to a root directory specified in a config file /etc/remotepi.cfg. Show what omxd is playing now, including album art or YouTube thumbnail and actual/overall clip time. RemotePi uses the omxd/omxplayer backend. You don’t need an extra remote control, you don’t need SSH, you don’t need to connect physically to the Raspberry Pi, and you definitely don’t need to start the GUI. RemotePiīrowse music/videos, internet radio stations and even YouTube on your Raspberry Pi and play them on your audio system or non-smart HDMI TV.Ĭontrol everything from your smartphone via the RemotePi web-app. See the project homepage and the code on Github. It’s all wrapped up in a new script packaged with omxd: rpyt.Īnd the RemotePi remote-control web-app also uses that from now. if omxplayer exits for any reason, curl gets a SIGPIPE and exits too.even if it’s not the case due to a slow network, the player does not exit, just blocks until curl catches up. there is no disk IO at all, so curl writes faster than omxplayer reads.And start omxplayer immediately to read the video stream from the FIFO. Let’s create a FIFO file, and let curl write the video stream into that. This solution is so disk/sdcard IO intensive, that omxplayer will reach the EOF too soon and exit. Keep fingers crossed that curl saves faster than omxplayer reads. Let curl save to a file, and start omxplayer a few seconds later to play it back. curl -b jar `youtube-dl -g -cookies jar -write-thumbnail` But omxplayer can’t use cookie jars.īut curl can! We tell youtube-dl to save the cookie, and let curl save/stream the video using the cookie. YouTube now only streams the video if a session cookie is presented. The excellent ncurses based yt worked this way. In the old times, youtube-dl -g spat out YouTube stream URLs, and omxplayer could play them straight away. I can’t stop watching LaFerrari and McLaren P1 videos in HD with great sound! To cut a long story short: YouTube finally works in HD on my TV with RemotePi.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |