Jump to content

Recommended Posts

  • Replies 337
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted (edited)

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

Edited by R6V2
Posted

Well although i cannot compete with AMP3, i think mine is cool also and more light-weight (no need of "bulky" installer) as it' only one .exe :)

Posted

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]

Posted (edited)

My favorite media player would have to be this, its small, no installer, and one sleek looking GUI that can do a lot that Amp 3 cannot.

Edited by Jardenix
Posted (edited)

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
Posted (edited)

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]
Posted

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!

Posted

Thx all for supporting LMP !!!

The WMP-based of LMP was going too well,so smth bad should happen (like our friend murphy said).I don't know how to fix the problem explained in the Post #128.

Posted (edited)

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

Posted (edited)

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

Posted

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

Posted

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

Posted (edited)

edit :lol dunno what happened to my post :| weid characters ...

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

Posted (edited)

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]
Posted

@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

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
  • Recently Browsing   0 members

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