Menu

Upgrading to 0.0.6.x

Derek Battams

This document explains the procedure for upgrading the sdepg plugin to v0.0.6.x from an older version. If you are not upgrading (i.e. installing new) then you can ignore the contents of this document.

  1. Before installing the upgraded version of the plugin, go to your Video Sources in SageTV and delete all of them.
  2. Proceed with the upgrade of the sdepg plugin; if prompted to restart SageTV say NO; do NOT restart SageTV at this time.
  3. Stop SageTV
  4. Go to SageTV\plugins\sdepg\ and delete the sdjson.epg file
  5. Create a copy of SageTV\Sage.properties (for backup/restore purposes in case the next step goes sideways)
  6. Edit SageTV\Sage.properties
  7. Search for lines that start with epg/channel_lineups/nnnn where nnnn is a series of numbers; delete all such lines
  8. Search for lines that start with epg_data_sources/nnnn where nnnn is a series of numbers; delete all such lines
  9. Search for lines that start with epg/physical_channel_lineups/nnnn where nnnn is a series of numbers; delete all such lines
  10. Search for lines that start with epg/service_levels/nnnn where nnnn is a series of numbers; delete all such lines
  11. Restart SageTV
  12. Go to the sdepg plugin settings (go to list of installed plugins, click on sdepg then click on 'Configure Plugin')
  13. Modify the Base URL for sdjson setting. Set it to https://json.schedulesdirect.org
  14. You must re-register your lineups with your Schedules Direct account; follow these directions from the User's Guide.
  15. Reconfigure your video sources

That should be all that's needed. Let Sage complete the EPG update. If you have no EPG data after the update is completed then it's likely you have an empty local cache of EPG data -- there are scenarios where this would happen. No big deal, just go back to the sdepg plugin settings and click on Refresh EPG. This will clear the cache and force another EPG update and this update will pull all of the channels you have enabled in your lineups. Be sure you're triggering the refresh from the plugin settings page and not the webui as the webui will not delete the local cache file before triggering the new update.

After the initial pull of new EPG data, it will typically take Sage 5-10 minutes to reprocess all of your favourites and fill in your upcoming recording schedule. This is normal, just give it time. It could take longer depending on your hardware and the number of favourites you have configured.

Enjoy!