NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 68 69 70 71 72 … 93 Next »
MusicAlbum Plugin Source Code available

 
  • 0 Vote(s) - 0 Average
MusicAlbum Plugin Source Code available
paulg
Offline

Junior Member

Posts: 39
Threads: 6
Joined: Aug 2005
#11
2005-09-01, 11:54 PM
Shoot, a couple hours too late but thanks for the introduction I will use those classes later. Turns out that I used a XMLNodeList for the list of folders. The calls were very simple afgter I figured it out. It looks like the tools in GBPVRUtilities deal with single like config items.

So, what I would like to finish are the page up/dn with the channel button. I need to know what the key code is that gets passed to the plugin.

I would also like to have a way to remove an item (album or song) from the music queue. I think I will have to read back the music queue, display it, allow items to be removed and then requeue. The other option is to always create a playlist (M3U) and allow that list to be edited. When I resubmit it to the queue I would have to remove items that have already played. I can see this getting very complex quickly.

Other than these two items, I think it works simply and reliably but I need a few more eyes to confirm that.

Whats the best way to get a trial out for review?

Paulg
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#12
2005-09-02, 01:19 AM
I am not sure about the channel buttons can always send them to the log to find out.

As for the trial you can either get a wiki account email bladerse. Or send it to jared_dubin at yahoo.com and I will post it to wiki for you, until your account gets setup.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
tieke
Offline

Senior Member

Posts: 450
Threads: 72
Joined: Jul 2004
#13
2005-09-02, 06:31 AM
If you want another pair of eyes I could test it for you as well - and if you put the file on the wiki, it's probably simplest for now if you just upload the file and put a short link to it at the bottom of the existing MAP page. Send me a message if you need further info (you can just click on my name and choose "Send a private message" if you want to contact people individually - next time they log on to the site, they will get a pop-up alerting them to any private e-mails).

cheers,

tieke
ThomasM
Offline

Junior Member

Posts: 11
Threads: 1
Joined: Sep 2005
#14
2005-09-03, 09:21 PM
This is a Great Player! The navigation really sounds excellent.

Another suggestion is to allow album images to be stored in the playlist directory with the same name as playlist eg:
"Pink Floyd - The Wall.m3u" could use "Pink Floyd - The Wall.jpg" as album art.

I have a script that "walks" my mp3 directory structure and builds .m3u playlists for each album and puts the album.art (as found by Media Player..) into the same playlist directory using the same name as the playlist.
nightwalker
Offline

Senior Member

Posts: 733
Threads: 54
Joined: May 2005
#15
2005-09-04, 12:08 AM
It would also be nice if if supported ID3 Ver2 tags.
ThomasM
Offline

Junior Member

Posts: 11
Threads: 1
Joined: Sep 2005
#16
2005-09-05, 09:43 PM
I have downloaded the SDK,(from //www.sharpdevelop.net/OpenSource/SD/Download/) the MyAlbums source and got it all playing together. I have implemented the same navigation as suggested earlier in the thread. I would really like to have the left arrow select the highlighted menu entry throughout GB-PVR. I use my MCE remote arrow keys and would like to do everything using this simple interface. Arrows navigate and OK does. In Album list view it enqueues album, in Album details view it enqueues track etc.

Got my thumbnails working and am struggling with extended key usage on my MCE remote (I know I should have bought a different one...) I can't get the keycodes using:
System.Windows.Forms.MessageBox.Show("Guide received key" + e.KeyValue); in the OnKeyDown loop. It appears that the MCE doesn't send anything to the GBPVR software. Anybody have any ideas?

Second issue is how can I control the playlist so when viewing the playlist if I press up I can get CTRL-Left-Arrow and down would send the CTRL-Right-arrow (using:
if (queueShow == true)
{SendKeys.SendWait("^'"); //Next file
}


How can I get the Ctrl-Right Arrow into that SendKeys?

Thanks
Thomas
paulg
Offline

Junior Member

Posts: 39
Threads: 6
Joined: Aug 2005
#17
2005-09-14, 10:44 PM
Hi all,

Been busy getting my OFA 6131 updated to JP1 and replacing the Hauppauge remote. I have four remotes throughout the house that can now control a TV that is local to that remote and any other AV equipment, TIVO that is located at the central distrution panel for the house (all rooms can see what is playing on Tivo and can control it through wired IR) and now GBPVR. Its pretty cool (I am a humble guy Rolleyes . I purchased a 4 channel RF modulator off Ebay for $40. It allows me to put Tivo and My PC and Extra DVD and VCR on any channel I choose. Tivo is on 44, GBPVR is on 66. The OFA 6131 is now programmed to switch the TV to the right channel based on which device key is pressed. WAF is going UP!!!

Back to MusicAlbum Plugin

I am working on a couple of things:

Adding ID3v2.x support. This will not be hard if I can find a good code library to work with. I though MS would have something but it has been elusive. Any suggestions would help.

The "one who should be obeyed" would like to start playing background music without having to turn on the TV to see what is going on. What I would like to do is the following:

1) Program a button to get GBPVR to activate MusicAlbum plugin. Anyone know how to do this?
2) If a "Default" playlist exists anywhere in the directory listing, position to it so that the "select" button will add it to the queue and it will start playing. This means that two buttons {Music}+{Select} will start a default playlist.
3) If a number button is hit, use it like a car radio button and go to "Default{number}" playlist if it exists and play it. This means that three buttons {Music}+{Number}+{Select} will start any one of several default playlists.

