NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 52 53 54 55 56 Next »
OnScreen Keyboard added to My Music

 
  • 0 Vote(s) - 0 Average
OnScreen Keyboard added to My Music
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#1
2004-12-30, 03:17 AM
[Image: mymusic02.jpg]

ive finally added an onscreen keyboard, so now you can rename and save your playlists with better names.

ive also added a playlist menu which allows you to load,rename or delete a playlist (burn is there, but its not working yet, i just didnt want to mess around with it once its going, so just ignore that for now).

the onscreen keyboard, if i dont say so myself Tongue, is acutally really clever, it should be easy to translate it to any language out there, the rules are this:
everything is in the skin file. (which is under yourskin\onscreenkeyboard not yourskin\mymusic)
like
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"><buttons>
<Row>
<button name="KEY#a" normal="a" shift="A". ....</button>
<button name="Done" normal="Done" shift="Done". ....</button>
</Row>
</buttons>
[/QUOTE]
now you can add as many rows as you like so you dont have to have 5 rows like i have it, so its very skinnable, theres an up=&quot;2&quot; down=&quot;2&quot; in some places, which is just used if the keys are larger than the rest like up on the &quot;left&quot; button shouldnt goto the 3rd button on the next row it should goto the 8th (which is 7 since 1=0, if you need help here just ask) which is backspace.

anyway the important part is translating the text.
leave the names as is. &quot;KEY#&quot; means its a key to be put into the textbox (the A orwhatever, doesnt matter, i just left that there, it will just search for &quot;KEY#&quotWink so to replace a with the ae character just insert replace it, and the shift is the upper case value, or if you want to use symbols etc.

now the name=&quot;done&quot; these are specials names it looks for, leave them, translate the &quot;Done&quot; text in the language file, also &quot;Clear&quot; &quot;Cancel&quot; etc.

if you get lost just ask for help.

also if you want the source code to the onscreen keyboard ask and ill send it (want a week or two, just so i can iron out the bugs, but im pretty sure its sweet, oh theres one bug).

read more info about it in the wiki.

enjoy.



reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#2
2004-12-30, 03:39 AM
the update for the gbpvr media experience skin so it will work with this new release is in the &quot;my music&quot; thread in the developers forum, theres a file size limit in the wiki, so i cant upload the new version there. this should be fixed within a few days.
jquinlan
Offline

Member

Posts: 228
Threads: 5
Joined: Jul 2004
#3
2004-12-30, 01:11 PM
Good looking keyboard.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#4
2004-12-30, 05:48 PM
i thought to warn about this:

there are some special characters in xml, like &amp; &lt; &gt; etc so if you want to use those as input you have to use the codes (im pretty sure they are the same codes to display them in html, well 90% sure) so to display &amp; in html/xml you would write %amp; . in the KEY# name field just write KEY#AND or something, it doesnt matter. if you translate it and it stuffs up, chances are you used a &quot;special&quot; character, so you need to input the character code instead (note this is NOT the ASCII code).

that said, im not 100% sure how these character will be read in, i only test &amp;amp; &quot;&amp;&quot; which was read as &quot;&amp;&quot;. if you get an error or it displays something like &quot;My Playlistname&amp;AMP;&quot; just post it in the developers forum in the my music plugin thread as a bug.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#5
2004-12-30, 05:59 PM
Reven,

If you are using the System.XML file, when you retrieve the Text property it should convert the special characters to their ASCII equivalents. This is done so that you as a programmer don't have to handle all those special characters yourself.

Just for future reference, here is a list of all the special characters:

http://www.w3.org/MarkUp/html-spec/html-spec_13.html

Yes, this is HTML, but it applies the XML as well.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#6
2004-12-30, 06:49 PM
i had a feeling you would know that [Image: smile.gif],cheers KingArgyle.

So if anyone wants to translate special characters (or just add more buttons etc) just look them up in the link posted by KingArgyle.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Music Box 4 -Artist Fanart mvallevand 19 7,749 2012-08-04, 08:16 PM
Last Post: Jaggy
  Pandora Internet Radio and MusicMonkey (MediaMonkey) music plugins cncb 19 8,620 2011-12-17, 02:02 AM
Last Post: steeb
  MpegImport utility added to wiki sixgun 66 23,215 2010-05-25, 01:48 PM
Last Post: carpeVideo
  Next version of Music Plugin and MediaScanner MixMan 11 5,131 2009-10-01, 09:54 PM
Last Post: MixMan
  Music Plugin MixMan 10 5,249 2009-01-26, 06:30 PM
Last Post: MixMan
  Music Plugin Beta MixMan 156 36,035 2008-11-19, 10:21 AM
Last Post: MixMan
  BitTorrent client added to the 'Ten Foot' products Andy Henderson 2 2,175 2007-10-16, 05:43 PM
Last Post: Andy Henderson
  Music plugin for 1.0.16 reefboy 4 2,075 2007-09-23, 08:26 PM
Last Post: psycik
  Email reader added to the Ten Foot Browser and utilities Andy Henderson 0 1,254 2007-02-28, 12:22 AM
Last Post: Andy Henderson
  MVP Music Box 1.0 Hunter Sun 15 6,135 2007-01-06, 04:38 AM
Last Post: Fatman_do

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode