PS3 How to make a Movian plugin?

weirdosona

Member
i like the bloody fist radio, and i'd like to make a movian plugin. the only open source movian plugins i've found are for torrenting/pirating sites for watching shows. i'd like it to be formatted a little bit like the somafm plugin (only without the channel select) and i refuse to use ai to code for me. can anyone offer an easy to digest guide? for now, i've got the json for the plugin info.
Code:
{
  "type": "ecmascript",
  "apiversion": 1,
  "id": "testblood",
  "file": "indevbloodyfist.js",
  "showtimeVersion": "7.0.248",
  "version": "0.1 INDEV",
  "author": "Kris",
  "title": "Bloody Fist Movian",
  "icon": "bf-square.png",
  "synopsis": "Bloody Fist Radio on your PS3!",
  "category": "music",
  "description": "<p>Bloody Fist is an internet radio mostly focused on what they label as chaotic racket. The songs featured are relased between the years 1994 and 2004.</p>",
  "homepage":"http://www.bloodyfistradio.com/radio/"
}
 
Plugins are written in js using movian's js api, but as far as i know it's a bit of an undocumented mess.

They're structured as a URL handler thing, so you make a view that exposes a list of matchers linked to a callback, you can then set the page URL inside the callback for inter-view navigation (take a look at https://github.com/LouisMarotta/m7-jellyfin/blob/master/src/view.js ).

You can look at open source plugins as examples for how to structure yours and how to use the Movian widgets because the original author rolled their own UI library which i find pretty cool, you might also want to check the original movian source (m7 doesn't seem to make it available?) at https://github.com/andoma/movian (it also has some example plugins) and look at the UI code to understand the widget types better.
 
Back
Top