MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
Thread Tools Display Modes
Old 2008-02-14, 13:26   #1 (permalink)
Portal Member
 
snakeman65's Avatar
 
Join Date: Jan 2007
Location: Aylesbury
Age: 25
Posts: 49
Thanks: 1
Thanked 5 Times in 5 Posts

Country:

My System

Default Recordings Importer (tve3)

This tool will import a directory of dvr-ms or ts/xml files to your mediaportal database so that you can view them in the recordings section of MyTV.

It shouldn't break your system but don't blame me if it does! BACKUP your database first.

Due to data not being available the tool uses default content for a few of the fields (namely keepuntil is 0, keepuntil date is 01/01/2000 12:00:00, timeswatched is 0 and stoptime is 0). The Channel Number is not stored in the xml file but the name is included so this tool will attempt to lookup the channel number, if it can't, it will use the first channel number in the db. It uses the ID of the first server that is set to master.

DVR-MS Note: I have only tested this on dvr-ms recordings from windows media center however, as dvr-ms is a standard, the meta-data *should* be the same for other programs but I don't yet know.

Please let me know of any bugs you encounter or any feedback you have.

Chris

The tool will install from the internet and copy the dlls to the right places. It can all be removed again from add/remove programs. It will also automagically update whenever there is a new version available.

Get the tool from here: 'Recordings Importer'

Last edited by snakeman65; 2008-02-20 at 14:05.
snakeman65 is offline   Reply With Quote
This User Say Thank You:
Old 2008-02-14, 14:01   #2 (permalink)
Super Moderator
 
Paranoid Delusion's Avatar
 
Join Date: Jun 2005
Location: Cheshire UK
Posts: 6,619
Thanks: 129
Thanked 233 Times in 207 Posts

Country:

My System

Default

Hi Chris

Getting this error showing when trying to import, any ideas.

recordings-importer-tve3-sshot-5.jpg

Connects fine to mssql
Paranoid Delusion is offline   Reply With Quote
Old 2008-02-14, 14:19   #3 (permalink)
Portal Member
 
snakeman65's Avatar
 
Join Date: Jan 2007
Location: Aylesbury
Age: 25
Posts: 49
Thanks: 1
Thanked 5 Times in 5 Posts

Country:

My System

Default

I was so close! SQL syntax error! I've updated the first post with a fixed version. Let me know if you get on any better.

Last edited by snakeman65; 2008-02-14 at 14:22.
snakeman65 is offline   Reply With Quote
Old 2008-02-14, 18:03   #4 (permalink)
Portal Developer
 
gibman's Avatar
 
Join Date: Oct 2006
Location: Aarhus
Posts: 733
Thanks: 4
Thanked 68 Times in 51 Posts

Country:

My System

Default

not working here either.

Getting another error though.

Dont u just luve localized error messages in dot net ?

Let me know if u want some of the danish phrases translated into human readable stuff ?

/gibman
Attached Thumbnails
recordings-importer-tve3-error.jpg  
__________________
"It's all a big foodchain.
We eat shit and shit eats us."
gibman is offline   Reply With Quote
Old 2008-02-14, 19:27   #5 (permalink)
Portal Member
 
snakeman65's Avatar
 
Join Date: Jan 2007
Location: Aylesbury
Age: 25
Posts: 49
Thanks: 1
Thanked 5 Times in 5 Posts

Country:

My System

Default

Ahh, its missing the directxaudiovideo dll that I use to get the duration from ts files. I (incorrectly it seems) assumed that this came with directx as standard, I wonder if I can package it up with my tool, I hope so! I'll look into it

Gibman, can you tell me what version of directx you have installed on the machine you are trying to run this on?

Thanks

Last edited by snakeman65; 2008-02-14 at 19:52. Reason: Automerged Doublepost
snakeman65 is offline   Reply With Quote
Old 2008-02-15, 10:02   #6 (permalink)
Portal Developer
 
gibman's Avatar
 
Join Date: Oct 2006
Location: Aarhus
Posts: 733
Thanks: 4
Thanked 68 Times in 51 Posts

Country:

My System

Default

Sure, its 9.0c.

/gibman
__________________
"It's all a big foodchain.
We eat shit and shit eats us."
gibman is offline   Reply With Quote
Old 2008-02-17, 18:44   #7 (permalink)
MP Donator
 
joystick's Avatar
 
Join Date: Jan 2006
Posts: 390
Thanks: 11
Thanked 16 Times in 13 Posts

Country:

My System

Send a message via ICQ to joystick Send a message via Skype™ to joystick
Default

Hi I just gav it a try and everything worked for me, even though I'd like to get additional feature:
Importing of mpeg-files.....

do you think this is possible, aswell?

Cheers and thanks for your effords!!

joystick
__________________
C2D 6550, 3gb, ASUS P5K-E WiFi AP, 2*500 GB Samsung Sata, 3TB Nas over Powerline,2x FloppyDTV DVB-C+, Alphacrypt, HIS ATI HD2600XT 256MB, Zalman HD160+Irtrans, Harmony One + DiNovo Mini, MP 0.2.3 + Tv Server latest SVN, WinXP SP2
joystick is offline   Reply With Quote
Old 2008-02-18, 10:26   #8 (permalink)
Portal Member
 
snakeman65's Avatar
 
Join Date: Jan 2007
Location: Aylesbury
Age: 25
Posts: 49
Thanks: 1
Thanked 5 Times in 5 Posts

Country:

My System

Default

Hi Joystick,

I can have a look at mpeg files. Do your mpeg files have any meta-data with them (an xml file or something)? If not then I will mostly have to either makeup the meta-data or prompt for it (which i'll make configurable of course). Also, I think I need to stop listing the sucessful files on the status prompt, I did 85 files yesterday and so the bottom of the prompt was well off the screen! Next version!
snakeman65 is offline   Reply With Quote
Old 2008-02-18, 14:01   #9 (permalink)
MP Donator
 
joystick's Avatar
 
Join Date: Jan 2006
Posts: 390
Thanks: 11
Thanked 16 Times in 13 Posts

Country:

My System

Send a message via ICQ to joystick Send a message via Skype™ to joystick
Default

well, you can configure MP to provide xml data, so yes, they usually have xml-data I think corresponding to the ts-files....

cheers
__________________
C2D 6550, 3gb, ASUS P5K-E WiFi AP, 2*500 GB Samsung Sata, 3TB Nas over Powerline,2x FloppyDTV DVB-C+, Alphacrypt, HIS ATI HD2600XT 256MB, Zalman HD160+Irtrans, Harmony One + DiNovo Mini, MP 0.2.3 + Tv Server latest SVN, WinXP SP2
joystick is offline   Reply With Quote
Old 2008-02-19, 19:10   #10 (permalink)
MP Donator
 
tompa's Avatar
 
Join Date: Oct 2005
Location: Stockholm
Posts: 335
Thanks: 25
Thanked 12 Times in 12 Posts

Country:


Default

Hi Chris!

Did try v1.04 tonight, but get error message (same as gibman?). Nothing imported.

/tompa
Attached Thumbnails
recordings-importer-tve3-recimp104_error.jpg  
tompa is offline   Reply With Quote
Reply

Bookmarks

Tags
importer, tve3

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
XMLTV importer & mapper for TVE3 DJBlu Plugins 24 2008-08-17 21:03
Manual Episode Importer fforde My TVSeries 4 2008-05-19 02:53
What do you think about a universal EPG-Importer? kuehnch Improvement Suggestions 0 2007-09-07 12:05
New MyFilmz (Xmm Importer) by C|ip C|ip Plugins 1 2007-04-11 10:15


All times are GMT +1. The time now is 05:34.


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
Advertisement System V2.6 By   Branden