[RELEASE] Super Favourites AKA Super-Addon Creator

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jansh84 Offline
Junior Member
Posts: 5
Joined: Jul 2014
Reputation: 0
Post: #136
Deleted.. posted in the wrong forum.
(This post was last modified: 2014-07-13 22:01 by jansh84.)
find quote
Tony_g Offline
Junior Member
Posts: 10
Joined: Jun 2014
Reputation: 0
Post: #137
I guess the answer to one question, may well answer the other.
1) Can I backup all my setting, folders etc. So I can move to another setup, or just in case of disaster. If so where is the location of the files ?
2) Instead of making folders and their contents using XBMC directly, can I make the scripts etc on a computer and the upload them to XMBC
Thanks in advance
find quote
Krantzet Offline
Junior Member
Posts: 9
Joined: Nov 2013
Reputation: 0
Post: #138
(2014-07-09 19:50)spoyser Wrote:  Yes it can be done, you need something along the lines of:

Code:
path = 'C:/Documents and Settings/SeanP/Application Data/XBMC/userdata/addon_data/plugin.program.super.favourites/Super Favourites/Test'
cmd = 'ActivateWindow(10025,"plugin://plugin.program.super.favourites/?mode=400&path=%s")' % urllib.quote_plus(path)
xbmc.executebuiltin(cmd)

Where do I write these lines?
I use WIP skin Eminence and it allows me to create a "shortcut" to one line of code, but not several lines. Can i create a script for it or something?
find quote
spoyser Offline
Donor
Posts: 291
Joined: Oct 2011
Reputation: 21
Post: #139
(2014-07-14 14:07)Krantzet Wrote:  
(2014-07-09 19:50)spoyser Wrote:  Yes it can be done, you need something along the lines of:

Code:
path = 'C:/Documents and Settings/SeanP/Application Data/XBMC/userdata/addon_data/plugin.program.super.favourites/Super Favourites/Test'
cmd = 'ActivateWindow(10025,"plugin://plugin.program.super.favourites/?mode=400&path=%s")' % urllib.quote_plus(path)
xbmc.executebuiltin(cmd)

Where do I write these lines?
I use WIP skin Eminence and it allows me to create a "shortcut" to one line of code, but not several lines. Can i create a script for it or something?

One line would be

Code:
ActivateWindow(10025,"plugin://plugin.program.super.favourites/?mode=400&path=C%3A%2FDocuments+and+Settings%2FSeanP%2FApplication+Data%2FXBMC%2Fuserd​ata%2Faddon_data%2Fplugin.program.super.favourites%2FSuper+Favourites%2FTest")
find quote
spoyser Offline
Donor
Posts: 291
Joined: Oct 2011
Reputation: 21
Post: #140
(2014-07-13 17:04)Tony_g Wrote:  I guess the answer to one question, may well answer the other.
1) Can I backup all my setting, folders etc. So I can move to another setup, or just in case of disaster. If so where is the location of the files ?
2) Instead of making folders and their contents using XBMC directly, can I make the scripts etc on a computer and the upload them to XMBC
Thanks in advance

Yes the files and folders are stored in

Code:
\XBMC\userdata\addon_data\plugin.program.super.favourites

The search folder is a special folder, the favourites file in there is used to populate iSearch

One problem at the moment is that icons are stored with absolute paths, so do not transfer nicely but I will be fixing that. For now you can manually fix them by replacing the path to XBMC with the special syntax, eg

Code:
thumb="C:\Documents and Settings\SeanP\Application Data\XBMC\addons\plugin.video.iplayer\icon.png"

can be changed to

Code:
thumb="special://home\addons\plugin.video.iplayer\icon.png"

The files can actually be created in any text editor, if you open one you will see the format, in fact they are exactly the same as the standard XBMC favourite file.
find quote
Krantzet Offline
Junior Member
Posts: 9
Joined: Nov 2013
Reputation: 0
Post: #141
Quote:One line would be

Code:
ActivateWindow(10025,"plugin://plugin.program.super.favourites/?mode=400&path=C%3A%2FDocuments+and+Settings%2FSeanP%2FApplication+Data%2FXBMC%2Fuserd​ata%2Faddon_data%2Fplugin.program.super.favourites%2FSuper+Favourites%2FTest")

Works like a charm!
Thanks a LOT.
find quote
Tony_g Offline
Junior Member
Posts: 10
Joined: Jun 2014
Reputation: 0
Post: #142
Thanks spoyser
Very helpful, I wanted to create a lot of favourites in different folders, so easier to do in a text editor.
All this work is voluntary, so not asking for a time scale . Just as words of appreciation. Find this plugin, really useful and look forward to the Fanart, when available.
find quote
MediaPi Offline
Fan
Posts: 388
Joined: Apr 2013
Reputation: 5
Post: #143
(2014-07-08 07:02)spoyser Wrote:  
(2014-07-08 02:11)Keebler Wrote:  with the latest "update" now it wont open at all. crashes on start

SF: 1.10

Will need a log
On a fresh install I've noticed it comes up with script fail at xbmc boot and then script fail when entering super favourites.

the log shows script fail upon boot and then I tried to enter super favourites and another script fail. the error message goes away when I check "enable context overide" and then its no problems. I also noticed if I uncheck the overide context menu after this point it doesnt show up with script fail anymore...
http://xbmclogs.com/show.php?id=248979

thanks Spoyser
find quote
spoyser Offline
Donor
Posts: 291
Joined: Oct 2011
Reputation: 21
Post: #144
(2014-07-18 14:17)MediaPi Wrote:  On a fresh install I've noticed it comes up with script fail at xbmc boot and then script fail when entering super favourites.

the log shows script fail upon boot and then I tried to enter super favourites and another script fail. the error message goes away when I check "enable context overide" and then its no problems. I also noticed if I uncheck the overide context menu after this point it doesnt show up with script fail anymore...
http://xbmclogs.com/show.php?id=248979

thanks Spoyser

Cheers for the heads up, appears to be due to a difference in thw way Linux and Windows deal with opening a file that doesn't currently exist.Will fix in next release.
find quote
Post Reply