Thats the plan. Any help/suggestions would be appreciated.

I will do a quick QA check and then solicit help to post the current version.

Paulg
ThomasM
Offline

Junior Member

Posts: 11
Threads: 1
Joined: Sep 2005
#18
2005-09-15, 09:17 PM
I wonder if the function keys on the keyboard could be mapped to different default apps ie replace the default music player (F4) with MusicAlbum. Then use the number keys to call these apps... Start GBPVR then press 2 to select 2nd top level menu entry (MusicAlbums) then you can do your thing within music albums to call default playlists (1.m3u, 2.m3u, etc) according to the number keypad press. For significant other this is easy; turn on PC wait till HD stops churning press 2 then 2. (I would press 2 then 1, my daughter 2 then 3 etc.)

Just a thought...I'm using my modified version of Music Albums most of the time now...Changed navigation as you proposed. Right arrow moves Albums List->Album List->Now playing. LH arrow moves back right up to top level menu. Enter/OK enqueues either album or track depending on context. I asked if the left arrow could select current option in the top level menu but this isn't on the cards right now. I would also like to access the CTRL-Right arrow action (next track) in my program, not sure how to do that.

Thomas
paulg
Offline

Junior Member

Posts: 39
Threads: 6
Joined: Aug 2005
#19
2005-09-16, 06:52 AM
Posted Music Albums II on the Wiki today. Try it and let me know what you think.


I would love to map the music key F4 to my plugin. don't know how yet.


Paulg
ThomasM
Offline

Junior Member

Posts: 11
Threads: 1
Joined: Sep 2005
#20
2005-09-17, 02:29 PM (This post was last modified: 2005-09-17, 02:34 PM by ThomasM.)
In the latest version of GPVR:

In devnz/gbpvr/config.xml
<DefaultPluginMusic>Music Library</DefaultPluginMusic>
Change to:
<DefaultPluginMusic>Music Albums</DefaultPluginMusic>

Can't map the F4 key to anything else as yet (remote keys) but this gets the required effect of the default music app. coming up on F4.

Also nice helper app (ShowKey.exe) in the KeyMappings directory that shows what key was pressed very useful for non-standard remotes.

Thanks sub!

Thomas
« 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
  PIP plugin for Kodi sgilani 2 2,768 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,315 2020-11-14, 08:01 PM
Last Post: sub
  Remote control example code? drmargarit 4 3,745 2018-04-21, 11:24 PM
Last Post: drmargarit
  Looking for C# UPnP Media Server code bgowland 5 7,572 2016-12-16, 08:25 PM
Last Post: mvallevand
  VIdeo playback from plugin mvallevand 5 3,431 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,870 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,748 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,048 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 1,938 2013-03-12, 06:48 AM
Last Post: psycik
  Open Source Mheg+ Graham 0 1,418 2012-11-30, 06:32 PM
Last Post: Graham

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

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

Linear Mode
Threaded Mode