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
#1
2004-09-21, 11:19 PM
Thought i´d start a new thread to let interested people know what is going on with my upcoming Album Player plugin.

I started out with the Jukebox plugin as a starting project, but this turned out to be a bit over the edge for me. I ended up with lots of weird rendering problems, which for instance made the plugin totally useless in MediaMVP... This led me to start all over with a blank project to get cleaner code and to get full control of what is happening everywhere in the plugin.

After two nights of coding (and "stealing" usefull stuff from the two Open Source Jukebox and Comics plugins), I have finally gotten the plugin to do the basic thing I want - to search and play songs in albums and list information I need. Some of the remaining parts for the first version of the plugin is:

- Queueing. Need to be able to queue both full albums and certain songs with a single click from remote.
- When handling the queue list, we need to switch screens (a bit like the jukebox plugin does) when something happens in the list.
- Able to use the language.xml
- Add at least some skin properties. Users should be able to set colors and fonts etc.

I am not going to list all features here and now, but you will know by the time its done [Image: wink.gif] I may also post some screen shots when the queueing is done.
tkgafs
Offline

Senior Member

Posts: 594
Threads: 61
Joined: Jun 2004
#2
2004-09-21, 11:26 PM
Tobias,

Sounds good

Will it randomly play like jukebox ?

if you need a tester let me know

tkgafs
johnburton
Offline

Member

Posts: 56
Threads: 7
Joined: Aug 2004
#3
2004-09-22, 02:46 AM
I would be happy to test for you as well.
Does you concept of queues mean that you could have different Playlists for different purposes that could be selected.
John
joecru
Offline

Member

Posts: 135
Threads: 26
Joined: Aug 2004
#4
2004-09-22, 07:52 AM
Hi Tobias,

I would be interested in trying that.

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
#5
2004-09-22, 08:02 AM
[b Wrote:Quote[/b] ]Will it randomly play like jukebox ?

My intention is that it should be possible to shuffle the queuelist after you got some songs in it, but the plugin does not automatically start playing randomly like the Jukebox are able to do.

[b Wrote:Quote[/b] ]Does you concept of queues mean that you could have different Playlists for different purposes that could be selected.

This is a interesting question. When I sat down and listed the features I wanted, the ability to select, list and play playlists (like .M3U) was one of them. It should not be too hard to add support for M3U, so I will look in to it but wont make any promises for the first version.

Maybe I should explain my plugin concept a bit further, since I am now at work and its more boring than usual today  [Image: smile.gif]

First, you configure a "albums path" in the GBPVR plugin configuration. I wanted this feature since I still like to use the orginal music player for my "unlisted" MP3Confused, and that the plugin only should handle pure albums with ID3-tags all in place... After starting the plugin, you get a list of the existing directories in the path mentioned above. These directories are handled like Albums in the plugin.

When you select a directory, the plugin generates album information and song names from ID3v1 tags (if available) and present this together with a image of the album (fetched from folder.jpg) in a separate window. Then you can play specific songs from the album, or add a specific song to the Music Queue (which works like a playlist). You should also be able to add/play the whole album to the MQ by simply pressing a button on the remote in the album list.

The MQ is thought to be handled by the coloured buttons on the remote (or certain keystrokes on the keyboard for wireless keyboard users):

Blue button: Adds the current selection to MQ. Meaning if a song is selected, only the song is added. If a album is selected, all the songs in the album is added.

Green button: Switch between MQ and the info for the currently selected album.

Red button: Delete all songs in MQ.

Yellow button: Shuffle/Order all songs in MQ.

I also like to say thank you for reporting as willing testers... I will get back you further on.
Tobias
Offline

Junior Member

Posts: 37
Threads: 5
Joined: Sep 2004
#6
2004-09-27, 09:37 PM
OK, some updates here now... have been out of town for a few days, but I plan to have a test-ready plugin for interested testers in the end of this week.

This is what have happened so far:

1. Had some problem with the NeedsRendering() function that is now resolved. Dont ask me how, did a major cleanup on my computer, installed XP SP2, .NET Framework 1.1 and reinstalled GB-PVR and all of a sudden the MediaMVP worked like it should. Weird. Im programmer, not a system engineer goddammit :-)

