Page 2 of 3

Re: Tuniac 130706

Posted: Mon Jul 08, 2013 1:25 pm
by smaragdus
I managed to detect which folder caused Tuniac to crash. I watched Tuniac while Importing folders and saw that it crashed at Folder #153. Then I created a HTML file of the imported directory and counted the folders and sub-folders one by one to find out which one is number 153. So the folder that caused the crash is this one:

D:\Torrents\Music\Antonio Vivaldi - The Masterworks (Box Set) [2004]
- Size - 10.5 GB
- Files - 1007
- Folders - 41

I wanted to upload a HTML file that contains all the data about this folder but I was not allowed. So i packed the HTML file into a ZIP archive and uploaded it. Download link:

You can download it and view the HTML file (no security threats)

In fact this folder contains FLAC but not APE files.

I understand your attitude towards Cue Sheets and explorer pane. Yet if there was an explorer pane it would be easier to find out what crashes Tuniac. ;)

Of course I cannot insist on implementing support for Cues and adding explorer view. In my opinion these two features would make Tuniac even more convenient and universal. I am a music maniac and audio player maniac too. I have tested many audio players and I use mostly AIMP and foobar2000 for the Cue Sheets support and MusicBee (.NET-based) for explorer view option. I discovered Tuniac last autumn and wanted to report the problem I encountered but I postponed it for months since I was busy with other things. Unfortunately I am not a programmer so I cannot contribute to Tuniac's development but you could rely on me for testing. I have a huge audio collection and I can give you access to it if you need to make some tests via FTP- I have a FTP server and when my computer is turned on my FTP server is usually online too. So if you'd like I can create a FTP account for you.

Thank you for your immediate response!

Regards from Bulgaria

Re: Tuniac 130706

Posted: Mon Jul 08, 2013 1:30 pm
by Brett
Did you test that importing D:\Torrents\Music\Antonio Vivaldi - The Masterworks (Box Set) [2004] alone causes Tuniac to crash?
You can not 100% trust that folders and files load in the order you expect. Windows kind of finds and loads up files in a directory somewhat randomly.

If you have found that this folder alone is causing Tuniac to crash I would love access to these files and I will reproduce what the problem is.
As this is a very large file set are you able to work out if loading ANY of these files ends in a crash or only certain files?

It would be great to narrow down the troublesome files to as small a file set locally as possible.
If you can find any single file that will crash Tuniac consistently it would be of much help.

Re: Tuniac 130706

Posted: Mon Jul 08, 2013 1:41 pm
by smaragdus
Yes, I did. When I isolated the folder I added it to library separately and Tuniac immediately crashed. Perhaps some other folder might also crash Tuniac but this one does it for sure.

I will send you a private message with your log-in details.

Now I have to go out but I will leave my PC turned on.

Perhaps tonight I will be able to do some further testing adding files to Tuniac separately.

By the way, what does Tuniac mean?

Re: Tuniac 130706

Posted: Mon Jul 08, 2013 1:46 pm
by Brett
Tune + Maniac

Re: Tuniac 130706

Posted: Mon Jul 08, 2013 1:50 pm
by smaragdus
I sent you a private message, I hope it has been delivered, it is in my Outbox but not in Sent messages.

Re: Tuniac 130706

Posted: Mon Jul 08, 2013 2:15 pm
by Brett
Just checked a bunch of your files, they all seem fine so far. You need to pin point if it is a single file in the set.
Start by adding single cd's (or as I prefer, half at a time). Then single files.

At least your APE problem that was effected the other folder is fixed ;)

Re: Tuniac 130706

Posted: Mon Jul 08, 2013 10:20 pm
by smaragdus
I think I found out which sub-directory causes Tuniac to crash:

D:\Torrents\Music\Antonio Vivaldi - The Masterworks (Box Set) [2004]\The Masterworks (CD 23) - Solo Concertos

When I add only this directory it crashes.

When I try to add the files from this directory Tuniac does not crash but does not import these files either.

