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 2 3 4 5 6 … 37 Next »
Another DVD ISO problem in NPVR

 
  • 0 Vote(s) - 0 Average
Another DVD ISO problem in NPVR
arkennedy75
Offline

Member

Posts: 171
Threads: 42
Joined: Jan 2005
#1
2012-01-22, 07:27 PM
Below is a copy/paste of my npvr.cgi with the dvd ISO mount code added. The npvr.cgi file below will not let me load mvpmv from the PCH menus ("Request cannot be processed" error message). When I delete the 2 dvd mount lines of code from the NPVR.cgi file I have no problems loading mvpmc with my PCH. Do I have the syntax wrong? I'm trying to mount I:\PVR\Videos\dvd where my ISO's are located. Thank you.

#!/bin/sh

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

cd ~
if [ -f /etc/mvpmc/mvpmcx2 ]
then
echo "mvmcx2 is loaded";
else
mkdir /etc/mvpmc
mkdir /mnt/I:\\PVR\\Videos\\dvd
mount -t cifs //192.168.1.100/dvd /mnt/I:\\PVR\\Videos\\dvd -o username=xxx,password=xxxx,ro
mount -t cifs //192.168.1.100/mvpmc /etc/mvpmc -o username=root,rw
cp /etc/mvpmc/utelnetd /usr/bin
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
utelnetd -l /bin/sh -p 23 &
echo "Telnetd started on port 23............";
fi
killall gaya
sh -c /etc/mvpmc/startmeup 2>/dev/null >/dev/null &
exit 0;
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,133
Threads: 957
Joined: May 2006
#2
2012-01-22, 08:15 PM
That error is because you have some sort of syntax error or permission error

I suggest using telnet to debug the syntax of these two lines

mkdir /mnt/I:\\PVR\\Videos\\dvd
mount -t cifs //192.168.1.100/dvd /mnt/I:\\PVR\\Videos\\dvd -o username=xxx,password=xxxx,ro

assuming of course xxx and xxxx are examples. If it is a guest share username=guest alone will work. In this example I assume I: is a local drive otherwise it doesn't look likely.

Martin
arkennedy75
Offline

Member

Posts: 171
Threads: 42
Joined: Jan 2005
#3
2012-01-23, 04:07 AM
I upgraded to NPVR this weekend and was previously using this syntax in my gbpvr.cgi file with no issues....

mkdir /mnt/I:\\PVR\\Videos\\dvd
mount -t cifs //192.168.1.100/dvd /mnt/I:\\PVR\\Videos\\dvd -o username=root,ro

When I put these two line in my npvr.cgi file I get the problem I described before. Since these lines were working with GBPVR I wouldn't think its a syntax error, but could GBPVR being causing a permission error?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,133
Threads: 957
Joined: May 2006
#4
2012-01-23, 04:19 AM
Okay that might explain things. Sub never added true ISO playback to NextPVR like he did to GB-PVR. You have to fake it by hitting play on the folder which acts like Play All, which still works.

Martin
arkennedy75
Offline

Member

Posts: 171
Threads: 42
Joined: Jan 2005
#5
2012-01-24, 02:12 AM
I'm not even getting to NPVR menus from the PCH when I add the two lines of code (base npvr.cgi is no problem). When I try to load the npvr.cgi with the 2 lines for the mount I get a 'Request cannot be processed' error on the PCH.

Also, I can telnet when I have the base npvr.cgi file, but the when I add the two lines of code to add the mount I can't telnet. Thanks for your help.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,133
Threads: 957
Joined: May 2006
#6
2012-01-24, 02:21 AM
Did you forget to use a Linux editor to edit the cgi file? If not telnet using the base and try entering the two commands I suspect this will show your error.

Alternatively just copy your working gbpvr.cgi to npvr.cgi Nothing changed in them but there name.

Martin
arkennedy75
Offline

Member

Posts: 171
Threads: 42
Joined: Jan 2005
#7
2012-01-24, 03:37 AM
Using the old gbpvr.cgi file let me load NPVR on the PCH. However, when I attempt to play an ISO doesn't load. The mount is showing up correctly when I telnet. Is there anything that stands out in the log files? Thanks.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,133
Threads: 957
Joined: May 2006
#8
2012-01-24, 04:04 AM
Nothing really. From telnet does this give you your file?

ls /mnt/I:\\PVR\\Videos\\dvd/The\ Shawshank\ Redemption/THE_SHAWSHANK_REDEMPTION.iso

Martin
arkennedy75
Offline

Member

Posts: 171
Threads: 42
Joined: Jan 2005
#9
2012-01-24, 11:27 AM
Telnet outputs: "/mnt/I:\PVR\Videos\dvd/The Shawshank Redemption/THE_SHAWSHANK_REDEMPTION.iso"

I've confirmed the ISO file is OK and will play on my computer.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,133
Threads: 957
Joined: May 2006
#10
2012-01-24, 12:51 PM
You are going to have to use fancier use of telnet. Install putty as your telnet client and then load NextPVR from mvpmcx2 but return to the NMT menu.

From telnet issue

/etc/mvpmc/mvpmcx2

Then enable the capture all output in putty and send me the putty.log and MVP.log

You will have to power off your NMT to clear this state.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  can't play m4v files on NMT through NPVR steveum 5 14,746 2014-09-19, 11:38 PM
Last Post: mvallevand
  rolled out NPVR and PCH in the house, One issue ricksuper67 2 4,915 2013-12-09, 12:58 PM
Last Post: ricksuper67
  Cannot get HDHomerun Prime Live Tv to nmt through npvr txinga 4 3,320 2013-04-15, 10:48 PM
Last Post: mvallevand
  Martin/All Is it technically possible for NPVR/MVP to ever play Copy Once Recordings jt25741 4 4,453 2012-12-19, 06:46 PM
Last Post: jt25741
  PCH A100 - "Could not Play" AVI via nPVR psycik 14 7,407 2012-04-14, 01:42 AM
Last Post: psycik
  NMT/NPVR Weirdness baj1 8 4,592 2012-02-10, 12:54 PM
Last Post: mvallevand
  Operate NPVR with keyboard on NMT eurojojo 16 12,391 2012-02-03, 11:15 PM
Last Post: eurojojo
  DVD ISO playback with NPVR? drbenjamin 18 7,068 2012-01-24, 12:48 PM
Last Post: mvallevand
  More than one server - one NPVR and one GBPVR? baj1 4 2,588 2012-01-17, 06:49 PM
Last Post: martint123
  NMT Issue with new NPVR server baj1 3 2,017 2012-01-16, 04:54 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