Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-17-2020, 10:52 AM   #1
Applebite Media
Confirmed User
 
Applebite Media's Avatar
 
Industry Role:
Join Date: Apr 2018
Location: Minneapolis, MN
Posts: 406
PHP/Linux Guru's

I have a question....

I have been searching for an answer to this but I am falling short of what I need and hoping one of you can help me.

I am writing a program to store information on my movie collection, maybe you have seen it on my site https://applebitemedia.com/media-organizer.php ... maybe not. Anyway....

I have a computer with server hooked up to my television. I would like to link the movie file to an external hard drive and not a server folder. I want it to open in an external program like VLC and not in a browser. I am reading that Linux security will not allow this.

If I store the files on a server folder, the file will open and play in a browser. This is not bad, but not really the way I envisioned this program working. I would like to movie to open full screen so it fills up the entire viewing space on the screen, like watching anything else on the television and not have a browser or the programs menu.

Is there a way around this?

The program is still in development and very basic but free for download. Would work for porn movies too.... since they play in the browser anyway.... just saying.

Any help would be GREATLY appreciated!!!!

Thanks
__________________
================================================== ============================

Help, HELP!.... Jane, Stop This Crazy Thing!!!!!!

Stop renting software!
Say NO to Rentware!

Take a Bite - Applebite Media
Applebite Media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2020, 11:14 AM   #2
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
By "external drive" , are you reffering to local drive of user ?
Klen is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2020, 12:31 PM   #3
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
Quote:
Originally Posted by Applebite Media View Post
I have a question....

I have been searching for an answer to this but I am falling short of what I need and hoping one of you can help me.

I am writing a program to store information on my movie collection, maybe you have seen it on my site https://applebitemedia.com/media-organizer.php ... maybe not. Anyway....

I have a computer with server hooked up to my television. I would like to link the movie file to an external hard drive and not a server folder. I want it to open in an external program like VLC and not in a browser. I am reading that Linux security will not allow this.

If I store the files on a server folder, the file will open and play in a browser. This is not bad, but not really the way I envisioned this program working. I would like to movie to open full screen so it fills up the entire viewing space on the screen, like watching anything else on the television and not have a browser or the programs menu.

Is there a way around this?

The program is still in development and very basic but free for download. Would work for porn movies too.... since they play in the browser anyway.... just saying.

Any help would be GREATLY appreciated!!!!

Thanks
Try disabling selinux if you have it enabled, and try mounting the external drive then making a link or symlink to it and see if that lets you bypass the issue.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2020, 12:50 PM   #4
awxm
Confirmed User
 
Industry Role:
Join Date: Aug 2009
Posts: 819
Why not just use something like Kodi or Plex and save yourself the ball ache.

Apologies if I misunderstood what you are trying to achieve.
__________________
.
awxm is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2020, 01:19 PM   #5
Applebite Media
Confirmed User
 
Applebite Media's Avatar
 
Industry Role:
Join Date: Apr 2018
Location: Minneapolis, MN
Posts: 406
Quote:
Originally Posted by Klen View Post
By "external drive" , are you reffering to local drive of user ?
External drive as in a 4tb usb drive. My internal on this computer is only 1tb, which I could change to a bigger one, but I would still have the issue of being able to access a system program like VLC via the browser. I have read that this is a newer feature to Linux to keep the system safe from server abuse or hacks. The user thing is if anyone was using this on their own website for what ever reason. I had one person download it for a site that distributes pirated movies. I was not real happy about that but... that is on them.

Quote:
Originally Posted by k0nr4d View Post
Try disabling selinux if you have it enabled, and try mounting the external drive then making a link or symlink to it and see if that lets you bypass the issue.
I am not 100% familiar with those but I will do some research on that and see if that solves my issue. Thank you

Quote:
Originally Posted by awxm View Post
Why not just use something like Kodi or Plex and save yourself the ball ache.

Apologies if I misunderstood what you are trying to achieve.
I had Plex installed on my xbox and would stream from my computer. it was not hardwired so the quality suffered a little. This is something I wanted to build for myself, it's no where near what Plex is, but I do not really need it to do much.

There is a similar program out there that is no longer supported that actually will pull data from IMDB and fill in all the form fields which is really nice, but it's in PHP5 and will not work on my server using PHP7. The only thing it does not pull is the movie cover. But that program will not link to the movie file and play it. The auto fill would be nice. Data entry is boring LOL.

-----------------------------------------------------------------------------
NEW:

Do any of you think Python could do this? It is a machine language but I do not know it at all. It is a language I would like to learn but time can be limited.

Thank you for the responses. I would really like to get this worked out.
__________________
================================================== ============================

Help, HELP!.... Jane, Stop This Crazy Thing!!!!!!

Stop renting software!
Say NO to Rentware!

Take a Bite - Applebite Media
Applebite Media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2020, 02:48 PM   #6
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
Does your TV support DLNA?
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2020, 02:58 PM   #7
plsureking
bored
 
plsureking's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Metaverse
Posts: 4,675
yea like k0nr4d said, you need to mount that drive. if you know the IP of the server, selinux is disabled, you can call it from anywhere on the network. you can open ip addresses in vlc. then you just need a simple directory list linking the movie to the location on your network. this is how servers and sites work, so its good stuff to learn.

#
__________________
#
plsureking is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2020, 03:02 PM   #8
Applebite Media
Confirmed User
 
Applebite Media's Avatar
 
Industry Role:
Join Date: Apr 2018
Location: Minneapolis, MN
Posts: 406
Quote:
Originally Posted by k0nr4d View Post
Does your TV support DLNA?
I'm not 100% sure... it's a 65" LG smart tv... 2019 model. I am connecting the CPU via HDMI to the television. I am not sure how that would help.

I also found out that this Linux system I am running and it's kernel require SELinux. When it's disabled, I can only access the computer in recovery mode. I cannot get the 4k resolution in recovery mode.

I tried to install an SELinux graphical interface to see it I could just disable certain features or areas however that crashed my system to where I could only boot in recovery mode. I actually had to restore from a backup file to get my system back to regular mode.

I am running Linux Mint 19.3 Trisha. It's built off Ubuntu and Debian. I am not sure if that helps or not.

I did try to uninstall SELinux, however it was trying to remove several programs such as app-armor, wine, samba and many others.

I may not be able to do this with straight PHP or via the server. I may have to look into python or see if I can use a combination of both.

There has to be a way to do this. Especially in today's technological world we live in. It's just a matter of finding the right combination. This is one of those things that will keep nagging at me until I get it worked out
__________________
================================================== ============================

Help, HELP!.... Jane, Stop This Crazy Thing!!!!!!

Stop renting software!
Say NO to Rentware!

Take a Bite - Applebite Media
Applebite Media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2020, 03:09 PM   #9
Applebite Media
Confirmed User
 
Applebite Media's Avatar
 
Industry Role:
Join Date: Apr 2018
Location: Minneapolis, MN
Posts: 406
Quote:
Originally Posted by plsureking View Post
yea like k0nr4d said, you need to mount that drive. if you know the IP of the server, selinux is disabled, you can call it from anywhere on the network. you can open ip addresses in vlc. then you just need a simple directory list linking the movie to the location on your network. this is how servers and sites work, so its good stuff to learn.

#
The drive links are fine. Everything is connected and opens in the browser. Where the issue lies is opening VLC via the browser. This is a system security thing. The SELinux makes sense. I guess I need to figure out how to disable it for this one area and not have it affect any other software that is dependent on it.
__________________
================================================== ============================

Help, HELP!.... Jane, Stop This Crazy Thing!!!!!!

Stop renting software!
Say NO to Rentware!

Take a Bite - Applebite Media
Applebite Media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2020, 01:50 AM   #10
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
If it's a 2019 LG tv just install Mezzmo on your PC and call it a day. DLNA server that collects movie box images/posters and auto-transcodes when needed.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2020, 03:47 AM   #11
Applebite Media
Confirmed User
 
Applebite Media's Avatar
 
Industry Role:
Join Date: Apr 2018
Location: Minneapolis, MN
Posts: 406
Quote:
Originally Posted by k0nr4d View Post
If it's a 2019 LG tv just install Mezzmo on your PC and call it a day. DLNA server that collects movie box images/posters and auto-transcodes when needed.
No windows. Just Linux. Do not see a download for Linux. I have win10 on this machine but I only use it for pulling video from my older canon video camera. Other than that. I don't use windows.
__________________
================================================== ============================

Help, HELP!.... Jane, Stop This Crazy Thing!!!!!!

Stop renting software!
Say NO to Rentware!

Take a Bite - Applebite Media
Applebite Media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2020, 07:29 AM   #12
plsureking
bored
 
plsureking's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Metaverse
Posts: 4,675
Quote:
Originally Posted by Applebite Media View Post
The drive links are fine. Everything is connected and opens in the browser. Where the issue lies is opening VLC via the browser. This is a system security thing. The SELinux makes sense. I guess I need to figure out how to disable it for this one area and not have it affect any other software that is dependent on it.
so don't use vlc. if you're building it in html, use videojs.

https://videojs.com/getting-started/

#
__________________
#
plsureking is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2020, 08:16 AM   #13
Applebite Media
Confirmed User
 
Applebite Media's Avatar
 
Industry Role:
Join Date: Apr 2018
Location: Minneapolis, MN
Posts: 406
Quote:
Originally Posted by plsureking View Post
so don't use vlc. if you're building it in html, use videojs.

https://videojs.com/getting-started/

#
Thanks, I will look into that


Looks like I cannot use this...

Not compatible with your operating system or architecture: [email protected]

I can change the OS on that computer... not that big of an issue, I just have Apache2 and MySQL on it.... but I would like to know if this opens up to fill the entire screen. If is doesn't then it will not work for me.

I like the want VLC opens to fill the entire tv screen.

Thanks in advance for the help.
__________________
================================================== ============================

Help, HELP!.... Jane, Stop This Crazy Thing!!!!!!

Stop renting software!
Say NO to Rentware!

Take a Bite - Applebite Media
Applebite Media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2020, 08:36 AM   #14
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
Quote:
Originally Posted by Applebite Media View Post
Thanks, I will look into that


Looks like I cannot use this...

Not compatible with your operating system or architecture: [email protected]

I can change the OS on that computer... not that big of an issue, I just have Apache2 and MySQL on it.... but I would like to know if this opens up to fill the entire screen. If is doesn't then it will not work for me.

I like the want VLC opens to fill the entire tv screen.

Thanks in advance for the help.
Then the answer is still any DLNA server for linux. You can connect to it using VLC.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2020, 08:49 AM   #15
Applebite Media
Confirmed User
 
Applebite Media's Avatar
 
Industry Role:
Join Date: Apr 2018
Location: Minneapolis, MN
Posts: 406
Quote:
Originally Posted by k0nr4d View Post
Then the answer is still any DLNA server for linux. You can connect to it using VLC.
A DLNA server is just code. So what I want to do is achievable it's just a matter of finding the language to write it in. Maybe I should not be so concerned about a web based program and make it a machine based program.

I have been wanting to learn Python this might be a good project to start with.
__________________
================================================== ============================

Help, HELP!.... Jane, Stop This Crazy Thing!!!!!!

Stop renting software!
Say NO to Rentware!

Take a Bite - Applebite Media
Applebite Media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2020, 09:06 AM   #16
plsureking
bored
 
plsureking's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Metaverse
Posts: 4,675
Quote:
Originally Posted by Applebite Media View Post
Thanks, I will look into that


Looks like I cannot use this...

Not compatible with your operating system or architecture: [email protected]

I can change the OS on that computer... not that big of an issue, I just have Apache2 and MySQL on it.... but I would like to know if this opens up to fill the entire screen. If is doesn't then it will not work for me.

I like the want VLC opens to fill the entire tv screen.

Thanks in advance for the help.
i thought you were displaying in a browser? how are you writing it? if you're building in php/html, you can include js packages.

the video on this page is using videojs. it has fullscreen..

https://screencast.porncms.com/?mb=V...hsNXQzczhvNA==

#
__________________
#
plsureking is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2020, 09:16 AM   #17
Applebite Media
Confirmed User
 
Applebite Media's Avatar
 
Industry Role:
Join Date: Apr 2018
Location: Minneapolis, MN
Posts: 406
Quote:
Originally Posted by plsureking View Post
i thought you were displaying in a browser? how are you writing it? if you're building in php/html, you can include js packages.

the video on this page is using videojs. it has fullscreen..

https://screencast.porncms.com/?mb=V...hsNXQzczhvNA==

#
Yes, a browser is the only way I can display it from the server since I am running into security issues accessing machine programs from the Apache2. From what I have read, the extra security was added into Linux to help secure the servers better. I forget when it was implemented.

It is all PHP/HTML. Feel free to look at the code, I offer this for free. It's very basic, nothing to brag about yet. It is already outdated with PHP 7.2 and the removal of mcrypt. There is a work around for that but I have not gotten around to changing the code yet.

This is a hobby for me so I have not really been focused on it. But with all the downtime I have right now, I thought I could invest some time in it to keep me occupied.

I can check on StackOverflow and see what I can find in their Python forums and see about converting this over. If nothing else, I already have the database built with all the information entered for my collection... I hope to be able to use that or incorporate it into the new code.
__________________
================================================== ============================