I checked these files with foobar2000, they are playable.

When I import files to Tuniac it remembers last used directory, but when I import directories it doesn't remember last imported directory.

Re: Tuniac 130706

Posted: Mon Jul 08, 2013 11:58 pm
by Brett
Ok was Tuniacs crappy m3u importer failing due to your titles/long path/filenames.

Grab 130709a and test, it should correctly handle your m3u files.
IN the future aswell you may want to tick the new option "Skip Playlist files during import". It will make imports quicker and also would have avoided this issue :)

Re: Tuniac 130706

Posted: Tue Jul 09, 2013 2:33 am
by smaragdus
I downloaded, installed and tested Tuniac 130709a. I am glad to announce that Tuniac managed to import my entire audio library (including the folder that was responsible for the crashes) without any problems. Thank you for your great work!

As you advised me I unchecked 'Skip Playlist files during import'. By the way I don't quite understand what 'Add single stream from playlist only' means.

Since this test release is very stable I suppose it might be published officially.

I have some other ideas about Tuniac but right now I am too tired to be able to write them down.

I should admit that I didn't think that you would uncover and fix the problem in such a short time, thank you once again.

By the way I could not find in the 'Help' the list of all supported formats. Can Tuniac play all audio formats supported by BASS library?

One last suggestion for today- a full installer that contains all the components Tuniac downloads during the install. I have a computer that is not connected to the internet so I suppose that on it I can only install the 'excluded' installer. Are these downloaded components indispensable for the playback of all supported formats?

Many thanks!

Re: Tuniac 130706

Posted: Tue Jul 09, 2013 9:04 am
by Brett
"Add single stream from playlist only" - Shoutcast streams are typically offered via pls playlist files. The playlist may contain numerous mirrors of the same stream. Tuniac has not clever way to tell these are mirrors of the same file etc. SO if there is 10 streams listed it will create 10 entries in the ML, all the same stream offered by different servers.
The other situation is that people have DI.FM pls lists etc with 50 unique streams and do want all of them to add.
The tick box will mean only the first stream found will be added to the ML and the rest ignored or if all will be added.

Tuniac has its own audio engine with it's own plugin system for plugins and tag readers. It can support any format a plugin exists for.
As you see there is a Tuniac plugin that loads BASS, that plugin "supports" anything BASS supports.
The BASS plugin only decodes the file for Tuniac, the audio data is then handed back to Tuniac for mixing and playback to the soundcard.

Tuniac BASS plugin decodes:
ac3, adx, alac, ape, cdda, flac, mp3/mp2/mp1, aac/m4a/mp4/3gp, midi/xm/it/s3m/mod/mtm/umx, mpc, opus, ogg, ofs/ofr, spx, tak, tta, wav/aiff, wma, wv and radio streaming support(most file formats)
This can be extended with any compatible BASS plugin placed in \Tuniac\bass\ folder.

Tuniac SHN plugin plays shn files.

Tuniac std_Infomanager uses TagLib to read tag info for:
alac, ape, flac, mp3/mp2/mp1, aac/m4a/mp4/3gp, midi/xm/it/s3m/mod, mpc, opus, ogg, spx, tta, wav/aiff, wma and wv

Tuniac has separate Info Managers for TAK, Optimfrog and SHN.

Prior to the BASS plugin being made, Tuniac had separate decoders for alac, ape, flac, mp3, m4a/aac, mpc, ogg, wav, wma, wv and mp3 streams.

Tuniac makes use of these external libs:
libpng, libjpeg-turbo, zlib, taglib, BASS, DirectX XAudio, glew, kissfft, TAK deco, libshnplay.
And tools:
Visual Studio 2012 , CMake, nasm, innosetup.

Hopefully that is all of it :)

Tuniac will not start without the extras it needs. It is not about single formats but external things that Tuniac requires.
Eg VC runtimes and DirectX Xaudio. These may be present on machines already and can be downloaded from Microsoft.
Later I will link the things that are required :)