Git Product home page Git Product logo

fetch_id3's Introduction

Display current song playing on laPaz.fm/thirdRock

live demo

Since VLC displays stream after opening lapaz.fm or thirdrock-sgplayer when opening thirdRock Thus, I decided to build a script that displays the current song playing on lapaz.fm or thirdrockradio.net

Update: www.lapaz.fm has changed everything. icecasthd JSON file is no longer available. MacOS notification and Gnome-shell extension NO longer work. Made them work by running a Shell script, store the info as JSON file and another JS script will display it.

MacOS version

Notification App

Notification

Programming language: JavaScript, Bash

Editor: Emacs

xbar Plugin

On MacOS this is the recommended method to display current song.

The following plugins DO NOT store extra files on SSD/HDD.

  1. ThirdRock Radio <xbar_plugin/get3rdRock.4m.py>

  2. FM La Paz <xbar_plugin/getfmLaPaz.4m.sh>

    It can also fetch artwork and parse it to xbarApp.

Environment: MacBookPro / MacOS 15.5

Gnome-Shell Extension

Dir: [email protected]

Preview

On this repository only the thirdRock version is available. Please refer to this link to get the FMLaPaz version.

The above script uses GJS-Soap library to make a request to fetch data. Thus, all work is done in memory, no data file is written to SSD/HDD.

To install copy the above dir to:
$ $HOME/.local/share/gnome-shell/extensions/

Default update time is 3 minutes. To modify, please edit extension.js and find the const variable upTime and replace 238 by another interval in seconds.

Windows version (Support for thirdRock only)

Programming language: C#

coming as soon as I learn C# connections with JSON

I did learn how to code in C#. The Pre-release is available as a ZIP file.

Go to: [https://github.com/ndlopez/NowPlaying]

Update: Windows version no longer displays current song from fm LaPaz, 'cuz the error mentioned above, the new version supports only ThirdRockRadio.

Web version

click on live demo link above

Dev only: Open index.html in Firefox and wait for 3minutes or so. The playlist will populate and update every 3minutes.

By clicking on the cloud icon, it is possible to download the playlist in JSON format, obviously from the moment the page was opened.

fetch_id3's People

Contributors

ndlopez avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.