Re: [Mixxx-devel] Mixxx pissed me off today!

2012-04-01 Thread Ilkka Tuohela
Not even file access or locking, but modifying a file mapped with mmap on the fly. BTW this raises another issue: if any other program outside mixxx modifies file tags on disk while the track is loaded to mixxx, same problem with file mmap garbage can happen, if the mmap is directly to

Re: [Mixxx-devel] Mixxx pissed me off today!

2012-04-01 Thread ewan colsell
Why not just add a menu option sync metadata that disables playback and warns you of the consequences of having files open in other programs before writing the metadata? Ewan. On Apr 1, 2012 8:41 AM, Ilkka Tuohela ilkka.tuoh...@gmail.com wrote: Not even file access or locking, but modifying a

Re: [Mixxx-devel] Mixxx pissed me off today!

2012-04-01 Thread Daniel Schürmann
Hi, I have just ask the Clementine developers about our problem: http://groups.google.com/group/clementine-player/browse_thread/thread/4e49fe3ddf0a71fe/8754d2fce8fccddf?show_docid=8754d2fce8fccddf# For my feeling we should take a similar way of writing tags back to the files. If this is

Re: [Mixxx-devel] Mixxx pissed me off today!

2012-04-01 Thread Owen Williams
On Sun, 2012-04-01 at 15:36 +0200, Daniel Schürmann wrote: Hi, I have just ask the Clementine developers about our problem: http://groups.google.com/group/clementine-player/browse_thread/thread/4e49fe3ddf0a71fe/8754d2fce8fccddf?show_docid=8754d2fce8fccddf# For my feeling we should take

[Mixxx-devel] PreviewDeck fixing #366091

2012-04-01 Thread Max Linke
Hello, If created a branch that includes a PreviewDeck, this would fix #366091. The PreviewDeck is Loaded into Sampler1 for the LateNight1280x800 skin,for testing purpose. I think in the final UI version the PreviewDeck should be integrated with the libary, any tips on how to do that?

Re: [Mixxx-devel] Mixxx pissed me off today!

2012-04-01 Thread RJ Ryan
Hey Keith, To echo others -- sorry for pissing you off! :) There are reasons we don't do this though: Mixxx has to store a lot of metadata about your files (hotcues, loops, bpm, beats, playlists, crates, play-history, waveform data, etc. in addition to what you normally find regular music

[Mixxx-devel] Mixxx Gsoc Applicant

2012-04-01 Thread Robert Klein
Hello, I'm a 3rd year student in Computer Engineering and Music Technology at McGill University in Montreal and I would like to apply to GSOC this year. I will be writing an application for the library preview functionality in the list of ideas. I've built Mixxx and would like to try making a

Re: [Mixxx-devel] Mixxx pissed me off today!

2012-04-01 Thread Daniel Schürmann
Hi Owen, what about file locking? I think it could be worth a try to lock all files that are loaded to the decks and sampler for writing. Does anybody have experience with it? I have just found: http://libqxt.bitbucket.org/doc/tip/qxtfilelock.html Kind regards, Daniel Am 01.04.2012

Re: [Mixxx-devel] Mixxx Gsoc Applicant

2012-04-01 Thread Tom Gascoigne
Hi Robert, I too am thinking of applying for the GSOC this year. For me, there's no better way of learning a new piece of software than to dive in and learn as you go. A good way of getting yourself acquainted with the code base might be to take a look at a few of the easy bugs, and think about

Re: [Mixxx-devel] Mixxx Gsoc Applicant

2012-04-01 Thread Qifan Xi
I'd recommend hanging around the IRC channel. #mixxx on irc.freenode.net. We don't bit. Promise. On Sun, Apr 1, 2012 at 2:24 PM, Robert Klein robert.kl...@mail.mcgill.cawrote: Hello, I'm a 3rd year student in Computer Engineering and Music Technology at McGill University in Montreal and I

[Mixxx-devel] New to Mixxx development + bug #661443

2012-04-01 Thread Stan Alexandru Cristian (Student Com10)
Hello everybody! I'm new to Mixxx, and I would like to start contributing as a C++ developer for improving this excellent project. I am also a DJ, playing in clubs in northern Italy, mainly with CDs and usb sticks, but also with a try on some commercial software, and I would have plenty of

