How to add contents manually?

@branko How to add new contents like pdf files, web pages and bundles manually to ORxPi?

You can just create a directory and place the files there. Special packaging is no longer required.

For simple files, you simply put them on external storage and that’s about it.

If you want the files to appear in the Library view, you also need to supply the content metadata in a file called .contentinfo or info.json. This file marks a folder as content.

Here’s an example of a .contentinfo file:

{
  "broadcast": "2016-01-29",
  "content": {
    "html": {
      "keep_formatting": true,
      "main": "index.html"
    }
  },
  "cover": "",
  "gen": 1,
  "is_partner": false,
  "is_sponsored": false,
  "language": "en",
  "license": "ARL",
  "partner": "Capital Radio Malawi",
  "publisher": "Capital Radio Malawi",
  "timestamp": "2016-01-29 20:16:01 UTC",
  "title": "Government dissatisfied with construction works",
  "url": "http://www.capitalradiomalawi.com/news/local-news/item/5725-government-dissatisfied-with-construction-works"
}
1 Like