Jump to content

L|M|TER Media Player - NEW VERSION 4.0.0.7 !


LIMITER
 Share

Recommended Posts

  • Replies 337
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

I agree, this is cool media player, although you cannot compete with Amp 3 .

Maybe I should create a poll, to see which is more popular

Swift don't be like that, I'm sure that he would feel that comment is unnessary, just because amp 3 is good doesn't mean you should rub it in..

[center][/center]

Link to comment
Share on other sites

Thx Jardenix and DBak :) !!!

The WMP version of LMP is on it's way, but i have some problems with this :

Func WMGetDurationMs()
    If $pObj <> 0 Then Return $pObj.currentMedia.duration
    If $pObj = 0 Then SetError(1)
EndFunc

It's returning :

C:\Program Files\AutoIt3\Include\WMMedia.au3 (258) : ==> Variable must be of type "Object".: 
If $pObj <> 0 Then Return $pObj.currentMedia.duration 
If $pObj <> 0 Then Return $pObj.currentMedia^ ERROR
->18:52:52 AutoIT3.exe ended.rc:1
Edited by LIMITER
Link to comment
Share on other sites

I also tried to switch to WMP object, but i get a damn error everytime i start the player. Otherwise, it works pretty good :)

Edited by Iuli
[size="2"]SFXMaker[/size] - The most complete switchless installer creator software[indent][/indent]
Link to comment
Share on other sites

Yeah, Amp 3, is not self-contained, but L|M|TER I congratulate you on this, it plays video, and everything, only in one executable! Sorry for that lil comment, but your media player, and DBaK's, are really nice, yours has some great features, like All in 1, but DBaK's has a little more functionality, good job though!

Link to comment
Share on other sites

Limiter try this :)

If Not IsObj($pObj) Then
    SetError(1)
    Return 0
EndIfoÝ÷ ÚX¤zØb±«­¢+ÙÕ¹]5ÑÕÉÑ¥½¹5Ì ¤)%9½Ð%Í=¨ ÀÌØíÁ=¨¤Q¡¸(%MÑÉÉ½È Ä¤(%IÑÕɸÀ)¹%(%ÀÌØíÁ=¨±ÐìÐìÀQ¡¸IÑÕɸÀÌØíÁ=¨¹ÕÉɹÑ5¥¹ÕÉÑ¥½¸)MÑÉÉ½È Ä¤)IÑÕɸÀ)¹Õ¹
Edited by alexmadman

Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro

Link to comment
Share on other sites

C:\Program Files\AutoIt3\Include\WMMedia.au3 (258) : ==> Variable must be of type "Object".: 
If $pObj <> 0 Then Return $pObj.currentMedia.duration 
If $pObj <> 0 Then Return $pObj.currentMedia^ ERROR
->18:52:52 AutoIT3.exe ended.rc:1
You would get that error message if $pObj does not store an object. Do this:

If Not IsObj Then MsgBox(0, "", "$pObj is no longer an object because you reset it somewhere, for some reason.")

If $pObj <> 0 Then Return $pObj.currentMedia.duration

If $pObj <> 0 Then Return $pObj.currentMedia^ ERROR

Edited by Squirrely1

Das Häschen benutzt Radar

Link to comment
Share on other sites

You would get that error message if $pObj does not store an object. Do this:

If Not IsObj Then MsgBox(0, "", "$pObj is no longer an object because you reset it somewhere, for some reason.")

If $pObj <> 0 Then Return $pObj.currentMedia.duration

If $pObj <> 0 Then Return $pObj.currentMedia^ ERROR

exactly that's what i was trying to do with ... :

If Not IsObj($pObj) Then
    SetError(1)
    Return 0
EndIf

Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro

Link to comment
Share on other sites

If Not IsObj($pObj) Then

If Not IsObj Then MsgBox(0, "", "$pObj is no longer an object because someone not paying attention " _

reset it somewhere, for some silly reason and doesn want to find the problem.")

SetError(1)

Return 0

EndIf

Das Häschen benutzt Radar

Link to comment
Share on other sites

Here's a piece of code of my player (which has seek working).And sorry DBak, only now i saw you PM. So here is what you requested :)

$cursor=GUIGetCursorInfo($iPlayer)
If $cursor[2] = 1 And $cursor[4] = $Slider Then
    If _IsPressed("01") and WinActive($WindowName) Then
        While _IsPressed("01")
            Sleep(100)
        WEnd
        $temp_pos=GUICtrlRead($Slider)
        $pos_time=$temp_pos*$seconds*10
        _TicksToTime($pos_time,$hour,$min,$sec)
        _SoundSeek($aMediaFile,$hour,$min,$sec)
        _SoundPlay($aMediaFile)
        GUICtrlSetData($Slider,$temp_pos)
    EndIf   
Else
        <other_updating_intructions>(such as slider and labels)
EndIf

And this is placed in the main whille loop :)

Hope it helps. Enjoy !

Edited by Iuli
[size="2"]SFXMaker[/size] - The most complete switchless installer creator software[indent][/indent]
Link to comment
Share on other sites

@jackit

LMP keeps the settings in: c:\Windows\LMP\LMP.ini (%windir%\LMP\LMP.ini)

The settings are not being deleted when you install a new version for reliability reasons (a new version appears every 1-2 weeks so if the settings were deleted,it would be annoying to set them every time)

To reset the settings, just delete the lmp.ini file and LMP will create a new one with the default values (for language it wil be ENGLISH) :)

Best Regards,

L|M|TER

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...