Re: [Mixxx-devel] Mixxx pissed me off today!

2012-04-01 Thread Daniel Schürmann
Hi, I have made some investigations about file locks and mmap. On Linux file locks are useless for our alleged problem because all applications have to be cooperative. There is a paper on kernel.org which describes a mandatory locking, but I have not managed to get it working with ubuntu.

Re: [Mixxx-devel] New to Mixxx development + bug #661443

2012-04-01 Thread keithsalisb...@gmail.com
Hi Stan, I'm just another new developer, but let me say welcome nonetheless. I'm sure some of the senior developers will be able to give you better answers to your compilation issues, for the time being, check out these two links: https://answers.launchpad.net/mixxx/+question/145332

Re: [Mixxx-devel] Mixxx pissed me off today!

2012-04-01 Thread Albert Santoni
2012/4/1 Daniel Schürmann dasch...@gmx.de: Hi, I have made some investigations about file locks and mmap. On Linux file locks are useless for our alleged problem because all applications have to be cooperative. There is a paper on kernel.org which describes a mandatory locking, but I have

Re: [Mixxx-devel] Mixxx pissed me off today!

2012-04-01 Thread RJ Ryan
I think delaying writes till shutdown might be reasonable. The downside is that if Mixxx crashes then we might not write the data. We could keep a queue persisted in a database table so that even across crashes we can write metadata on startup or shutdown. The TIO cache is still alive and well

Re: [Mixxx-devel] Mixxx Gsoc Applicant

2012-04-01 Thread Albert Santoni
On Sun, Apr 1, 2012 at 2:24 PM, Robert Klein robert.kl...@mail.mcgill.ca wrote: Hello, I'm a 3rd year student in Computer Engineering and Music Technology at McGill University in Montreal and I would like to apply to GSOC this year. I will be writing an application for the library preview

Re: [Mixxx-devel] Patch for the Hercules DJ Console Mk2 script fixing unstoppable Play

2012-04-01 Thread Nicolay Doytchev
And of course the patch file gets _actually_ attached in message #2... On Sun, Apr 1, 2012 at 10:50 PM, Nicolay Doytchev s...@ndoytchev.comwrote: Hello, The unstoppable Play problem was reported in https://bugs.launchpad.net/mixxx/+bug/891593 about the RMX. This also an issue with the Mk2.

Re: [Mixxx-devel] Mixxx pissed me off today!

2012-04-01 Thread Owen Williams
On Sun, 2012-04-01 at 22:29 -0400, Albert Santoni wrote: This sounds pretty tricky. Would it simplify our lives if we dropped mmapped I/O? (sorry Owen!) mmapped I/O was integral to preventing audio dropouts. Making that change resulted in the best improvement in sound performance. If we do

[Mixxx-devel] Patch for the Hercules DJ Console Mk2 script fixing unstoppable Play

2012-04-01 Thread Nicolay Doytchev
Hello, The unstoppable Play problem was reported in https://bugs.launchpad.net/mixxx/+bug/891593 about the RMX. This also an issue with the Mk2. I modified the Mk2 script similarly to what was suggested for RMX in the bugreport thread and it seems to fix the problem. Am I doing it right and if

Re: [Mixxx-devel] Mixxx pissed me off today!

2012-04-01 Thread Albert Santoni
On Sun, Apr 1, 2012 at 11:05 PM, Owen Williams owilli...@mixxx.org wrote: On Sun, 2012-04-01 at 22:29 -0400, Albert Santoni wrote: This sounds pretty tricky. Would it simplify our lives if we dropped mmapped I/O? (sorry Owen!) mmapped I/O was integral to preventing audio dropouts.  Making

Re: [Mixxx-devel] Mixxx pissed me off today!

2012-04-01 Thread Ilkka Tuohela
As use cases go, I agree, nobody should be tagging tracks with exteral programs while performing. On the other hand, changing the tag on mixxx screen when you load the track is quite plausible, like in Oh the artist tag is wrong I'll fix it straight away! use case. Some people also might use