Omnimaga

General Discussion => Technology and Development => Computer Projects and Ideas => Topic started by: Munchor on February 13, 2011, 06:27:30 am

Title: mePlaysMedia
Post by: Munchor on February 13, 2011, 06:27:30 am
I just created a media player for Windows users that can read several video and music files like .mp3, .wav, .wma, .wmv, .avi and many more.

Attached is the setup program that will install the program in your computer in a few seconds, hope you like it ;D

I didn't code the setup, I used a setup maker for that purpose.
Title: Re: mePlaysMedia
Post by: Munchor on February 13, 2011, 03:52:04 pm
**UPDATE**

(http://img.removedfromgame.com/imgs/mePlaysMediaScreenshot.png)

It can now open folders, read images, videos and music! It's also a bit faster due to changes in the loading event :D

Not attached, though, I'll try to add another neat option before that.
Title: Re: mePlaysMedia
Post by: qazz42 on February 13, 2011, 03:53:05 pm
what language? C#?
Title: Re: mePlaysMedia
Post by: Munchor on February 13, 2011, 03:53:34 pm
what language? C#?

Yup. C#.
Title: Re: mePlaysMedia
Post by: Geekboy1011 on February 14, 2011, 03:11:26 pm
hmm lets see i like it its simple and clean looks alot like a remake of wmp though but it does use less resourcesuses more ram but is nicer on cpu loads so no complaints i really do like it ^_^

othere than that needs a few more features on the playlist and i deem it very useable ^_^ (and a cmdline command to add to the playlist for like rightclicking files and adding)
Title: Re: mePlaysMedia
Post by: qazz42 on February 14, 2011, 04:01:07 pm
SOURCE! NAIO. Did you use the PlaySound() method from winmm.dll?
Title: Re: mePlaysMedia
Post by: Munchor on February 14, 2011, 04:20:11 pm
SOURCE! NAIO. Did you use the PlaySound() method from winmm.dll?

I'll upload the source as soon as I can (probably tomorrow).

I am using the Windows Media Player dll and changing the mediaPlayer.URL string to play different songs.
Title: Re: mePlaysMedia
Post by: qazz42 on February 14, 2011, 06:37:22 pm
SOURCE! NAIO. Did you use the PlaySound() method from winmm.dll?

I'll upload the source as soon as I can (probably tomorrow).

I am using the Windows Media Player dll and changing the mediaPlayer.URL string to play different songs.


ah, niiice, referencing assemblies is not something I am up to yet, unfortunetly...

I could have sworn that there was a built-in method that allows you to manipulate sound from the System namespace, or is there?  ???
Title: Re: mePlaysMedia
Post by: Munchor on February 15, 2011, 07:29:35 am
SOURCE! NAIO. Did you use the PlaySound() method from winmm.dll?

I'll upload the source as soon as I can (probably tomorrow).

I am using the Windows Media Player dll and changing the mediaPlayer.URL string to play different songs.


ah, niiice, referencing assemblies is not something I am up to yet, unfortunetly...

I could have sworn that there was a built-in method that allows you to manipulate sound from the System namespace, or is there?  ???

I'm not really user. For mePlaysMedia I don't use a single method for the sound playing.

Also, I think I'm gonna stop using the windows media player dll and make something of my own. I found a tutorial on it, I'll check that built-in method to manipulate the System Sound.
Title: Re: mePlaysMedia
Post by: Geekboy1011 on February 15, 2011, 11:00:49 am
Good idea might cut down on the ram foot print a lot which will be nice ^_^
Title: Re: mePlaysMedia
Post by: Munchor on February 15, 2011, 04:11:07 pm
Good idea might cut down on the ram foot print a lot which will be nice ^_^

Yes, maybe the Windows Media Player component uses a lot of ram.
Title: Re: mePlaysMedia
Post by: qazz42 on February 15, 2011, 05:05:35 pm
SOURCE! NAIO. Did you use the PlaySound() method from winmm.dll?

I'll upload the source as soon as I can (probably tomorrow).

I am using the Windows Media Player dll and changing the mediaPlayer.URL string to play different songs.


ah, niiice, referencing assemblies is not something I am up to yet, unfortunetly...

I could have sworn that there was a built-in method that allows you to manipulate sound from the System namespace, or is there?  ???

I'm not really user. For mePlaysMedia I don't use a single method for the sound playing.

Also, I think I'm gonna stop using the windows media player dll and make something of my own. I found a tutorial on it, I'll check that built-in method to manipulate the System Sound.

ah, do tell when you find it. I think it was under System.Media or something `-`

I forgot where it was and I would like to screw with it a bit  :D
Title: Re: mePlaysMedia
Post by: Munchor on February 16, 2011, 03:01:21 pm
Quote
ah, do tell when you find it. I think it was under System.Media or something `-`

I forgot where it was and I would like to screw with it a bit 

I really have to make a C# virus that makes the sound maximum from 15 to 15 minutes and plays a very LOL song.
Title: Re: mePlaysMedia
Post by: DJ Omnimaga on February 17, 2011, 03:44:08 am
That looks nice and it seems to work well. The interface is simple so a lot of people might like it.
Title: Re: mePlaysMedia
Post by: Munchor on February 17, 2011, 10:17:44 am
That looks nice and it seems to work well. The interface is simple so a lot of people might like it.

Thanks :)
Title: Re: mePlaysMedia
Post by: Munchor on February 18, 2011, 01:39:38 pm
@qazz42:

Here it is:

Code: [Select]
using System.Media;

private void PlaySound()
{
    SoundPlayer simpleSound = new SoundPlayer(@"c:\Windows\Media\chimes.wav"); //Change the string to the location of the song
    simpleSound.Play(); // Plays the song
}
Title: Re: mePlaysMedia
Post by: qazz42 on February 18, 2011, 02:47:52 pm
niiiice, that was/looks easy
Title: Re: mePlaysMedia
Post by: Munchor on February 18, 2011, 02:51:33 pm
niiiice, that was/looks easy

Not sure how to play .mp3 and other stuff, though.

Code: [Select]
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Threading;
using System.Media;

namespace meHides
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            this.WindowState = FormWindowState.Minimized;
            this.ShowInTaskbar = false;
            this.Hide();
            this.Visible = false;

            timer1.Start();
            timer1.Interval = 600000;
            timer1.Enabled = true;
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            SoundPlayer simpleSound = new SoundPlayer("boot");
            simpleSound.Play();
        }
    }
}

Just made this little neat program that plays a sound every minute. Just change 600000 to whatever you want.

Note: boot is a wave file.