MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » General Development (no feature request here!)


General Development (no feature request here!) You were able to fix an issue, or improved a feature? Post it here.

Reply
 
Thread Tools Display Modes
Old 2006-10-13, 13:11   #1 (permalink)
Portal Member
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts


Default Check out Source Control

I have two questions, any help or guidance will be appreciated.

Question 1:
--------------
When I try to check out the MediaPortal software from the sourceforge serv4er (using WinCVS) I get the following error:

cvs [checkout aborted]: connect to cvs.sourceforge.net:2401 failed: No connection could be made because the target machine actively refused it.

I got the connection details from the user manual. Is the detail in the manually correct and does it work?

The manual said the CVSRoot is: <:pserver;username=anonymous;hostname=cvs.sourcefo rge.net:/cvsroot/mediaportal>

Question 2:
--------------

I want to make a plugin that monitor when a recording was stopped (by the scheduler or manually) and them do some work on the recording.

Where can I find some sample code plugin to do this? I have downloaded a number of plugins but all of them are GUI Plugins.

Should my plugin be a Process plugin? How will I go about to get the events once a recording was stopped?


Kind Regards
Herman
herman is offline   Reply With Quote
Old 2006-10-13, 13:25   #2 (permalink)
Portal Member
 
Join Date: Aug 2005
Location: Melbourne, Australia
Age: 22
Posts: 707
Thanks: 0
Thanked 0 Times in 0 Posts

My System

Default

I believe MediaPortal now uses SVN, not CVS. The information you have is probably out of date.

You can get some information on the SVN repository here: http://sourceforge.net/svn/?group_id=107397
jawbroken is offline   Reply With Quote
Old 2006-10-13, 13:25   #3 (permalink)
Portal Developer
 
frodo's Avatar
 
Join Date: Apr 2004
Location: The Netherlands
Age: 36
Posts: 1,516
Thanks: 3
Thanked 119 Times in 44 Posts

Country:

My System

Default

CVS is no longer used, we switched to SVN some time ago.
Get TortoiseSVN (which is a free download)
and then get the sources from

http://svn.sourceforge.net/svnroot/m...nk/mediaportal
frodo is offline   Reply With Quote
Old 2006-10-13, 16:55   #4 (permalink)
Portal Member
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Thanks so much. I can download now.
herman is offline   Reply With Quote
Old 2006-10-14, 03:17   #5 (permalink)
Portal Member
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts


Default

And if your plugin will not have a user interface accessible via a 10-foot interface, then you should use a process plugin. Easiest way to develop one would be to edit an existing one.

As for knowing when a recording finishes - I suggest you add a handler to the GUIMessage event like this:
Code:
GUIWindowManager.Receivers += new SendMessageHandler(ProcessPlugin.OnMessage);
Do replace ProcessPlugin.OnMessage with the appropriate function to execute.

Look in the GUIMessage.cs file in the Core\guilib folder in VS2005 to work out which messages you want to catch.

Sam
samuel337 is offline   Reply With Quote
Old 2006-10-23, 14:27   #6 (permalink)
Portal Member
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I can download MediaPortal project files, but is such an effort.

Everytime, after downloading a number of files I get the following error:

"REPORT request failed on '/snvroot/mediaportal/!svn/vss/default'
REPORT of '/svnroot/mediaportal/!svn/vcc/default': Could not read response body: Secure connection truncated (https://svn.sourceforge.net)"

When I download again it continues where it left off the previous time. But after a while the same error appears. I am sure I had to start the download process more than a 100 times.

Is this normal? I am using TortoiseSVN 1.4.0 build 7501.

Any feedback will be appreciated.

Last edited by herman; 2006-10-25 at 15:41.
herman is offline   Reply With Quote
Old 2006-10-26, 01:12   #7 (permalink)
Portal User
 
Join Date: Sep 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I am getting the same error as well. Although it appears to have completed downloading.
mhermann is offline   Reply With Quote
Old 2006-11-10, 10:05   #8 (permalink)
Portal Member
 
Join Date: Nov 2006
Age: 41
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

I'm consistently getting the same error, ie:

Updated: C:\Work\MediaPortal\xbmc\bin\Release\skin\BlueTwo wide\mymusicplaylist.xml
Added: C:\Work\MediaPortal\xbmc\bin\Release\skin\BlueTwo wide\Sounds\click.wav
Error: REPORT request failed on '/svnroot/mediaportal/!svn/vcc/default'
Error: REPORT of '/svnroot/mediaportal/!svn/vcc/default': Could not read response body: Secure connection truncated (https://svn.sourceforge.net)

It's always on the same file, and won't proceed beyond there. Any ideas?

Kev
kev160967 is offline   Reply With Quote
Old 2006-11-10, 10:09   #9 (permalink)
Portal Member
 
Join Date: Nov 2006
Age: 41
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

And as soon as I posted the message it worked - go figure.

I'd tried about 20 odd times yesterday, and 4 or 5 times this morning with exactly the same error. Post one message here, and suddenly it works
kev160967 is offline   Reply With Quote
Old 2006-11-10, 12:19   #10 (permalink)
Retired Team Member
 
mPod's Avatar
 
Join Date: Jan 2005
Location: Berlin
Age: 33
Posts: 2,086
Thanks: 0
Thanked 3 Times in 3 Posts

Country:

My System

Default

It's magic!
__________________


Bad news from the stars...

We cannot give any support without a properly filled support template
and a full mediaportal.log pasted here.


Before you ask...
mPod is offline   Reply With Quote
Reply

Bookmarks

Tags
check, control, source

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with TVServer and client rick78 Get Support 8 2006-12-12 18:48
[BUG] Unable to scan TV chanels and radio Bram pre 1.0 RC1 0 2006-11-05 13:45
Music, Radio and Video will not play Amberman Codecs, External Players 1 2006-04-18 05:13
Radio/Music/Video help needed please. Amberman Installation, configuration support 0 2006-04-17 18:18
MP not picking up channels for Echostar 6,8 and 7 (Dishnet) scapeone The old Bugreport Forum 5 2006-03-24 19:41


All times are GMT +1. The time now is 23:29.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress