MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server » General Talk


General Talk Talk about the MediaPortal TV-Server

Reply
 
Thread Tools Display Modes
Old 2007-07-07, 17:54   #1 (permalink)
Portal Member
 
Join Date: Feb 2007
Posts: 27
Thanks: 3
Thanked 0 Times in 0 Posts

Country:


Default How to debug TV plugin - server.

Hi guys,

I wonder if there is a guide that expalins how to debug the TV plugin, and eventually also the tv server.

The only instructions that I found are here http://wiki.team-mediaportal.com/MediaPortalDevelopment

This link is very usefull and explains how to debug MP, but there is nothing on the TV server/plugin.




PS: I'll be more than happy to help the project writing a wiki page, once somebody expalined me how to do, if necessary.

Last edited by fab70; 2007-07-07 at 17:57.
fab70 is offline   Reply With Quote
Old 2007-07-07, 22:53   #2 (permalink)
MP Donator
 
petsa's Avatar
 
Join Date: Jan 2007
Location: Stockholm
Posts: 531
Thanks: 5
Thanked 10 Times in 10 Posts

Country:

My System

Default

Hi,

Try the wiki on http://wiki.team-mediaportal.com/TV-Engine_0.3/

You can stream to VLC to make sure your server works OK.

/Peter
petsa is offline   Reply With Quote
Old 2007-07-08, 08:54   #3 (permalink)
Portal Member
 
Join Date: Feb 2007
Posts: 27
Thanks: 3
Thanked 0 Times in 0 Posts

Country:


Default

Ciao petsa,

in that wiki there are no instructions on how to debug the TV server. I'm I wrong?
fab70 is offline   Reply With Quote
Old 2007-07-08, 09:02   #4 (permalink)
MP Donator
 
petsa's Avatar
 
Join Date: Jan 2007
Location: Stockholm
Posts: 531
Thanks: 5
Thanked 10 Times in 10 Posts

Country:

My System

Default

Hi fab70,

I was referring to Chapter 6: Troubleshooting. I used this to test the streaming of data to VLC before I started working on the MP TV Client plugin.

Are there any particular problems you are trying to debug?

/Peter
petsa is offline   Reply With Quote
Old 2007-07-08, 09:54   #5 (permalink)
Portal Member
 
Join Date: Feb 2007
Posts: 27
Thanks: 3
Thanked 0 Times in 0 Posts

Country:


Default

Hi petsa,

No, there is no a particular problem.. I just started to use Visual Studio 2005, and I'm able to debug MP using tortoiseSVN to download the source.

But I'm not able to debug MP + TV engine 3 because there are two separate repository and I don't know how to merge the projects togheter - http://wiki.team-mediaportal.com/Med...MediaPortalSVN

Regarding the TV server, I'm not able to debug it at all, because Visual Studio 2005 tells me it's not possible to debug a service (or something similar) and I didn't find debug instructions.

Thanks for your help.
fab70 is offline   Reply With Quote
Old 2007-07-11, 14:52   #6 (permalink)
Portal Developer
 
Join Date: Jul 2006
Age: 32
Posts: 431
Thanks: 4
Thanked 4 Times in 4 Posts

Country:

My System

Default

Build TVServer with the debug configuration. Install it and when it's running, choose Debug->Attach to process. Select the TVService.exe process. You will need to be on the same machine afaik.
joboehl is offline   Reply With Quote
Old 2008-06-06, 17:03   #7 (permalink)
Portal Tester
 
Join Date: Apr 2008
Posts: 149
Thanks: 3
Thanked 8 Times in 8 Posts

Country:


Default

Hi,

I'm wondering how I can debug the TVPlugin, not the TVServer service

//johnzered
johnzered is offline   Reply With Quote
Old 2008-06-09, 17:53   #8 (permalink)
Portal Tester
 
Join Date: Apr 2008
Posts: 149
Thanks: 3
Thanked 8 Times in 8 Posts

Country:


Default

Hello again,

I found the answer to my question myself. If anyone else have problem with this here's how to do it:

- Build TVPlugin solution in debug mode
- Copy the TVPlugin.dll and pcb file to plugins/windows of your MediaPortal install dir.
- Right click on the TVPlugin project in Solution Explorer.
- Click "Properties"
- Click "Debug"
- Click "Start External Program" and then browse to where you installed MediaPortal and select MediaPortal.exe
- Save settings

Now when you hit F5 (Start Debugging), Visual Studio will start the application and the dll code will breakpoint.

//johnzered
johnzered is offline   Reply With Quote
Reply

Bookmarks

Tags
debug, plugin, server

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
TV Server Client Plugin R3V Get Support 16 2006-11-09 05:19
New TV Server Plugin: TV Movie Clickfinder EPG Import mPod General Talk 2 2006-10-25 22:02
TV Server Plugin telpee pre 1.0 RC1 4 2006-10-25 14:11
How to debug a plugin.... egonspengleruk Plugins 6 2005-08-01 09:18
More Debug Info on TV Guide import hwahrmann Improvement Suggestions 0 2004-12-18 11:39


All times are GMT +1. The time now is 10:09.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden