paxintelligence.blogg.se

Media player classic home cinema remember file position
Media player classic home cinema remember file position











media player classic home cinema remember file position

StringLeft, cTime, cMenuItem, % InStr(cMenuItem, " ")-1ĬTime. GoToBookmark: FIXME: is there a better way of doing this? messages? Hotkey, IfWinActive, ahk_class %MPCWindowClass% Menu, bookmarkMenu, Add, %cTime% %cTitle%, goToBookmark Menu, bookmarkMenu, Add, %mTitle%, null FIXME: needs a null sub? LV_Add("", eTime, eTimeFormatted, eTitle) LV_Modify(eEntry, "", eTime, eTimeFormatted, eTitle) Gui, 2:Show, % eEntry ? "Edit Bookmark" : "Add Bookmark"įormatTime, eTimeFormatted, %eTime%, HH:mm:ss Gui, Add, Button, x+10 w90 geCancel, Cancel Gui, Add, Button, x+10 gupdateETime, Current Time Gui, Add, Button, ys x+20 w90 ggenerateMenu, Generate menu Gui, Add, Button, ys w90 gdeleteBookmark vdelButton, Del Bookmark Gui, Add, Button, w90 section gaddBookmark, Add bookmark Gui, Add, ListView, y+20 w300 R10 Grid vmainLV gLVEvent, UnformattedTime|Time|Title Gui, Add, Button, ys w80 ggrabCurrentVideoTitle, Current title make a wrapper script that opens a video, loads its bookmarks and generates the menu, automaticallyīaseTime := "20000101000000" to use with DateTime control. fix use in fullscreen (currently it takes the video out of fullscreen to show the menu) drag-and-drop file in gui to open bookmark list allow moving entries up/down in listview automatically update menu (currently you need to manually press the "generate" button) better MPC control (relying on keystrokes is not very good, maybe use messages?) make it work with WMP, VLC, other players * possible improvements (I don't use this script anymore, so I don't plan to implement them): the format used in the script is hh:mm:ss.msec so "1 15 2 0" is the same as "1h15m2s0" and as "1hour 15minutes 2seconds 0millisecond"

media player classic home cinema remember file position

any charachers that are not numbers work as a separator so "2 30" means "2 seconds 30 milliseconds", and "0 2 30 0" means "2 minutes 30 seconds"

media player classic home cinema remember file position

the least significant number is always for milliseconds, the second is for seconds and so on It discards the first zeroes, if there's any easy portability of the bookmarks, as this was used in different computersįrom what I can gather, the way MPC "Go To" input works is: showing only the bookmarks for a specific video is nice the location of the video files is fixed, so you can't reuse bookmarks for different files This caused a significant delay for big files / slow computer / slow drive at least when I wrote this, selecting a favorite in MPC menu reloaded the video, even if the right one was playing. * why not use MPC own "Favorites" feature? The actual seeking is done by sending ctrl+g to the MPC window and editing the time in the "Go To" dialog. This script allows you to define bookmarks in a video timeline and quickly access them with a menu. and Ahk basic, but it should work on newer versions.













Media player classic home cinema remember file position