home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
My first Plugin - Need some help, please
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Scrounger" data-source="post: 808194" data-attributes="member: 87610"><p>Hi,</p><p></p><p>i have started to develop my first MP Gui Plugin (vb.net). You can find the Source Code here:</p><p><a href="http://code.google.com/p/clickfinder-programguide/source/browse/Clickfinder%20ProgramGuide/Clickfinder%20ProgramGuide.vb" target="_blank">Clickfinder ProgramGuide Plugin for MediaPortal </a></p><p></p><p><u>Short plugin describtion:</u></p><p>The plugin is a ProgramGuide that shows you what broadcast on our televisions at Now, PrimeTime, LateTime and so on. The Data based /sorted on / by the RatingData of the TV Movie Clickfinder Database (my imported EPG Data and the reason why the Plugin is only in German). Idea for this plugin was the smartphone App "TV Spielfilm".</p><p></p><p>The last few days i've learned a lot by reading the MP Source Code. Now i started to replace my "manuell Database Access" with the TVDatabase Class.</p><p></p><p>My Problem is that i need the "idChannel" from the tvmoviemapping table by the key "stationName", but i don't find the right Syntax.</p><p></p><p>At the moment i use a manuell Connection with a sqlquery:</p><p>[code]ReadTvServerDB("Select * from tvmoviemapping Inner Join channel on tvmoviemapping.idChannel = channel.idChannel where stationName = '" & _MappingName & "'") [/code]</p><p></p><p>But that must also work with the TVMovieMapping Class, something like that:</p><p>[code]</p><p>in vb.net:</p><p></p><p>tvDatabase.tvMovieMapping.RetrieveList(???????)</p><p></p><p>for i = 0 to tvDatabase.tvMovieMapping.count -1</p><p>idchannel = tvDatabase.tvMovieMapping.idChannel</p><p>next</p><p></p><p></p><p>in c#:</p><p></p><p>tvDatabase.tvMovieMapping.RetrieveList(????);</p><p></p><p>for (i = 0; i <= tvDatabase.tvMovieMapping.count - 1; i++) {</p><p> idchannel = tvDatabase.tvMovieMapping.idChannel;</p><p>}</p><p></p><p>[/code]</p><p></p><p>Can you give me code snippets in c# or vb.net, please.</p><p></p><p>Hope you understand my problem, i know my english is not that well <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p></blockquote><p></p>
[QUOTE="Scrounger, post: 808194, member: 87610"] Hi, i have started to develop my first MP Gui Plugin (vb.net). You can find the Source Code here: [URL="http://code.google.com/p/clickfinder-programguide/source/browse/Clickfinder%20ProgramGuide/Clickfinder%20ProgramGuide.vb"]Clickfinder ProgramGuide Plugin for MediaPortal [/URL] [U]Short plugin describtion:[/U] The plugin is a ProgramGuide that shows you what broadcast on our televisions at Now, PrimeTime, LateTime and so on. The Data based /sorted on / by the RatingData of the TV Movie Clickfinder Database (my imported EPG Data and the reason why the Plugin is only in German). Idea for this plugin was the smartphone App "TV Spielfilm". The last few days i've learned a lot by reading the MP Source Code. Now i started to replace my "manuell Database Access" with the TVDatabase Class. My Problem is that i need the "idChannel" from the tvmoviemapping table by the key "stationName", but i don't find the right Syntax. At the moment i use a manuell Connection with a sqlquery: [code]ReadTvServerDB("Select * from tvmoviemapping Inner Join channel on tvmoviemapping.idChannel = channel.idChannel where stationName = '" & _MappingName & "'") [/code] But that must also work with the TVMovieMapping Class, something like that: [code] in vb.net: tvDatabase.tvMovieMapping.RetrieveList(???????) for i = 0 to tvDatabase.tvMovieMapping.count -1 idchannel = tvDatabase.tvMovieMapping.idChannel next in c#: tvDatabase.tvMovieMapping.RetrieveList(????); for (i = 0; i <= tvDatabase.tvMovieMapping.count - 1; i++) { idchannel = tvDatabase.tvMovieMapping.idChannel; } [/code] Can you give me code snippets in c# or vb.net, please. Hope you understand my problem, i know my english is not that well ;) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
My first Plugin - Need some help, please
Contact us
RSS
Top
Bottom