MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » MediaPortal 1 Talk


MediaPortal 1 Talk General talk regarding our HTPC-software MediaPortal 1 takes place here.

Reply
 
Thread Tools Display Modes
Old 2008-08-26, 15:27   #1 (permalink)
MP Donator
 
Join Date: Jun 2008
Posts: 136
Thanks: 2
Thanked 22 Times in 7 Posts

Country:


Default MP with media server

Ok I am building a media server to store all my movies and music and have a question about the IMDB info

I will have 2 media centers accessing this server and both will have MP installed

My question is can I also install MP on the server (will be running xp so I know its fine)

and then point both media centers to the file on the server with the IMDB info

instead of scanning for IMDB on both media centers???

Would be so much easier if I could just scan with the server and both media centers

would update to what it has.

I dont have the server built yet waiting for parts but wanted to ask to see if anyone has tried

something like this.

thanks in advance
__________________


ryan20021982 is offline   Reply With Quote
Old 2008-08-26, 15:33   #2 (permalink)
MP Donator
 
piranha's Avatar
 
Join Date: Sep 2005
Posts: 340
Thanks: 15
Thanked 10 Times in 10 Posts

My System

Default

Yes, I actually use shared database. It's fine as long you have only one client writing to the db at the same time.
I map a share of the server as a drive to each workstation, and change the location of the databases in "c:\Program Files\Team MediaPortal\MediaPortal\MediaPortalDirs.xml"

<Dir id = "Database">
<Path>t:\Database\</Path>
</Dir>

It is not recommended to change the MediaPortalDirs.xml directly, as you would need to apply the changes after each upgrade.
In theory it should work if you place this file in My Documents, but it never worked for me this way.
It is also important that the shares added to My Videos are present on each client (map the shares to the same drive letters).

I also change the <Dir id = "Thumbs"> dir, to have all the thumbs, fanart located in one place.
__________________
After all, computers crash, people die, relationships fall apart. The best we can do is breath and reboot.
piranha is offline   Reply With Quote
This User Say Thank You:
Old 2008-08-26, 15:37   #3 (permalink)
MP Donator
 
Join Date: Jun 2008
Posts: 136
Thanks: 2
Thanked 22 Times in 7 Posts

Country:


Default

Cool thanks for the reply

I wont have a problem with only one writing to it at a time cause

I was planning on using the server to scan everytime and was thinking

not even having the media centers connected to the net so that will work great

thank alot
__________________


ryan20021982 is offline   Reply With Quote
Old 2008-08-26, 15:39   #4 (permalink)
MP Donator
 
piranha's Avatar
 
Join Date: Sep 2005
Posts: 340
Thanks: 15
Thanked 10 Times in 10 Posts

My System

Default

Just remember, this will make ALL your databases shared. TV, Music, TV Series, Moving Pictures etc..
You cannot have only one shared this way.
__________________
After all, computers crash, people die, relationships fall apart. The best we can do is breath and reboot.
piranha is offline   Reply With Quote
This User Say Thank You:
Old 2008-08-26, 15:41   #5 (permalink)
MP Donator
 
Join Date: Jun 2008
Posts: 136
Thanks: 2
Thanked 22 Times in 7 Posts

Country:


Default

Ok thats fine that will actually work great since I will have a tuner card on 1

and will be able to watch the shows from both
__________________


ryan20021982 is offline   Reply With Quote
Old 2008-08-26, 17:49   #6 (permalink)
MP Donator
 
Join Date: Jan 2008
Location: South Central Wisconsin
Age: 54
Posts: 372
Thanks: 12
Thanked 11 Times in 10 Posts

Country:

My System

Default

I'm surprised that MP doesn't have a built-in config function for assigning client to server dB with write restriction. It could get the server name from the client's tvserver set-up or browse for the server, and then know where the db is located.

(dreaming again)

Chuck
2BitSculptor is online now   Reply With Quote
Old 2008-08-26, 18:27   #7 (permalink)
MP Donator
 
piranha's Avatar
 
Join Date: Sep 2005
Posts: 340
Thanks: 15
Thanked 10 Times in 10 Posts

My System

Default

You are assuming that those 2 are on the same server. But that assumption doesn't work for everybody.
Some people do not use TV part at all, what to do then?

Changing the XML file is not a big problem for those who want this type of behaviour. Note that write restriction cannot be applied, as the db contains info about watched episodes etc, and need the write permission. The only issue you may have now, is if 2 or more clients try to write at exact same moment (which is very unlikely).
__________________
After all, computers crash, people die, relationships fall apart. The best we can do is breath and reboot.
piranha is offline   Reply With Quote
Old 2008-08-26, 18:56   #8 (permalink)
MP Donator
 
Join Date: Jan 2008
Location: South Central Wisconsin
Age: 54
Posts: 372
Thanks: 12
Thanked 11 Times in 10 Posts

Country:

My System

Default

Actually, I was trying to allow for the TV server and Media db being on separate machines... I was looking at the quick and dirty result first, if TVServer was present, then auto select that machine, unless you wanted to change it by browsing to another machine which might hold the media database (or select local machine as db location).

by write restriction I meant polling the network to see if a write activity was being done by another client., then wait for it to be done before a write attempt (isn't that how most clients work that use a central db server?).

Not everyone is up to the task of changing xmls directly... and an automated configuration system would also accommodate the generally lazy people (like me) .... imagine if all the configurations for the system had to be done by direct xml edit, I wouldn't bother with the software if it didn't have a GUI . ... although, I remember building 3D objects by entering xyz coords and surface attributes with a text editor, and then rendering with a long command-line string (I've REALLY gotten lazy)

Chuck
2BitSculptor is online now   Reply With Quote
Reply

Bookmarks

Tags
media, 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
Vorteile TV Server gegenüber MP ohne Server morumbinas Media Portal - Support 7 2008-03-03 17:57
TV-Server to Media-Server ykamchi General Talk 0 2007-12-17 10:06
running media portal on media server? giantjoebot General Support 6 2006-11-05 13:55
Media Server (UPnP) Gibt es soetwas bei MP? imported_Magister Plugins/Erweiterungen 2 2006-09-11 10:57
MP as Media Server Frank2808 Improvement Suggestions 0 2005-10-13 20:01


All times are GMT +1. The time now is 02: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
Advertisement System V2.6 By   Branden