Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dlnaplay

A audio/video player for jailbroken PS5s where the majority of the code was produced by claude.ai

Lua plugins

Besides UPnP/DLNA servers and the local filesystem, media sources can be added with Lua scripts. Every *.lua file in the plugin directory (--plugins DIR, default <assets>/../plugins) becomes one provider; the script returns a table implementing the same interface as browse::Provider and browse::Source:

return {
  name = "My provider",
  discover = function()
    return {
      {
        name = "My source",       -- row title
        detail = "somewhere",     -- row subtitle (optional)
        icon = "📻",              -- emoji glyph (optional)
        root = "/",               -- root folder id (optional)
        browse = function(id)     -- list the children of 'id'
          return {
            { title = "A stream", kind = "audio",
              url = "https://example.com/stream" },
          }
        end,
      },
    }
  end,
}

See src/browse/lua_source.h for the full set of entry fields and plugins/sr.lua (Sveriges Radio live channels) for a working example.

About

A DLNA mediaplayer for jailbroken PS5s

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages