NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) MVP & NMT MVPMCX2 and other NMT stuff v
« Previous 1 … 20 21 22 23 24 … 37 Next »
Playing DVDs in GBPVR to PCH client

 
  • 0 Vote(s) - 0 Average
Playing DVDs in GBPVR to PCH client
Paul_B
Offline

Member

Posts: 79
Threads: 22
Joined: May 2008
#1
2008-12-01, 08:08 PM
I'm very new to GBPVR and PCH. As an experiment I have ripped a DVD as ISO as well as MKV (AAC & x264). I've configured the GBPVR to look at the directory where the MKV file exists but I can't play it from the DVD library in GBPVR.

A search of the forums gives me the following:

Quote:...Because DVD can't be streamed via the normal GBPVRRecording Service you need to map a network drive from your PCH to a shared folder that contains the source "DVD". It can be tricky because special characters need to to be marked with a back slash (\). I will explain by way of example.

Let's say you have a folder called "D:\My DVD Collection" that you want to play DVDs from using GB-PVR. First you make this a Windows share which I will name dvds because I'm lazy. To set it up add the following lines into script.cgi

mkdir /mnt/D:\\My\ DVD\ Collection
mount -t cifs //mydvd_IP/dvds /mnt/D:\\My\ DVD\ Collection -o username=guest,ro

That looks ugly but you only have to set it up once for each location. Notice that each \ is doubled and each space is also preceded by a \ Other characters that need special attention include [ ] { } ( ) " ' and & If you do use these characters it is probably best to test using telnet avoiding some of these characters is best.

Once you restart telnet.html, you can confirm that it worked via telnet using this command

ls mnt/D\:\\My\ DVD\ Collection/

If it worked you you should see the files root of your collection. You can specify any username and password too the files do not have to be in a guest account.

Martin

Is this inforformation still correct as the post date is some time ago? Does this mean DVDs appear outside of GBPVR or can I still view them via the GBPVR DVD library?

Many thanks

Paul
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,143
Threads: 958
Joined: May 2006
#2
2008-12-01, 10:49 PM
That information is correct but DVD's stored as files (mkv, iso, avi, etc) appear in the Video Library.

Martin
Paul_B
Offline

Member

Posts: 79
Threads: 22
Joined: May 2008
#3
2008-12-02, 01:12 PM
I'm a bit confused as to how this works.

By changing the gbpvr.cgi script to include the mkdir and mount I assume means the directory then is available to the PCH when running GBPVR?

Do I need to change the config on the GBPVR server to use the same UNC and path to the DVDs that I use for the PCH?

Where will I find the DVD files in the GBPVR Skin viewed from the PCH client?

Cheers

Paul
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,143
Threads: 958
Joined: May 2006
#4
2008-12-02, 09:31 PM
Best to answer your questions with real data.

- what is the IP of the share where dvd iso will be
- what is the name of the share
- what is the folder name you use in config.xml

Martin
Paul_B
Offline

Member

Posts: 79
Threads: 22
Joined: May 2008
#5
2008-12-03, 12:40 PM
Hi Martin,

Quote:- what is the IP of the share where dvd iso will be
IP address of server is 192.168.1.8 (btw do they have to be ISO or can they be ripped MKV files?)

Quote:- what is the name of the share
The name of the share on the server is "DVD"

Quote:- what is the folder name you use in config.xml
As I started off with the simple installer for MVPMCX2 I guessed that I should be updating the gbpvr.xml which now looks like:

Code:
#!/bin/sh

echo "Content-Length: 80";
echo "Content-type: text/html";
echo "";

cd ~
mkdir /etc/mvpmc >/dev/NULL
mkdir /mnt/D:\\Our\ DVDs
echo "";

if [ -f /etc/mvpmc/mvpmcx2 ]
  then
  echo "Already Connected!";
