scottw wrote:That's weird that you asked, I was trying to figure that out. Now my media player launches if there is a trailer or not. I will keep looking, if you find a way let me know.
hvs69 wrote:scottw wrote:That's weird that you asked, I was trying to figure that out. Now my media player launches if there is a trailer or not. I will keep looking, if you find a way let me know.
I use the media player classic command-line option to achieve this
I don't remember the name of the exe file, but let's say it is mpc.exe
mpc.exe <URL> /fullscreen /play /close
The /play switch is like auto-play and mandatory for /close switch
The /close switch closes the application after the trailer is complete.
Therefore, if there is no <URL>, /close is executed immediately. In practice, you don't even see the MPC window when there is no trailer.
The only thing that is bugging me is that when MPC fires up to play the trailer, I see the small window for the first couple of seconds even though I have /fullscreen in the command-line.
hvs69 wrote:scottw wrote:That's weird that you asked, I was trying to figure that out. Now my media player launches if there is a trailer or not. I will keep looking, if you find a way let me know.
I use the media player classic command-line option to achieve this
I don't remember the name of the exe file, but let's say it is mpc.exe
mpc.exe <URL> /fullscreen /play /close
The /play switch is like auto-play and mandatory for /close switch
The /close switch closes the application after the trailer is complete.
Therefore, if there is no <URL>, /close is executed immediately. In practice, you don't even see the MPC window when there is no trailer.
The only thing that is bugging me is that when MPC fires up to play the trailer, I see the small window for the first couple of seconds even though I have /fullscreen in the command-line.
hvs69 wrote:scottw wrote:That's weird that you asked, I was trying to figure that out. Now my media player launches if there is a trailer or not. I will keep looking, if you find a way let me know.
I use the media player classic command-line option to achieve this
I don't remember the name of the exe file, but let's say it is mpc.exe
mpc.exe <URL> /fullscreen /play /close
The /play switch is like auto-play and mandatory for /close switch
The /close switch closes the application after the trailer is complete.
Therefore, if there is no <URL>, /close is executed immediately. In practice, you don't even see the MPC window when there is no trailer.
The only thing that is bugging me is that when MPC fires up to play the trailer, I see the small window for the first couple of seconds even though I have /fullscreen in the command-line.
Marbles_00 wrote:Hey tswhite, I'm having a script problem with a particular movie. The script starts up fine, it finds 14 entries, it gets to the the fifth movie of the list, which is the new movie "RV" (with Robbin Williams) and gets halted at "RV Fomatting Output". I turned trailers off. I thought that it may be something with the website, so I waited for a few hours, but it is pretty continuous. Always with the movie RV.
Hope that you can help shed some light as to what the script may be looking for that RV is not providing.
David.
tswhite70 wrote:I'm not much of a programmer to be honest, most of my experience is with admin type scripts with no error handling - they don't need to be user friendly. I've added some code to handle bad path variables real quick, I'll try and make the next version a little more user friendly when handling errors.
I don't have a close button on my progress overlay either, but I did make the whole thing a close button (ie the background image) so I can close it when I want to....
v1.5: http://home.houston.rr.com/rswhite/inth ... movies.zip
tsw