Data vs Dict

Am about to start work on a plugin that uses an xml file for the channel list.


The channel list xml is unique to each user (as in you have to be authenticated to access it), but doesn’t change, so I’d like to store it for subsequent usage after the first download (and manipulation/cleanup if required).


So what would be the best way to store the information? Via the data or dict API?


The channel format is:


Item

  • title
  • HLS link (with query string on end after .m3u8 that contains username and password)

I'd say Dict in this case, but if the process of parsing/filtering the XML document isn't very difficult and the data in the XML file is always the same caching the XML document could also be a solution.

Thanks sander1. I've another question, regarding the URLs, but will post that in a separate thread.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.