Release plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners
(2020-01-03, 14:47)nessus Wrote: So, all the infolabels & infoproperties they will be for a detailed item?

Yep, it's exactly the same as before but now you don't need to worry about managing the windows with del_path/reset_path/onload/onback conditions.

You just add the path/query and the script handles the rest.

In simplified terms, the basic flow is:
  1. You call add_query and the script finds the detailed item path and then adds it to TMDbHelper.Path.Current
  2. The script closes the info dialog.
  3. The script opens the custom window if it's the first run through.
  4. The script waits for Container(9999).IsUpdating to finish and then does SetFocus(9999) and then Action(Info).
  5. Once the info dialog is open, the script waits for one of the following scenarios:
  • If the add_path/query is called again then it goes to 1 and repeats.
  • If the dialog window is closed then it deletes the current path and replaces it with the previous path and goes to 2 and repeats.
  • If there is no previous path then the script clears all properties and exits.
  • If the custom window gets closed (user presses back twice quickly or hits ESC), then script clears all properties and exits
  • If the close_dialog method is called, then script clears all properties and exits
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply


Messages In This Thread
RE: TheMovieDB Helper - by jurialmunkey - 2019-07-31, 11:47
RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - by jurialmunkey - 2020-01-03, 15:20
Logout Mark Read Team Forum Stats Members Help
plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners2