NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 86 87 88 89 90 … 93 Next »
My Albums

 
  • 0 Vote(s) - 0 Average
My Albums
Tobias
Offline

Junior Member

Posts: 37
Threads: 5
Joined: Sep 2004
#11
2004-10-02, 10:26 PM
joecru: Very true [Image: laugh.gif]

Speaking of that (time to play with GBPVR/Plugins), think I promised a bit too much when I promised a test-ready version in the end of this week. No time for coding today, and only a few hours tomorrow...

Well well.
Tobias
Offline

Junior Member

Posts: 37
Threads: 5
Joined: Sep 2004
#12
2004-10-06, 09:35 PM
OK, time for a small update again...

Havent had hardly any time for coding, my real job takes too much of my time for now... But managed to implement my idea of help pictures for the coloured buttons. Decided to do them as JPEGConfused which turned out to work just fine.

Now I only got language handling and some small things left. I will try to make a test version for all of you that were willing to betatest it available as soon as possible...
Tobias
Offline

Junior Member

Posts: 37
Threads: 5
Joined: Sep 2004
#13
2004-10-10, 11:05 PM
Voila!

My Albums changed name to Music Albums (in the last moment...) and is now out for beta testing... Some screenshots for those of you who are interested:

[Image: maimg1.th.jpg]

[Image: maimg2.th.jpg]

[Image: maimg3.th.jpg]

I expect to release it to public in about a week or so.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#14
2004-10-10, 11:28 PM
That looks pretty cool. I'm looking forward to it.
joecru
Offline

Member

Posts: 135
Threads: 26
Joined: Aug 2004
#15
2004-10-11, 08:10 PM
Hi Tobias,

Installed your Plugin, Music Albums no problems. Had a qiuck play. Just what I was looking for. Quick Selection and playing all from the one plugin ,well done. I need a bit more time for testing ,but so far so good.

Regards
Joe
Regards

[COLOR="black"][COLOR="Blue"]4 X MVPs
Win Vista
Hauppauge PVR 350
Dell Inspirion - 531[/COLOR][/COLOR]
Tobias
Offline

Junior Member

Posts: 37
Threads: 5
Joined: Sep 2004
#16
2004-10-12, 06:42 AM
Thank you joecru (and all other testers) for your kind words, no serious bugs have been found yet so the release date is still the end of this week (if nothing serious happens)...

I have one question though (thank tkgafs for pointing it out to me):

I this plugin, files are added to the internal GB-PVR playlist (addAudioFileToQueue) by pressing the blue button(or space on keyboard) and if you press Play (or enter) a selected song starts playing instantly (playAudioFile). A problem we do have with Music Albums Plugin is that if you create and currently play a playlist and then go back to file selection and choose to press Play on a specific file, the file starts playing instantly. This is just what we want to do, but it kind of messes up the internal playlist a bit.

If you query the internal playlist to get the active music file after the scenario above, it returns the song that was played before we interrupted the playlist... And that is not really good looking since the "Now Playing" section of the plugin is showing iaccurate data in this particular scenario.

If I have understood the whole thing correct, there is no way of telling wether the internal playlist is running or idle. I also haven´t found a way to stop or clear the internal playlist (if there was, I could stop, clear and repopulate the playlist with the song we started playing first which was one of my early ideas)

Anyone got any suggestions? Its not a crucial thing for the plugin, but it would definatly make it a bit easier to understand and neater :-)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#17
2004-10-12, 07:02 AM
If you plau a file using playAudioFile() it should clear the internal playlist, so you could probably re-add the playlist files after this. Hopefully this helps.
tkgafs
Offline

Senior Member

Posts: 594
Threads: 61
Joined: Jun 2004
#18
2004-10-12, 07:10 AM
Tobias,

When you play a track instantly it plays and then when song is finished it goes back to the playlist which is untouched.

could the following be acheived

user chooses song to play instantly

you set flag noting this

you call GBPVR.MP3FileInfo which I think returns info about the track

your now playing code sees flag set above
and due to flag uses info retrieved from GBPVR.MP3FileInfo to populate display , supressing bit about track 2 of 27 or whatever.

You would probably have to keep some internal array storing song details and where it happend in queue in case user used back buttons later to try and return to song

when song ends flag is cleared and playing returns to queue
if user chooses another instant song before end of current one then simply forget details of current one as they obviously didnt like it anyway

does that sound possible


tkgafs
Tobias
Offline

Junior Member

Posts: 37
Threads: 5
Joined: Sep 2004
#19
2004-10-12, 09:26 AM
Good suggestion tkgafs, Ill see if this is possible...
Tobias
Offline

Junior Member

Posts: 37
Threads: 5
Joined: Sep 2004
#20
2004-10-13, 12:40 AM
Yes, yes, yes...!!

Finally I found a solution for this problem, but I must test it on my MediaMVP tomorrow before I can make really sure this works... What I did is that I managed to stop the internal playlist by using the magic:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">SendKeys.SendWait("^{S}");[/QUOTE]

This simulates Ctrl-S for the plugin, and stopped the currently playing playlist (if it was playing). Then I started by add the song that we pressed Play on first, and then just readded the rest of the songs that were previously in it... So finally I managed to create a new internal playlist and repopulate it! I also decided that if any songs in the old playlist had been played before we pressed play, they were deleted in the new list. Say we did have a playlist with 4 songs in it:

Song 1
Song 2
Song 3
Song 4

and while we were playing Song 2, we pressed play on a new song. The new list is created as follows:

New Song
Song 3
Song 4

meaning that we skip the first two songs (seems to be no use to keep them in the list...)

It´s been a loooong evening but it was worth it...
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Music Albums 2 - Feature request to the author smelcher 8 2,677 2006-12-16, 05:42 PM
Last Post: mcfrojd
  Music Albums 1.0a Tobias 54 15,522 2005-01-17, 04:15 PM
Last Post: smelcher

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

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

Linear Mode
Threaded Mode