View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 2 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Jun 03, 2005 12:52 pm 
Offline
Joined: Thu Apr 28, 2005 4:00 pm
Posts: 37
I noticed a while ago that when editing video meta data through MythWeb if fields included a single quote (') the edit would not occur. I've submitted a patch to the Myth-Dev mailing list but its a pretty simple fix if you want to do it yourself.

You need to be logined as root in console then:

cd /usr/share/mythtv/mythweb
nano video_edit.php

Now hit ctrl+w and type isset it should find the following line:
Code:
if (isset($_POST['submit'])) {


Below this you need to add the following:
Code:
$_POST['title'] = addcslashes($_POST['title'], "'");
$_POST['plot'] = addcslashes($_POST['plot'], "'");


"'" is doublequote(") singlequote(') and another doublequote(")


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 09, 2005 8:52 pm 
Offline
Joined: Thu Jan 13, 2005 9:55 am
Posts: 135
Location: Decatur, Ga., USA
here it is more than a month after Luthair posted this fix and I'm just now employing it! I was having trouble editing some metadata via MythWeb and lo' and behold, a search of the archives found Luthair's post/cure. thanks, dude!

-Bob K.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 46 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu