Posts: 166
Joined: Oct 2007
Reputation:
0
While Revising the xtv skin for my personal use I came up with an idea: I would like to have my emulators section set up with info, similiar to the info you would get from a scrapper. However, since there is no scrapper for such a thing I was wondering how I could get certain text to show up and possibly scroll just like the episode/movie info. Any help would be appreciated. Thanks in advance.
Posts: 166
Joined: Oct 2007
Reputation:
0
I don't know too much about skinning, but is there anything preventing me from just making one big label that changes as the focus changes from emulator button to button?
Posts: 166
Joined: Oct 2007
Reputation:
0
Anyhow, I got that retro x script to work... just needed to add a "games" folder in the script directory.
I don't think this thread belongs to the skinning section anymore... sorry... Unless someone can give me a skin related solution to putting emulator info into a skin... perhaps a .txt or nfo file i create myself?
It would be nice though if someone could port that script to be a plugin... Not saying I'd necessarily be up to the task, but hypothetically speaking, how much work would it be for a complete novice to learn enough python to simply make a script into a plugin?
Posts: 3,909
Joined: Dec 2004
Reputation:
20
Nuka1195
Skilled Python Coder
Posts: 3,909
you need a view to display the info, what would work now is.
1. the view with text, labels, image controls all set similar to: <info>Property(emudesc)</info>
2. plugin to list a directory and read a local file or scrape a website for the info and setProperty("emudesc", "the description")
3. might have to set the url back to the plugin, then have the plugin launch the emu with the args.
so it's both a plugin/skin issue.
plugins are pretty simple, there are plenty of examples to learn from, the plugin maker script is a good example of how to create a plugin that lists a directory, could be modified easily enough for what you need.