NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 75 76 77 78 79 … 93 Next »
My Music

 
  • 0 Vote(s) - 0 Average
My Music
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#11
2004-12-15, 04:24 AM
and bugger, i forgot to add the playlist directory to the config form. ill do another build today or tomorrow with the "eject cd" and "playlist dir" in the options, and hopefully have the mmConfuseds instead of filesize displayed. also ill do the default.jpg. and ill add the recursive stuff.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#12
2004-12-15, 12:24 PM
ive added all the features i posted so far. checkboxs for eject, duration instead of file size, red button on folder = add folder and all its contents to playlist (recursive search), play on folder same as add but wipes the playlist first. added the playlist dir to the config app, will look for default.jpg/png if folder.jpg/png arent found. you will have to edit the config.xml file once again to include the ejectcd, playlist tags. but hey thats your own fault for using an alpha release Tongue

ill upload the newer version tomorrow, well today, its 1.22am here (im tired). i just want anyone to think of how to display the folder info in details view, any thoughts ideas. all the info that will be displayed along side it will have to come from the id3 tags of mp3s found in its directory (only the first mp3 found will contribute to this info, otherwise it would take to long, and will only search that path, not its subdirs).

so thinking something like folder.jpg/default on left as usually, artist up the top left, album underneath it. then i dont konw. anyone got any ideas? if you do can you like draw an image and scan it in or make a little .jpg file or something and pm me it, or attach it here. ill give you credit and all.

this is one UI i really want to get right, as i said before, ive never seen a music ui ive liked.

oh and jorm how much code does your onscreen keyboard require? thinking of using it, just dont want to have to add lots of code to implement it.

ok tired now.
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#13
2004-12-15, 02:17 PM
It requires a fairly small amount of code.

Download the source for fast find from wiki. In the zip there are 3 files of interest.

FastFindTask (shows you how to use it)
KeyboardWidget
KeyboardListener

On the widget you call things like
keyboardWidget.OnDoubleClick(location)
keyboardWidget.Clear(); // to clear the current text
keyboardWidget.OnKeyDown(e)
keyboardWidget.render(g, currentGroupSelection == ControlGroupSelection.Keyboard); // the second param tells if focus is on the keyboard or not.

The listener interface requires the following callback methods.
public void enterSelected(string currentValue, bool completed)
public void keyboardCleared()

One tells you when the user has finished entering, the second when the user cleared the selection.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
nkh
Offline

Senior Member

Posts: 418
Threads: 14
Joined: Jan 2004
#14
2004-12-15, 05:38 PM
Your changes sounds great [Image: smile.gif] did you fix the 'red button' thing where the red button on the hauppauge remote doesn't add tracks to the playlist (I can only get Ctrl+r to do that)?

