Quantcast
Channel: Squeezebox : Community : Forums
Viewing all articles
Browse latest Browse all 6235

Plugin URL prefix mapping?

$
0
0
For Material 2.4.2 I'm using a track's URL to map to its source. e.g. URL starting with "youtube:" maps to "YouTube". Currently I have a JSON file that maps these prefixes (URL schemes) to a displayable name. Is there a way for material to determine the URL prefixes used for all installed plugins? This way I can remove the JSON file and provide this mapping for a JSONRPC call - and when new plugins are created I don't have to manually update this mapping.

e.g. I'd like Material's Perl plugin code to be able to query for all active prefixes/schemes and create a mapping from these to the plugin name.

Viewing all articles
Browse latest Browse all 6235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>