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
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
Simple redirection utility needed
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="RoChess" data-source="post: 1284950" data-attributes="member: 18896"><p>I use basic drive to network mapping with T: for TV-Shows and S: for movies, and I run everything in a basic script before MediaPortal is allowed to execute, so that I know it points to the right Samba share and not show the media in orange color as "offline".</p><p></p><p>[code]</p><p>@Echo Off</p><p>:NoNetwork</p><p> ping [IP-of-Server-with-Samba-Share] -n 1 -w 30000</p><p> IF NOT EXIST "T:\status.txt" NET USE S: /DELETE</p><p> IF NOT EXIST "T:\status.txt" NET USE S: "\\Samba-Share\Movies" /PERSISTENT:YES</p><p> IF NOT EXIST "T:\status.txt" NET USE T: /DELETE</p><p> IF NOT EXIST "T:\status.txt" NET USE T: "\\Samba-Share\TV Shows" /PERSISTENT:YES</p><p> IF NOT EXIST "T:\status.txt" ping 1.1.1.1 -n 1 -w 5000</p><p> IF NOT EXIST "T:\status.txt" Goto NoNetwork</p><p>pause[/code]</p><p></p><p>That would be easy to modify to map another Samba share, or a local drive, but the problem on a local drive is that Moving-Pictures will use the HDD volume serial number to detect drive/folder removal and quick changes, so be sure to configure it proper. NTFS folder mapping is an easy solution around that, but then of course you have to keep the folders in sync or media entries will be auto-added, and auto-removed from your database.</p><p></p><p>PS: The T:\ and S:\ drives are what Moving-Pictures is configured on to import from. It's easy to change that on an existing setup with some SQLite database editing, or to do an import swap, or in worst case just do a fresh reimport.</p></blockquote><p></p>
[QUOTE="RoChess, post: 1284950, member: 18896"] I use basic drive to network mapping with T: for TV-Shows and S: for movies, and I run everything in a basic script before MediaPortal is allowed to execute, so that I know it points to the right Samba share and not show the media in orange color as "offline". [code] @Echo Off :NoNetwork ping [IP-of-Server-with-Samba-Share] -n 1 -w 30000 IF NOT EXIST "T:\status.txt" NET USE S: /DELETE IF NOT EXIST "T:\status.txt" NET USE S: "\\Samba-Share\Movies" /PERSISTENT:YES IF NOT EXIST "T:\status.txt" NET USE T: /DELETE IF NOT EXIST "T:\status.txt" NET USE T: "\\Samba-Share\TV Shows" /PERSISTENT:YES IF NOT EXIST "T:\status.txt" ping 1.1.1.1 -n 1 -w 5000 IF NOT EXIST "T:\status.txt" Goto NoNetwork pause[/code] That would be easy to modify to map another Samba share, or a local drive, but the problem on a local drive is that Moving-Pictures will use the HDD volume serial number to detect drive/folder removal and quick changes, so be sure to configure it proper. NTFS folder mapping is an easy solution around that, but then of course you have to keep the folders in sync or media entries will be auto-added, and auto-removed from your database. PS: The T:\ and S:\ drives are what Moving-Pictures is configured on to import from. It's easy to change that on an existing setup with some SQLite database editing, or to do an import swap, or in worst case just do a fresh reimport. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
Simple redirection utility needed
Contact us
RSS
Top
Bottom