I just tried the cd I ripped last night in winamp, and it turns out that the tracks hadn't got any id3 tags... The files and dir's are named right though so My Music did get the info, it just never made it to the mp3 files. (If it makes any diffirence it's this cd I ripped "Psyched Up Janis - Enter The Super Peppermint Lounge", and non of the track names contains funny danish letters).

[b Wrote:Quote[/b] ]i just want anyone to think of how to display the folder info in details view, any thoughts ideas.
I like the large album cover at the left, then all the text on the right of it with something like:
--
Artist
Album name
Year - Genre
Total number of tracks - Total time of tracks (if it's not too time consuming to get that info)
--
(I think there's room for about 5 lines next to the album cover in the details view, so maybe you could (skinning people) show the Artist and Album name in a larger font than the rest. Or maybe show a line with bitrate info)

I'd also like an option to turn that info off on some dir's ('cos I have some dir's with various artists/albums).

I have expirimentet a bit more with the playlist isue. If I make a playlist in My Music and then goes to the main menu I can change tracks, but if I go to the jukebox plugin it starts to play another track (doesn't stop the track my music is playing, and it doesn't show the My Music playlist), I press Stop to stop both songs, then goes back to My Music and starts the playlist again, then goes to the main menu and press Skip I get this message "Error: Object reference not set to an instance og an object", the track I'm listening to continues to play, but the next track in the playlist doesn't play after this. If I then go back to My Music I can start the play list again, but if I troggle between Playlist and File List view the playlist is gone.

If I start in the jukebox plugin and makes a playlist, then goes to My Music, the playlist is there, I can change tracks, and the playlist is still there when I return to the jukebox plugin. I can even add tracks in My Music and the tracks are still there when I see the playlist in Jukebox. Though, if I select a specific track in the playlist in My Music, then goes to Jukebox it'll show the id3 info from the previous track and it'll also be the one that's highlighted, if I now change the track it'll take the next one after the highlighted one, not the one after the song I choose to listen to in My Music.

I'm not sure if that cleared anything up for you, but it seams like there's a problem if I start creating a playlist in My Music, I don't get errors if I add the first tracks somewhere else (I don't remember any problems like this with the Music Library+Jukebox plugin).

Also, a little request to the playlist view, could you highlight the track that's currently playing? Maybe also show Artist + Track name on the top of the screen next to the plugin name (My Pictures [Image: smile.gif] ).
Nicolai [SIZE="1"]- http://www.nk-h.dk
Current htpc - Asus N4L-VM DH, Core Duo 2GHz, 2GB RAM, Hauppauge PVR-500 mce, Twinhan DVB-C CI, TerraTec Cinergy 1200 DVB-C, nVidia 8800 GTS (using S-video tv-out), decoding dvb-c with ACamd 0.5.0.9, Yanksee and a Viaccess card from YouSee.[/SIZE]
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#15
2004-12-15, 10:41 PM
red button = ctrl-r
it works fine on my remote, using the new and old hauppauge remote. perhaps its not adding if there is not playlist already made (not sure, ill have to check later.)

total time would take to long (i think, ill do some tests, but it has to load the id3 tag editor to get the length, so perhaps it will be to long, perhaps i can load all that info and save it as a text file and then just read it from there, so only slow the first time)

not sure about turning it off, well not sure how this would be implemented. im a strong believer in good file structures, and if its a rip from a various artist cd, usually the id3 tags calls the artist various artist. so it *should* be alright.

everytime you goto playlist view, it grabs the playlist from gbpvr, so if its gone, it seems like it got wiped some how.

selecting a track in a playlist is perfect yet, i have to wait for sub to add a few methods to gbpvr first. so that bug i wont look into until these methods are there.

i dont think i can highlight the current playlist item until the methods are added aswell.

im going to make a panel for this aswell, so info like cdripping, playing blah blah blah can be displayed on the main menu. ill also add (well try, look into it anyway) a display to show which song is playing in "my music"

and ill fiddle around with the playlist bug.

keep up the comments, there're very useful. you think of stuff i wouldnt have, well i might have eventually.

oh and the id3 tag info, do you have (wait course you would can you just double check) the UltraID3Lib.dll in your gbpvr directory. ive ripped a few cds on two machines and the id3 tags are there. they are added before the files are renamed/moved (they start in a folder named the number of milliseconds after 1973 or something eg C:\cds\127473578644062500\ and all the files are called track01.mp3 track02.mp3 then id3 tags are done, then moved). so i have no idea why this isnt working, can you try a few cds, maybe its just a certain one, but ill look into it.
nkh
Offline

Senior Member

Posts: 418
Threads: 14
Joined: Jan 2004
#16
2004-12-16, 01:12 AM
I just tried ripping another cd, and this time it got the id3 tags so it was probably a one off problem the first time [Image: smile.gif]

The red button still doesn't work for me, I'm using the direct access if that makes any diffirence?

The jukebox plugin knows which song it's playing (even if you go out in the gbpvr menus and do something else), so maybe you can take the highlight current track from that?

Other than that (and the playlist issues [Image: smile.gif] ) it looks great!
Nicolai [SIZE="1"]- http://www.nk-h.dk
Current htpc - Asus N4L-VM DH, Core Duo 2GHz, 2GB RAM, Hauppauge PVR-500 mce, Twinhan DVB-C CI, TerraTec Cinergy 1200 DVB-C, nVidia 8800 GTS (using S-video tv-out), decoding dvb-c with ACamd 0.5.0.9, Yanksee and a Viaccess card from YouSee.[/SIZE]
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#17
2004-12-16, 10:30 AM
someone posted about the red button not working and they changed their batteries in the remote and that fixed the problem. try that. the red button (if you havent changed the irremote.ini file) should be sending ctrl-r to gbpvr. so its just the same as hitting ctrl-r on the keyboard. try using "my pictures" and see if the red button sorts the files. also try to see if there are any other places you could test your red button. its working perfect for me, so i cant fix a bug i cant see.

i havent gotten around to uploading the new version, since i went to the movies. i saw "saw" it was alright. and all day i was trying to get my 150 working with my 350 (nothing but headaches, at least one of them is going now. ill try and upload a newer version tonight, but err i dont know. i want to add a few more things to it before i upload it, get the details view going (ill just hardcode it and put the stuff in the skin once i got it right, also i want to use more composite images in the skin).
nkh
Offline

Senior Member

Posts: 418
Threads: 14
Joined: Jan 2004
#18
2004-12-16, 05:02 PM
I'm not using the Hauppauge IR software, I use the 'Direct access to Hauppauge remote' in GBpvr. But I just tried the Hauppauge IR software, and it works. So maybe it's a problem in GBpvr?

Hehe, you don't have to hurry, I have an exam tomorrow and a christmas lunch the day after, so I don't think I'll be able to test a new version before monday anyway [Image: smile.gif]
Nicolai [SIZE="1"]- http://www.nk-h.dk
Current htpc - Asus N4L-VM DH, Core Duo 2GHz, 2GB RAM, Hauppauge PVR-500 mce, Twinhan DVB-C CI, TerraTec Cinergy 1200 DVB-C, nVidia 8800 GTS (using S-video tv-out), decoding dvb-c with ACamd 0.5.0.9, Yanksee and a Viaccess card from YouSee.[/SIZE]
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#19
2004-12-16, 11:05 PM
i just like releasing updates daily, well when i make them. i had to stop using direct access, it doesnt seem to work with the new remote and sensor (new sensor can work with both remotes). so old and new remote with direct access and new sensor = nothing happens. and there is some speed increases when not using direct access. just focus is a pain.

nkh are you a programmer? cause you could edit a simple plugin and edit the onkeypress and make it spit out a messagebox showing you the key code, when you press a button. to figure out what the red button is when using direct access. i cant test this anymore since it no longer works.

today ive decided to try and finish my updates to the weather plugin, get that out of the way.
nkh
Offline

Senior Member

Posts: 418
Threads: 14
Joined: Jan 2004
#20
2004-12-17, 01:53 AM
Ah, okay, that explains it!

I'm not much of a programmer, I have read the first chapters in C# for dummies but the last time I made a program was on a C64 in basic [Image: tounge.gif] I have been looking at some of the source codes for the plugins in SharpDevelop though, so I might give it a go next week if I have time.
Nicolai [SIZE="1"]- http://www.nk-h.dk
Current htpc - Asus N4L-VM DH, Core Duo 2GHz, 2GB RAM, Hauppauge PVR-500 mce, Twinhan DVB-C CI, TerraTec Cinergy 1200 DVB-C, nVidia 8800 GTS (using S-video tv-out), decoding dvb-c with ACamd 0.5.0.9, Yanksee and a Viaccess card from YouSee.[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (8): « Previous 1 2 3 4 5 … 8 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Accessing music file metadata in C# bgowland 6 3,445 2013-01-26, 05:14 AM
Last Post: bgowland
  visible="!@hasImage & folder.jpg in Music not working Jaggy 0 1,268 2012-02-10, 10:29 PM
Last Post: Jaggy
  Building a list of files in media folders (npvr Music and Videos) bgowland 2 1,954 2012-02-05, 10:29 AM
Last Post: bgowland
  What music player is used? cncb 1 1,614 2011-08-01, 08:02 PM
Last Post: sub
  Detecting when Music Playlist is stopped (Ctrl-S) ACTCMS 6 2,987 2011-06-19, 07:52 PM
Last Post: sub
  How can I reset the Music plugin's database? mkenyon2 1 1,959 2009-10-15, 06:43 PM
Last Post: psycik
  Common Music/Video Inset? reven 9 4,532 2008-12-09, 03:16 AM
Last Post: JavaWiz
  Music API? brturn 24 8,063 2008-04-11, 11:42 PM
Last Post: ACTCMS
  Who turned on the music? ACTCMS 5 2,751 2008-03-25, 02:17 AM
Last Post: ACTCMS
  Music Albums 2 - Feature request to the author smelcher 8 2,669 2006-12-16, 05:42 PM
Last Post: mcfrojd

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

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

Linear Mode
Threaded Mode