else  
   mount --bind  /opt/sybhttpd/localhost.drives/HARD_DISK/mvpmc /etc/mvpmc
   cp /etc/mvpmc/utelnetd /usr/bin;
   chmod 777 /etc/mvpmc/*;
   utelnetd -l /bin/sh -p 23 &
   mount -t cifs //192.168.1.8/dvd /mnt/D:\\Our\ DVDs -o username=pch,password=PopCornH0ur,rw
   ln -s /lib/librmjpeg.so /lib/libjpeg.so.62
   ln -s /lib/librmzlib.so /lib/libz.so
   ln -s /lib/librmzlib.so /lib/libz.so.1
   ln -s /lib/librmzlib.so /lib/libz.so.123
   echo "Telnetd started on port 23............";
fi

killall gaya
sh -c /etc/mvpmc/startmeup 2>/dev/null >/dev/null &
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,143
Threads: 958
Joined: May 2006
#6
2008-12-03, 12:57 PM
First, mkv's will play without the mount because they can be streamed by http. Only ISO and VIDEO_TS files need the share.

Every thing else looks reasonable but you should move the mkdir command after the else and change them slightly too

Code:
else
    mkdir /etc/mvpmc >/dev/null
    mkdir /mnt/D\:\\Our\ DVDs

Change the mount too (rw is your choice),

mount -t cifs //192.168.1.8/dvd /mnt/D\:\\Our\ DVDs -o username=pch,password=PopCornH0ur,rw



If that doesn't work upload you GBPVR logs when you try and play a DVD and also telnet to your PCH and see if the mount works by typing

ls /mnt/D\:\\Our\ DVDs

Martin
Paul_B
Offline

Member

Posts: 79
Threads: 22
Joined: May 2008
#7
2008-12-08, 05:24 PM
Right having had time to think about this then if I rip the backed-up copy of the DVD to MKV; I then put it in the directory where GBPVR is looking for the video collection they will appear in the Video Library?

If viewing the video library on the PCH I play the MKV file on the GB-PVR then the video will stream over HTTP (assume this needs the enhanced web interace running)?

Therefore, I have two choices backup the original DVD to ISO / VOB and have them in a share mounted to the PCH. Or transcode the backup of the DVD to something like MKV and it will stream from the GB-PVR to the PCH over HTTP?
dbone1026
Offline

Junior Member

Posts: 11
Threads: 0
Joined: Jan 2009
#8
2009-02-01, 05:51 PM
Quote:...Because DVD can't be streamed via the normal GBPVRRecording Service you need to map a network drive from your PCH to a shared folder that contains the source "DVD". It can be tricky because special characters need to to be marked with a back slash (\). I will explain by way of example.

Let's say you have a folder called "D:\My DVD Collection" that you want to play DVDs from using GB-PVR. First you make this a Windows share which I will name dvds because I'm lazy. To set it up add the following lines into script.cgi

mkdir /mnt/D:\\My\ DVD\ Collection
mount -t cifs //mydvd_IP/dvds /mnt/D:\\My\ DVD\ Collection -o username=guest,ro

That looks ugly but you only have to set it up once for each location. Notice that each \ is doubled and each space is also preceded by a \ Other characters that need special attention include [ ] { } ( ) " ' and & If you do use these characters it is probably best to test using telnet avoiding some of these characters is best.

Once you restart telnet.html, you can confirm that it worked via telnet using this command

ls mnt/D\:\\My\ DVD\ Collection/

If it worked you you should see the files root of your collection. You can specify any username and password too the files do not have to be in a guest account.

Martin

Hey Martin, I just came across this thread. You mention script.cgi, so we have to create a new cgi file called "script.cgi" and save it in the mvpmc folder? All my mkvs are playing fine, so I am now working on setting up my dvds. Thanks
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,143
Threads: 958
Joined: May 2006
#9
2009-02-01, 06:02 PM
Sorry, I changed the name to gbpvr.cgi a few months ago and didn't change all the references. You can make the change right after the mount -t cifs line

You might want to try this via telnet first from your PC until you get the syntax right.

Also some people are saying that DVD playback isn't great with the January firmware. I have to agree with them. However whether you use GBPVR or the normal PCH software the results are the saem

Martin
dbone1026
Offline

Junior Member

Posts: 11
Threads: 0
Joined: Jan 2009
#10
2009-02-01, 06:56 PM
Thanks. So I just updated the script and no luck.
Just to clarify, my dvds are on my Server under the following address:

D:\Shares\Videos\Movies SD or HPSERVER\\Videos\Movies SD

So would the code be:

Code:
[B]mkdir /mnt/D:\\Shares\\Videos\\Movies\ SD
    mount -t cifs //IP ADDRESS/dvds /mnt/D:\\Shares\\Videos\\Movies\ SD -o username=PCH,password=nmt,ro[/B]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Just upgraded to 3.9.2 - NMTs now fail playing recordings lostboy 2 12,464 2017-04-24, 01:23 PM
Last Post: lostboy
  Playing DVD images on NMT through GB-PVR baj1 43 20,194 2012-09-03, 09:47 PM
Last Post: mvallevand
  PCH lockup at the end of playing an MTS file from Videos, doesn't revert to playlist? jksmurf 10 6,678 2012-08-15, 01:15 AM
Last Post: mvallevand
  Videos won't play on PCH A-100 with GBPVR arkennedy75 6 3,618 2012-01-20, 12:53 AM
Last Post: mvallevand
  More than one server - one NPVR and one GBPVR? baj1 4 2,589 2012-01-17, 06:49 PM
Last Post: martint123
  NMTinstall for GBPVR no longer working? caz 6 3,203 2011-07-09, 01:07 PM
Last Post: caz
  A200 & C200 GB-PVR client update mvallevand 45 19,176 2011-05-27, 11:07 PM
Last Post: jksmurf
  Can't play recorded video files on PCH-A100 using GBPVR dvasco 4 2,491 2011-01-04, 01:19 PM
Last Post: dvasco
  New mvpmcx2o update for GBPVR and NPVR 2010-12-24 mvallevand 3 2,006 2010-12-27, 01:51 PM
Last Post: mvallevand
  New M34A on eixting GBPVR 1.4.7: GBPVR via NetworkBrowser: "Request cannot be proc" lucille84 3 2,107 2010-11-09, 12:30 AM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode