View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 32 posts ] 
Go to page Previous  1, 2, 3  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Nov 18, 2015 8:33 pm 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
Still no joy. mplayer worked fine for both the local test file and the samba loaded directory so the files seem to be fine.

I don't think it could be a permission thing as the PMS sees all the recordings, processes them and displays thumbnails for them. It is only when I try to play a recording do I get a message that "There was a problem playing that item".

Did a ton of googling but cant seem to find anything. Any new thoughts?

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
PostPosted: Thu Nov 19, 2015 8:38 am 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
Check the log: .plexht/temp/plexhometheater.log


Top
 Profile  
 
PostPosted: Sun Nov 22, 2015 7:30 pm 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
I could not find any plexhometheater.log
Even tried the find command and came up blank.

I am thinking I should do an uninstall and reinstall of the PMS to see it that changes anything. What do you think?

sudo pacman -Rsn plex-media-server
followed by a reboot for good measure.

And then
sudo pacman Sy plex-media-server

Correct?

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
PostPosted: Mon Nov 23, 2015 7:25 am 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
The plexhometheater.log should be in your home dir at the path I gave above. Unless you were only using the web client to test playback? If so try using Plex Home Theater on the local box.

I really doubt that uninstalling and reinstalling will change anything but you can try. Reboot isn't needed but just make sure to removeservice.sh plexmediaserver although removing the pkg may do that.

I see that arch packages a separate package for plex pass users. I have no idea what is different but I wonder if that may be it for you since you are subscribed. I think you can server in PMS without signing in. Maybe try that.


Top
 Profile  
 
PostPosted: Fri Nov 27, 2015 11:03 am 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
You are correct that I had only been trying to view the recordings from the web access on another computer (inside the LAN). I access it with the local IP address and port 32400 and can see the entire library, make changes, etc but trying to watch a video gives me the error message. So today I took your advice and tried clicking on the Plex Home Theater box in the LINHES programs options and to my great surprise was able to watch a video. This is on the same mythbox as the PMS is running. So that is some progress (always good).

So to review, I can:
Mythbox: use UI and watch videos
Windows box with Chrome inside the LAN: use UI but cant watch videos
Android App inside or outside the Lan: use UI but cant watch videos

Seems something outside of the PMS is blocking the videos. Is there some security log I could check to see if the Mythbox is blocking access to one of the necessary ports? Any other suggestions?

Thanks for all your help.

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
PostPosted: Fri Nov 27, 2015 11:28 am 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
Did you try signing out of PMS and using a client on the LAN. That might give a hint if you being Plex Pass user and not running a plex pass version of PMS could be an issue.

I don't think we have any kind of firewall running in LH that would block that on a system level. It looks like in the PMS setting there are various logs that can be enabled. Maybe try that. I don't know where they put the logs.


Top
 Profile  
 
PostPosted: Sun Nov 29, 2015 1:28 pm 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
Tried signing out but that had no effect.

I finally found the log files. They are at
Code:
/data/storage/disk0/media/plex/Plex \Media \Server/Logs/


Reviewing the log called Plex \Media \Server.log I found a couple of warnings about not being able to create a directory.
Code:
Nov 29, 2015 14:06:27 [0x7fcd56bc5700] WARN - WARNING: Couldn't create directory /data/storage/disk0/media/tmp/plex-transcode-nhcp26r6f26jq0k9-5d2167b3-bb11-42a9-9907-8ce0cb53c699
Nov 29, 2015 14:06:27 [0x7fcd56bc5700] DEBUG - [Universal] Using local file path instead of URL: /test/Waterfront House Hunting - 2015-07-25, 5-30 PM - Beautiful Biloxi Beach Homes.mpg


After that there are several errors with the transcoder such as zero byte file, etc.
Code:
Nov 29, 2015 14:06:27 [0x7fcd60959700] DEBUG - Using existing transcode session.
Nov 29, 2015 14:06:27 [0x7fcd6066b700] DEBUG - [TranscodeOutputStream] Input processing thread started at offset 0 for -1 bytes.
Nov 29, 2015 14:06:27 [0x7fcd6066b700] DEBUG - [TranscodeOutputStream] Input processing thread exited after writing 0 bytes, m_closed=0, m_endOfFileReached=1, session->isStopped()=0
Nov 29, 2015 14:06:28 [0x7fcd66511700] DEBUG - [TranscodeOutputStream] Reached end of file
Nov 29, 2015 14:06:28 [0x7fcd66511700] DEBUG - Removed transcode output stream 0x7fcd621d3000, active count 1 => 0


Any idea why it cant create this directory? Permissions look ok.
Code:
[mythtv@love ~]$ ls -ld /data/storage/disk0/media/tmp/
drwxrwxr-x 2 mythtv mythtv 19 Nov  8  2014 /data/storage/disk0/media/tmp/


Thanks for all your help.

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
PostPosted: Sun Nov 29, 2015 2:36 pm 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
It is a permissions issue as PMS runs as plex user. So change tmp to 777. I will look at the pkg to adjust permissions.


Top
 Profile  
 
PostPosted: Sun Nov 29, 2015 3:03 pm 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
SUCCESS!!!
After a
Code:
chmod -R 777 /data/storage/disk0/media/tmp

all videos are working.

Thanks so very much for all your help

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
PostPosted: Mon Nov 30, 2015 11:47 am 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
I have pushed an update to PMS so that it uses a tmp dir under the plex dir and has the correct permissions.


Top
 Profile  
 
PostPosted: Thu Dec 10, 2015 7:39 pm 
Offline
Joined: Wed Jan 07, 2004 12:14 pm
Posts: 425
Location: Charlotte, NC
Britney, I have Plex running well - thanks for the updates. I have a question - I have modified Plex frontends to allow deletion of recordings but have a permissions issue (plex runs as user "plex"). If I chmod my recordings folder to '777' the deletes work from a plex frontend so I know it will work. Is there anyway to either change the plex user to something else (like mythtv - the owner of my recordings data)? Or any other solution?

_________________
Backend server - 4.0 TB 3.0ghz dual core 6 gig RAM, nVidia 9400, Gigabyte GA-870A-UD3 MB, 2 HD-5500, 2 HD Homerun dual tuners, 3 frontend machines - LinHES 8.6.1


Top
 Profile  
 
PostPosted: Fri Dec 11, 2015 8:37 am 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
Part of the reason I kept PMS running as plex was to ensure that mythtv and plex didn't stomp over each other's data. So to change PMS to run as mythtv you would need to change the runit service, the permissions of all PMS data and probably a few more things that aren't jumping to mind right now.

But more to your issue. If you set up your PMS library to look at /data/storage/disk0/media/recordings/ like I mentioned earlier in this thread then deleting that file doesn't actually delete the recording. That is just a symlink to the actual recording and will get recreated every hour.


Top
 Profile  
 
PostPosted: Sun Dec 13, 2015 8:20 am 
Offline
Joined: Wed Jan 07, 2004 12:14 pm
Posts: 425
Location: Charlotte, NC
Yeah, I understand the symlink. I want the system to delete the recording. I am using plex for a few frontend Samsung TV's (plex is available from the Samsung app store - works quite well...). When I am done with an episode I want to delete it from the backend...

_________________
Backend server - 4.0 TB 3.0ghz dual core 6 gig RAM, nVidia 9400, Gigabyte GA-870A-UD3 MB, 2 HD-5500, 2 HD Homerun dual tuners, 3 frontend machines - LinHES 8.6.1


Top
 Profile  
 
PostPosted: Sun Dec 13, 2015 10:16 am 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
nbdwt73 wrote:
When I am done with an episode I want to delete it from the backend...
How would you do that? If there is a way that PMS can fire a script when something is deleted that might work. But I am not aware of PMS being able to do that. The only why I can think of off the top of my head is to have a script that runs before the recordings symlink directory is recreated every hour. That script would have to compare what the recordings symlink directory has with what the MBE has and then using either the python bindings or services api delete the file from the MBE. You would need lots of checks though to make sure it wouldn't delete the wrong stuff on the MBE.


Top
 Profile  
 
PostPosted: Sun Dec 13, 2015 12:51 pm 
Offline
Joined: Wed Jan 07, 2004 12:14 pm
Posts: 425
Location: Charlotte, NC
Here is where I am going to show my ignorance... I enabled "allow media deletion", then set "data/storage/WDCWD7500AAKS-00RBA0_WD-WCAPT0670098/media/recordings permissions" to 777. Deletes on the server now work but this is obviously not a great way to do this...

_________________
Backend server - 4.0 TB 3.0ghz dual core 6 gig RAM, nVidia 9400, Gigabyte GA-870A-UD3 MB, 2 HD-5500, 2 HD Homerun dual tuners, 3 frontend machines - LinHES 8.6.1


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ] 
Go to page Previous  1, 2, 3  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: Google [Bot] and 28 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