Help, HELP!.... Jane, Stop This Crazy Thing!!!!!!

Stop renting software!
Say NO to Rentware!

Take a Bite - Applebite Media
Applebite Media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2020, 09:34 AM   #18
plsureking
bored
 
plsureking's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Metaverse
Posts: 4,675
Quote:
Originally Posted by Applebite Media View Post
It is all PHP/HTML.
check that getting started page for videojs. you'll be playing a video in under 2 minutes. the package is loaded in the head and pulled from a cdn. or you can host it yourself.

drop this into an html page, change MY_VIDEO to the path of your video, and load the page in the browser on your tv.

Code:
<head>
<base href="https://gfy.com/" /><!--[if IE]></base><![endif]-->
  <link href="https://vjs.zencdn.net/7.6.6/video-js.css" rel="stylesheet" />

  <!-- If you'd like to support IE8 (for Video.js versions prior to v7) -->
  <script src="https://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js"></script>
</head>

<body>
  <video
    id="my-video"
    class="video-js"
    controls
    preload="auto"
    width="640"
    height="264"
    poster="MY_VIDEO_POSTER.jpg"
    data-setup="{}"
  >
    <source src="MY_VIDEO.mp4" type="video/mp4" />
    <p class="vjs-no-js">
      To view this video please enable JavaScript, and consider upgrading to a
      web browser that
      <a href="https://videojs.com/html5-video-support/" target="_blank"
        >supports HTML5 video</a
      >
    </p>
  </video>

  <script src="https://vjs.zencdn.net/7.6.6/video.js"></script>
</body>
there's nothing to it. if you can run an html page with js on your server and in your browser, you can do this....

#
__________________
#
plsureking is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2020, 09:53 AM   #19
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
Quote:
Originally Posted by plsureking View Post
i thought you were displaying in a browser? how are you writing it? if you're building in php/html, you can include js packages.

the video on this page is using videojs. it has fullscreen..

https://screencast.porncms.com/?mb=V...hsNXQzczhvNA==

#
It sounds like he's wanting to load this in VLC from an android enabled tv or something. I don't think that's gonna fly as an html/js front-end.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2020, 10:27 AM   #20
plsureking
bored
 
plsureking's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Metaverse
Posts: 4,675
Quote:
Originally Posted by k0nr4d View Post
It sounds like he's wanting to load this in VLC from an android enabled tv or something. I don't think that's gonna fly as an html/js front-end.
his web app loads in a browser on his tv/monitor. the vlc requirement is just so it will play fullscreen. embedding videojs resolves that issue fast.

that's what i'd do and call it done lol

#
__________________
#
plsureking is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2020, 11:48 AM   #21
Applebite Media
Confirmed User
 
Applebite Media's Avatar
 
Industry Role:
Join Date: Apr 2018
Location: Minneapolis, MN
Posts: 406
Quote:
Originally Posted by k0nr4d View Post
It sounds like he's wanting to load this in VLC from an android enabled tv or something. I don't think that's gonna fly as an html/js front-end.
Yes, something like that... The button that says play from the page itself is what I wanted to open VLC with.

This is my vision:

I want to look through my collection for something to watch. Once found, I just want to hit the play button and have it open VLC. I like VLC because of the additional features such as a graphic equalizer, which would be useful not only for movies but music as well.

Quote:
Originally Posted by plsureking View Post
his web app loads in a browser on his tv/monitor. the vlc requirement is just so it will play fullscreen. embedding videojs resolves that issue fast.

that's what i'd do and call it done lol

#
Thanks PlsureKing... this may be a temporary fix until I can get it to do what I have envisioned. If anything else, this would be a good fix for the internet version should I ever progress into making this more than it is that I have available now.

Thanks for all the help. I do appreciate it! Everyone
__________________
================================================== ============================

Help, HELP!.... Jane, Stop This Crazy Thing!!!!!!

Stop renting software!
Say NO to Rentware!

Take a Bite - Applebite Media
Applebite Media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2020, 12:24 PM   #22
plsureking
bored
 
plsureking's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Metaverse
Posts: 4,675
Quote:
Originally Posted by Applebite Media View Post
Thanks for all the help. I do appreciate it! Everyone
have fun!

#
__________________
#
plsureking is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
program, browser, server, movie, screen, play, external, file, television, folder, store, menu, programs, development, gurus, space, viewing, entire, watching, fills, download, winkwink, greatly, thumbsup, appreciated



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.