Floatplane channel plugin for Jellyfin 10.10.x: browse, HLS proxy, cookie session, CI release
Some checks failed
release / build-release (push) Has been cancelled
Some checks failed
release / build-release (push) Has been cancelled
- IChannel: creators -> sub-channels -> video posts (public listing API, search mapped) - IRequiresMediaInfoCallback -> signed proxy URLs; stream controller rewrites HLS so the AES-128 key is fetched server-side with the session cookie, segments stay on the CDN - delivery/info cached per token lifetime and throttled (~2/min) - config page: paste sails.sid + validate, extra creators, quality, search test - scripts/package.sh -> plugin folder + zip + md5 + manifest.json; Gitea release workflow - research docs, HAR analysis (HAR itself gitignored), install-pi5.sh Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
77
doc/research/reference-sources/hydra_registry.brs
Normal file
77
doc/research/reference-sources/hydra_registry.brs
Normal file
@@ -0,0 +1,77 @@
|
||||
'********************************************************************
|
||||
'** RegistryService
|
||||
'********************************************************************
|
||||
|
||||
function RegistryUtil() as Object
|
||||
registry = {
|
||||
|
||||
'** Writes value to Registry
|
||||
'@param key Registry section key
|
||||
'@param val value to write
|
||||
'@param section Registry section name
|
||||
write: function(key as String, val as String, section = "default" as String) as Void
|
||||
sec = createObject("roRegistrySection", section)
|
||||
sec.write(key, val)
|
||||
sec.flush()
|
||||
end function
|
||||
|
||||
'** Reads value from Registry
|
||||
'@param key Registry section key
|
||||
'@param section Registry section name
|
||||
read: function(key as String, section = "default" as String) as Dynamic
|
||||
sec = createObject("roRegistrySection", section)
|
||||
if sec.exists(key) then return sec.read(key)
|
||||
return invalid
|
||||
end function
|
||||
|
||||
'** Retrieve all entries in the specified section
|
||||
'@param section Registry section name
|
||||
readSection: function(section = "default" as String) as Object
|
||||
aa = {}
|
||||
sec = createObject("roRegistrySection", section)
|
||||
|
||||
if sec = invalid
|
||||
return aa
|
||||
end if
|
||||
|
||||
keyList = sec.getKeyList()
|
||||
for each key in keyList
|
||||
aa[key] = m.read(key, section)
|
||||
end for
|
||||
return aa
|
||||
end function
|
||||
|
||||
'** Deletes key value from Registry
|
||||
'@param key Registry section key
|
||||
'@param section Registry section name
|
||||
delete: function(key as String, section = "default" as String) as Dynamic
|
||||
sec = createObject("roRegistrySection", section)
|
||||
if sec.exists(key) then return sec.delete(key)
|
||||
return invalid
|
||||
end function
|
||||
|
||||
'** Deletes all key values from the specified section
|
||||
'@param section Registry section name
|
||||
deleteSection: function(section = "default" as String) as Boolean
|
||||
reg = createObject("roRegistry")
|
||||
return reg.delete(section)
|
||||
end function
|
||||
|
||||
'** Deletes all sections from the registry
|
||||
'@param section Registry section name
|
||||
clear: function()
|
||||
sectionList = m.getSections()
|
||||
for each section in sectionList
|
||||
m.deleteSection(section)
|
||||
end for
|
||||
end function
|
||||
|
||||
'** Retrieve all sections in the registry
|
||||
getSections: function() as Object
|
||||
reg = createObject("roRegistry")
|
||||
return reg.getSectionList()
|
||||
end function
|
||||
}
|
||||
|
||||
return registry
|
||||
end function
|
||||
Reference in New Issue
Block a user