mIRC Homepage
Posted By: Knoeki mIRC locks up on /splay -p - 28/03/12 10:26 AM
Everything is absolutely fine with playing WAV files... but MP3s? Nope. mIRC freezes instantly.

I haven't, as far as I remember, had this issue before, and it seems other people can't reproduce this either... so I'm not exactly sure if this is a bug or not. I just really wish to solve this...

This:
Code:
//echo -a $version $os $md5($mircexe,2) $file($mircexe).sig $dll(0) $script(0)

returns:
Code:
7.22 7 912dfaee60f144853a33231688312686 ok 0 16
Posted By: argv0 Re: mIRC locks up on /splay -p - 28/03/12 11:35 AM
Give information about the mp3:

Code:
$sound(filename)

Returns either the directory for that file type, as above, or information about the sound file. Currently, only mp3 files are supported with the following properties.

Properties: album, title, artist, year, comment, genre, track, length, version, bitrate, vbr, sample, mode, copyright, private, crc, .id3, .tag, .tags.


List as much of the properties of the file as you can.

Also, have you tried this in a clean copy of the public beta? I see you have 16 scripts loaded, which might be related (but might not).
Posted By: Knoeki Re: mIRC locks up on /splay -p - 28/03/12 04:58 PM
I've tried it in a clean copy of the current version too. I haven't tried the beta, will definately try this out.

I've written a little script to give as much information about the file, as you said.

the script (for those who care):

Code:
alias mp3test {
    var %f $scriptdirmusic.mp3
    var %s album title artist year comment genre track length version bitrate vbr sample mode copyright private crc id3 tag tags
    var %c 1
    while (%c <= $numtok(%s, 32)) {
        echo -s $gettok(%s, %c, 32) - $sound(%f). [ $+ [ $gettok(%s, %c, 32) ] ]
        inc %c
    }
}


the output:

Code:
album -
title -
artist -
year -
comment -
genre -
track - -1
length - 106004
version - MPEG 1.0 Layer 3
bitrate - 192
vbr - $false
sample - 44100
mode - Joint Stereo
copyright - $false
private - $false
crc - $false
id3 -
tag - 0
tags -

Posted By: Riamus2 Re: mIRC locks up on /splay -p - 29/03/12 12:33 AM
Does this happen with all MP3s, or only some? Can you play the MP3s in Windows Media Player?
Posted By: Knoeki Re: mIRC locks up on /splay -p - 29/03/12 12:03 PM
I can play the MP3s fine with foobar2k...
let's check if they work with windows media player... yep...
The exact file that makes mIRC freeze works fine in windows media player.

Time to try out the beta.

EDIT: mIRC still freezes if I try to play a MP3 with the 7.23 beta.
Posted By: Khaled Re: mIRC locks up on /splay -p - 29/03/12 03:04 PM
mIRC plays MP3 files through the Windows API, so it depends on Windows to play the file. The most common reason for this type of issue is that there is something wrong with the Windows Media Player installation. You mention that the MP3s play fine through foobar2k - is it possible that foobar2k is the cause of the issue? If you shut down as many applications (including anti-virus software) as you can and then try to play the MP3 again through mIRC, does that make a difference? Be sure to test this in a clean install of mIRC by running the mIRC installer and choosing the "portable" install option.
Posted By: Knoeki Re: mIRC locks up on /splay -p - 29/03/12 04:44 PM
Originally Posted By: Khaled
mIRC plays MP3 files through the Windows API, so it depends on Windows to play the file. The most common reason for this type of issue is that there is something wrong with the Windows Media Player installation.


Not sure what could be wrong exactly; I have tried to play the file in WMP, and it worked fine.

Quote:
You mention that the MP3s play fine through foobar2k - is it possible that foobar2k is the cause of the issue?


I have my doubts; I've used foobar2000 as my music player for years, and it has not caused this issue in the past.

Quote:
If you shut down as many applications (including anti-virus software) as you can and then try to play the MP3 again through mIRC, does that make a difference?


I suppose I can give that a try. I'm running Microsoft Security Essentials as my virusscanner, which also doesn't produce this issue on my main PC, as far as I know.

Quote:
Be sure to test this in a clean install of mIRC by running the mIRC installer and choosing the "portable" install option.


I already have both the current and the beta installed clean, as portable, so far, both of them have reproduced the same issue.


I'll give it a shot to play the MP3 again after a clean reboot.


EDIT: Just tried it again after rebooting, virusscan off and no programs running (apart from the usual system and driver related services), but the problem persists.

Very very strange.
Posted By: Knoeki Re: mIRC locks up on /splay -p - 29/03/12 11:42 PM
Just tried it again after rebooting, virusscan off and no programs running (apart from the usual system and driver related services), but the problem persists.

Very very strange.
Posted By: Riamus2 Re: mIRC locks up on /splay -p - 29/03/12 11:57 PM
Is this still one file or multiple files? I've had some issues with MP3s that have corrupted ID3 tags before, though it never caused mIRC to freeze.
Posted By: Knoeki Re: mIRC locks up on /splay -p - 30/03/12 03:51 PM
I've tried multiple files. The end result is always the same.

Kind of a strange issue.
Posted By: argv0 Re: mIRC locks up on /splay -p - 31/03/12 04:20 AM
If this is happening for multiple files, your Windows install is corrupt somehow. Try reinstalling windows media player and/or your sound card drivers.
Posted By: Khaled Re: mIRC locks up on /splay -p - 31/03/12 01:27 PM
If you test this with mIRC v6.35, available through the mIRC download page, do you see the same issue?
Posted By: Knoeki Re: mIRC locks up on /splay -p - 02/04/12 04:57 PM
I've just tried it with 6.35. Still the same crash.

I will try re-installing audio drivers and WMP and test again.
© mIRC Discussion Forums