| |||||||
| Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: Apr 2008
Posts: 26
Thanks: 2
Thanked 1 Time in 1 Post
Country: | hi all, can someone please give me code to play a playlist or music file in media portal. I have an idea for a plugin that plays music on voice commands. The voice part is good. now once my plugin recognizes that the user say "play music.mp3" how can i play the file or playlist "music.mp3" thanks. |
| | |
| |
| | #2 (permalink) |
| MP Donator ![]() Join Date: Feb 2007 Location: Torshavn
Posts: 61
Thanks: 6
Thanked 0 Times in 0 Posts
Country: | Hi hbe02 and welcome, I think there already is a plug in that does this, take a look: myVoice You could always help with development if you got skills in that department ![]()
__________________ ######### #UggaBugga# ######### |
| | |
| | #3 (permalink) |
| Portal Member Join Date: Apr 2008
Posts: 26
Thanks: 2
Thanked 1 Time in 1 Post
Country: | thanks for the feedback uggabugga.. unfortuntely the link to the myVoice plugin seems to have died. In regards to my plugin, i am trying to combine the myVoice with the X10 plugin into 1 where u can say something like. "Set mood to romantic" and my plugin will send the appropriate x10 signals to dim the lights and play some nice music and so on... question is, how can i play music? |
| | |
| | #4 (permalink) |
| MP Donator ![]() Join Date: Feb 2007 Location: Torshavn
Posts: 61
Thanks: 6
Thanked 0 Times in 0 Posts
Country: | Ok, sorry I can't help you in that department. But you might consider posting this question under this sub-forum: General Development or try to PM booyakasha. Good luck anyways ![]()
__________________ ######### #UggaBugga# ######### |
| | |
| | #5 (permalink) |
| Portal Member Join Date: Aug 2006 Location: Kentucky Age: 23
Posts: 645
Thanks: 112
Thanked 75 Times in 38 Posts
Country: | You can use g_player like this: MediaPortal.Player.g_Player.Play(whatever.mp3, MediaPortal.Player.g_Player.MediaType.Music) That should work for you. I'm not really sure if there's a better way, but that's what I use for the Music Trivia plugin and it seems to work fine. |
| | |
![]() |
| Bookmarks |
| Tags |
| play |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| please play second file if movie has two files. | Al_Capone | Improvement Suggestions | 17 | 2008-04-26 16:25 |
| MKV file won't play in MediaPortal | wlgspotter | Codecs, External Players | 0 | 2007-10-20 08:57 |
| How to play a growing file | rklootwijk | Plugins | 0 | 2007-08-28 21:49 |
| Can't play any video file | kike_1974 | General Support | 7 | 2007-01-20 20:06 |
| Unable to play a video file | Acteo | The old Bugreport Forum | 1 | 2006-07-06 22:33 |