2. The Music Queue now works like I want it to. If you press the blue button on a selected album, it adds the whole album to the playlist. If you press the same button on a selected songs, it only adds the specific song. Green button switches between the Music Queue view and the album listing. Now going to add a feature where the red button deletes the last song song added to Music Queue.

3. Had some problems with the ID3lib class (same one as used in the Jukebox plugin). The ASCII-encoding in the library removed all of the swedish characters from the song names - not very nice. Maybe some other peoples from countries with weird characters have had problem with this in the jukebox? Anyway, going to add a config key that switches between the original line:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Encoding instEncoding = new ASCIIEncoding();[/QUOTE]

...and my workaround:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Encoding instEncoding = Encoding.Default;[/QUOTE]

...in the ID3lib class. What it does is generally using the systems current codepage to encode instead of pure ASCII.

4. Going to look into M3U-support later on this week. If anyone knows of a open source C# class that can be used to list the files in a M3U-file feel free to post in this thread. My plan is to list M3U-files found in the configured directory the same way as you list songs from a normal directory... might seem a bit weird but you´ll get it when you see it :-)

5. Language support. Right now every text is hard coded... *sigh* Needs to fix this also.

6. Skin support added. You can change colors and fonts used in the plugin, but I have decided not to let the users resize the windows in the plugin. Too much boring code to make it work, sorry.

Hmm that was it for now. If you have any questions about the plugins features and the programming, please use this thread and not PM/e-mail since other developers may be helped by what comes out in the thread...

And sub - a donation is now on its way. Thanks for all your help so far.
Tobias
Offline

Junior Member

Posts: 37
Threads: 5
Joined: Sep 2004
#7
2004-09-30, 08:33 AM
A tiny update of this thread...

- Fixed the switch between ASCII and Default encoding when reading textfiles. Actually got the same problem (missing swedish chars) when reading M3U files, but now you can easily select the encoding you prefer in the configuration...

- M3U playlists now works. You have the option to list only M3U files, only directories or both at the same time in the Album view (through settings in configuration). Disclaimer: If a M3U contains file links containing streaming (such as http://...) the file links will not show up in Album view. We can only handle physical files from your harddrive(s).

- Now using the yellow and red button to do PageDn/PageUp in Album view - just like the updated Jukebox plugin.

- A few minor things to fix left before I will release it for testing. I also want to add sort of a helparea to show what function the coloured buttons has in the current view in order to make the plugin more WC (Wife Compliant)...
tkgafs
Offline

Senior Member

Posts: 594
Threads: 61
Joined: Jun 2004
#8
2004-09-30, 04:25 PM
[b Wrote:Quote[/b] (Tobias @ Sep. 30 2004,09:33)]- A few minor things to fix left before I will release it for testing. I also want to add sort of a helparea to show what function the coloured buttons has in the current view in order to make the plugin more WC (Wife Compliant)...
Hi Tobias,

now would that be &quot;Wife Compliant&quot; or &quot;Wife Complaint&quot;

[Image: biggrin.gif]

tkgafs
Tobias
Offline

Junior Member

Posts: 37
Threads: 5
Joined: Sep 2004
#9
2004-10-01, 09:54 AM
tgkafs: You seem to have the same experience of wifes v/s electronics like I do ;-)

I am actually going to user her as a interface tester before release. If she gets it everyone does :-)

(Now dont get me wrong, love my wife - but electronics is not really her strength..)
joecru
Offline

Member

Posts: 135
Threads: 26
Joined: Aug 2004
#10
2004-10-01, 10:39 AM
Hi Guys,

But what would you do without them?

Ans - (Have a lot more time to play with GBPVR and Plugins)
Regards

[COLOR="black"][COLOR="Blue"]4 X MVPs
Win Vista
Hauppauge PVR 350
Dell Inspirion - 531[/COLOR][/COLOR]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Music Albums 2 - Feature request to the author smelcher 8 2,618 2006-12-16, 05:42 PM
Last Post: mcfrojd
  Music Albums 1.0a Tobias 54 15,254 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