MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Watch / Listen Media » watch/edit Videos » Improvement Suggestions


Improvement Suggestions Post improvement suggestions here.

Reply
 
Thread Tools Display Modes
Old 2007-03-19, 11:28   #1 (permalink)
Portal Member
 
Join Date: Mar 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts


Lightbulb More parameters for external player

Hi world !

Started on: 2006-03-19
last update: -

Summary: More parameters for external player

Description:
Actually the only parameter known by MediaPortal for external players is %filename% ... a usefull one for sure ! ... but ...

Could it be possible to add the playback start position ?
> in milliseconds since MPC only accept that, but maybe adding more units ( like HH:MM:ss, frame number...) can be great for other players.

value scan be for exemple :
> %start_ms%
> %start_hhmmss%
> % start_framenumber%


Last edited by Seb.26; 2007-03-20 at 12:26.
Seb.26 is offline   Reply With Quote
Old 2007-03-20, 16:25   #2 (permalink)
Portal Member
 
Join Date: Mar 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Zoom Player switch is like "zplayer.exe /SEEK:01:15:32"

So it could be fine to add %start_hhmmss% -> "01:15:32"
or each field like :
> %start_hhmmss_hh%
> %start_hhmmss_mm%
> %start_hhmmss_ss%

Thanks in advance for thinking about this feature ...
Seb.26 is offline   Reply With Quote
Old 2008-05-29, 23:43   #3 (permalink)
Portal User
 
Join Date: May 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts


Default

UP !! UP!!
I almost post this request right now!!
It is a very good sugestion indeed!
Is there some plugin that can do that ?

A complete list o zoomplayer command line:
Inmatrix.com - Zoom Player Help

xisque is offline   Reply With Quote
Old 2008-07-07, 15:29   #4 (permalink)
Portal Member
 
Join Date: Feb 2007
Age: 27
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

I totally agree with that feature request!

I want to use media player classic and it requires the time in ms in the command line. So this would be AWESOME!

Unfortunatly, the way the code is right not (i am not a MP dev, I just looked at the code), the MP UI asks you if you want to resume a video, starts it from the beginning and then seeks to the desired position. You can see this phenomenon if you have a slow machine accessing a remote file on a slow network.

So, in order to implement this, it would require more than adding 1-2 lines of code, but some changes in the way MP starts a video...

Mat

Hey, I just thought of the MOST UGLY HACK to solve this problem.

Depending if you select YES or NO when asked to resume it will keep the resume time in the database (YES) or delete it (NO) meaning the video will restart from the beginning.

Before starting your player, you could use sqllite3.exe to look in the "resume" table (join with the "files" table) to see if the file you are trying to play needs to resume. The time in this table is in MS but you can use SQL functions to format it the way you want.

It is a stretch, it's ugly, but I will try a prototype tonight.

Mat

Last edited by bleubleu; 2008-07-07 at 15:44. Reason: Automerged Doublepost
bleubleu is offline   Reply With Quote
Old 2008-08-26, 07:59   #5 (permalink)
Portal User
 
Join Date: May 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by bleubleu View Post
I totally agree with that feature request!

I want to use media player classic and it requires the time in ms in the command line. So this would be AWESOME!

Unfortunatly, the way the code is right not (i am not a MP dev, I just looked at the code), the MP UI asks you if you want to resume a video, starts it from the beginning and then seeks to the desired position. You can see this phenomenon if you have a slow machine accessing a remote file on a slow network.

So, in order to implement this, it would require more than adding 1-2 lines of code, but some changes in the way MP starts a video...

Mat

Hey, I just thought of the MOST UGLY HACK to solve this problem.

Depending if you select YES or NO when asked to resume it will keep the resume time in the database (YES) or delete it (NO) meaning the video will restart from the beginning.

Before starting your player, you could use sqllite3.exe to look in the "resume" table (join with the "files" table) to see if the file you are trying to play needs to resume. The time in this table is in MS but you can use SQL functions to format it the way you want.

It is a stretch, it's ugly, but I will try a prototype tonight.

Mat

Sorry but you are wrong. MP will not play the video, the external application are responsable to this job in this case, the only thing mp need to do is pass the parameters to this external application.

But you are right about the seek database. I think MP have your own database to be used with internal player, maybe there is a solution right there.
xisque is offline   Reply With Quote
Old 2008-08-27, 11:33   #6 (permalink)
Portal User
 
Join Date: Aug 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

This sounds like it would be an extremely useful feature for the people who use an external player (me included)!

BTW, does anyone know if the resume popup can be disabled? Since I'm using MPC-HC as my external player, I don't have a use for it ATM.
persibro is offline   Reply With Quote
Reply

Bookmarks

Tags
external, parameters, player

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which external player? -.-PhanTom-.- Codecs, External Players 5 2008-02-17 11:14
Parameters input box for external player options Avenger Codecs, External Players 1 2007-02-06 23:32
Anone using external player in MP? duppsko MediaPortal 1 Talk 0 2006-11-21 20:51
External Player Bug! kelvinsykoh Codecs, External Players 1 2006-06-14 19:04
My Music external player laeb66 Codecs, External Players 2 2006-01-16 11:22


All times are GMT +1. The time now is 12:59.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress