can't remember playlist of files from NTFS partition

Discuss Decibel, a high quality audio player.
jayman
Posts: 4
Joined: Tue Apr 12, 2011 2:37 pm
Location: Seoul, Korea

can't remember playlist of files from NTFS partition

Post by jayman » Tue Apr 12, 2011 2:50 pm

i have 3 physical HDDs in my machine, a HFS with snow leopard, an NTFS for windows 7, and a 2TB NTFS volume for storage.
i currently have paragon NTFS 8 installed and access the NTFS storage volume for static storage datas.

i don't know if the problem is because of the NTFS partition or because the music files are located in a physically different volume from snow leopard.
decibel remembers its playlist fine when i have the files in my HFS volume, and i do have the remember playlist option set.

would this be fixable in the next version? or is it something that can't really get fixed?

for a workaround i have a .m3u playlist saved and use it to load my playlist. but this seems to also have its problems, it seems to preload every files rather than just keep the list and read the actual files when they actually need to be played. this seems to be a problem when having a huge playlist with several hundred songs, it takes a while to load the list.

thank you for a great player, i hope to see enhancements!

bfn
Posts: 25
Joined: Sat Feb 07, 2009 2:45 pm

Re: can't remember playlist of files from NTFS partition

Post by bfn » Thu Apr 14, 2011 6:54 am

I'm experiencing the exact same problem on my NAS from QNAP, which is most likely running under some LINUX derivate. So I don't think it is an NTFS problem.

I reported this to Stephen and he has opened a bug report.

With Play, I never had this problem.

Your workaround with the .m3u playlist is a good idea, but as you pointed out, it takes a very long time to load. In my case, I have to be patient for almost 30 minutes!
Last edited by bfn on Thu Apr 14, 2011 6:43 pm, edited 1 time in total.

bacardi
Posts: 10
Joined: Thu Apr 07, 2011 8:41 pm

Re: can't remember playlist of files from NTFS partition

Post by bacardi » Thu Apr 14, 2011 12:11 pm

same here, I have my music on an NTFS partition and have to add everything every launch, that's probably because OSX doesn't write to NTFS partitions and maybe Decibel writes some small temp files to store the playlists to the music folder or something?

User avatar
sbooth
Site Admin
Posts: 2450
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: can't remember playlist of files from NTFS partition

Post by sbooth » Fri Apr 15, 2011 10:45 pm

One question about the way things are (or actually aren't) working- do the tracks on your NTFS partitions show up in the playlist window on launch and the problem comes when trying to play them? Or do you not get that far?

jayman
Posts: 4
Joined: Tue Apr 12, 2011 2:37 pm
Location: Seoul, Korea

Re: can't remember playlist of files from NTFS partition

Post by jayman » Sat Apr 16, 2011 6:33 am

sbooth wrote:One question about the way things are (or actually aren't) working- do the tracks on your NTFS partitions show up in the playlist window on launch and the problem comes when trying to play them? Or do you not get that far?
no, when i launch the program the list is gone.
when i have a mixed list of files from HFS and NTFS, only files from the NTFS are not remembered.
and as bfn mentioned, Play does not have this problem.

according to feedbacks on this thread, it seems this issue affects all non-HFS drives?

bfn
Posts: 25
Joined: Sat Feb 07, 2009 2:45 pm

Re: can't remember playlist of files from NTFS partition

Post by bfn » Sat Apr 16, 2011 7:26 am

sbooth wrote:One question about the way things are (or actually aren't) working- do the tracks on your NTFS partitions show up in the playlist window on launch and the problem comes when trying to play them? Or do you not get that far?
The tracks don't show up on launch, I'm always starting with an empty playlist window.

User avatar
sbooth
Site Admin
Posts: 2450
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: can't remember playlist of files from NTFS partition

Post by sbooth » Sat Apr 16, 2011 4:50 pm

Play doesn't have this problem because it remembers files by path. Decibel remembers files by alias (bookmark) so that if you move a file dB will still be able to find it.

Enabling logging would help me to determine why things aren't working. To enable logging all that is required is to save a logging configuration file in ~/Library/Application Support/Decibel/. Here is a sample configuration file:

Code: Select all

log4j.appender.logfile=org.apache.log4j.RollingFileAppender
log4j.appender.logfile.File=${user.home}/Library/Logs/Decibel.log
log4j.appender.logfile.MaxFileSize=1MB
log4j.appender.logfile.MaxBackupIndex=1
log4j.appender.logfile.layout=TTCCLayout
log4j.appender.logfile.layout.ContextPrinting=enabled
log4j.appender.logfile.layout.DateFormat=ISO8601

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d [%t] %-5p %c - %m%n

log4j.rootLogger=debug, stdout, logfile
If you save that to ~/Library/Application Support/Decibel/log4cxx.properties then debugging output will be saved to ~/Library/Logs/Decibel.log. Once that's working please post the log here so I can take a look.

RonaldPR
Posts: 433
Joined: Tue May 30, 2006 8:27 am
Location: Amsterdam, Netherlands

Re: can't remember playlist of files from NTFS partition

Post by RonaldPR » Sat Apr 16, 2011 6:30 pm

Do not Mac aliases work only with files on HFS/HFS+ volumes? Can Mac aliases work with files on a NTFS volume?

jayman
Posts: 4
Joined: Tue Apr 12, 2011 2:37 pm
Location: Seoul, Korea

Re: can't remember playlist of files from NTFS partition

Post by jayman » Sun Apr 17, 2011 10:14 am

i opened decibel, added a mp3 file from NTFS, played, then quit, then reopened decibel.

here is the log:

Code: Select all

2011-04-17 19:05:46,391 [0x7fff70bbbca0] INFO org.sbooth.Decibel - Opening log
2011-04-17 19:05:46,422 [0x7fff70bbbca0] DEBUG org.sbooth.AudioEngine.AudioPlayer - Opening output for device 0x102 (E-MU 0404 | USB)
2011-04-17 19:05:46,422 [0x7fff70bbbca0] DEBUG org.sbooth.AudioEngine.AudioPlayer - Setting output device UID to EMUUSBAudioEngine:E-MU Systems, Inc.:E-MU 0404 | USB:fd600000:2
2011-04-17 19:05:46,422 [0x7fff70bbbca0] DEBUG org.sbooth.AudioEngine.AudioPlayer - Setting output device ID to 0x102
2011-04-17 19:05:46,563 [0x7fff70bbbca0] DEBUG org.sbooth.AudioEngine.AudioPlayer - Digital volume set to 1
2011-04-17 19:06:17,487 [0x11442f000] INFO org.sbooth.Decibel - Added 1 playlist entries in 0.02173 seconds (0.02173 seconds per file)
2011-04-17 19:06:20,154 [0x7fff70bbbca0] DEBUG org.sbooth.Decibel - Starting playback for "0x10323d860"
2011-04-17 19:06:20,155 [0x7fff70bbbca0] DEBUG org.sbooth.AudioEngine.AudioPlayer - Enqueuing "01-deadmau5-hr_8938_cephei_(original_mix).mp3"
2011-04-17 19:06:20,155 [0x7fff70bbbca0] DEBUG org.sbooth.AudioEngine.AudioPlayer - Device preferred stereo channels: 1 2
2011-04-17 19:06:20,155 [0x7fff70bbbca0] DEBUG org.sbooth.AudioEngine.AudioPlayer - Stream 0x104 information: 
2011-04-17 19:06:20,155 [0x7fff70bbbca0] DEBUG org.sbooth.AudioEngine.AudioPlayer -   Virtual format: 4 ch, 44100 Hz, 'lpcm' (0x00000009) 32-bit little-endian float
2011-04-17 19:06:20,155 [0x7fff70bbbca0] DEBUG org.sbooth.AudioEngine.AudioPlayer -   Starting channel: 1
2011-04-17 19:06:20,155 [0x7fff70bbbca0] DEBUG org.sbooth.AudioEngine.AudioPlayer -   Channel map: 
2011-04-17 19:06:20,155 [0x7fff70bbbca0] DEBUG org.sbooth.AudioEngine.AudioPlayer -     0 -> 0
2011-04-17 19:06:20,155 [0x7fff70bbbca0] DEBUG org.sbooth.AudioEngine.AudioPlayer -     1 -> 1
2011-04-17 19:06:20,156 [0x100fa7000] DEBUG org.sbooth.AudioEngine.AudioPlayer Decoding Thread - Decoding starting for "01-deadmau5-hr_8938_cephei_(original_mix).mp3"
2011-04-17 19:06:20,156 [0x100fa7000] DEBUG org.sbooth.AudioEngine.AudioPlayer Decoding Thread - Decoder format: 2 ch, 44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
2011-04-17 19:06:20,156 [0x100fa7000] DEBUG org.sbooth.AudioEngine.AudioPlayer Decoding Thread - Decoder channel layout: kAudioChannelLayoutTag_Stereo (0x00650002)
2011-04-17 19:06:20,157 [0x1164b1000] DEBUG org.sbooth.AudioEngine.AudioPlayer - -> kAudioDevicePropertyDeviceIsRunning [0x102]: True
2011-04-17 19:06:22,137 [0x1164b1000] DEBUG org.sbooth.AudioEngine.AudioPlayer - -> kAudioDevicePropertyDeviceIsRunning [0x102]: False
2011-04-17 19:06:23,701 [0x7fff70bbbca0] DEBUG org.sbooth.AudioEngine.AudioPlayer - Setting stream 0x104 physical format to: 4 ch, 44100 Hz, 'lpcm' (0x0000000c) 24-bit little-endian signed integer
2011-04-17 19:06:27,696 [0x7fff70bbbca0] INFO org.sbooth.Decibel - Opening log
2011-04-17 19:06:27,728 [0x7fff70bbbca0] DEBUG org.sbooth.AudioEngine.AudioPlayer - Opening output for device 0x102 (E-MU 0404 | USB)
2011-04-17 19:06:27,728 [0x7fff70bbbca0] DEBUG org.sbooth.AudioEngine.AudioPlayer - Setting output device UID to EMUUSBAudioEngine:E-MU Systems, Inc.:E-MU 0404 | USB:fd600000:2
2011-04-17 19:06:27,728 [0x7fff70bbbca0] DEBUG org.sbooth.AudioEngine.AudioPlayer - Setting output device ID to 0x102
2011-04-17 19:06:27,866 [0x7fff70bbbca0] DEBUG org.sbooth.AudioEngine.AudioPlayer - Digital volume set to 1
2011-04-17 19:06:27,869 [0x100e81000] WARN org.sbooth.Decibel.PlaylistEntry - Error resolving bookmark: 0x113df49c0
2011-04-17 19:06:29,799 [0x7fff70bbbca0] DEBUG org.sbooth.AudioEngine.AudioPlayer - Setting stream 0x104 physical format to: 4 ch, 44100 Hz, 'lpcm' (0x0000000c) 24-bit little-endian signed integer
 
4/17/11 7:06:27 PM [0x0-0x3e03e].org.sbooth.Decibel[431] 2011-04-17 19:06:27,869 [0x100e81000] WARN org.sbooth.Decibel.PlaylistEntry - Error resolving bookmark: 0x113df49c0

as RonaldPR mentioned it seems to be due to the bookmark incompatibility with non-HFS volumes.
how about supporting a path key entry after the bookmark url key in playlist.plist for failsafe measures?

RonaldPR
Posts: 433
Joined: Tue May 30, 2006 8:27 am
Location: Amsterdam, Netherlands

Re: can't remember playlist of files from NTFS partition

Post by RonaldPR » Sun Apr 17, 2011 10:55 am

Symlinks to files on a NTFS volume will work, but those will not have the additional benefit that real Mac aliases have of keeping trace of referenced files when moved.

jayman
Posts: 4
Joined: Tue Apr 12, 2011 2:37 pm
Location: Seoul, Korea

Re: can't remember playlist of files from NTFS partition

Post by jayman » Mon Apr 25, 2011 5:14 am

did the new version only fix remembering files from NAS?
files from local NTFS partitions still aren't remebered... :(

bfn
Posts: 25
Joined: Sat Feb 07, 2009 2:45 pm

Re: can't remember playlist of files from NTFS partition

Post by bfn » Tue Apr 26, 2011 4:14 pm

jayman wrote:did the new version only fix remembering files from NAS?
files from local NTFS partitions still aren't remebered... :(
If you are referring to version 1.1: It didn't fix the problem with my NAS either.

User avatar
sbooth
Site Admin
Posts: 2450
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: can't remember playlist of files from NTFS partition

Post by sbooth » Tue Apr 26, 2011 8:31 pm

Thanks for all the info; I think I have enough now to fix the problem. The thing I wasn't sure of is whether bookmarks were being successfully created for the NTFS files. It seems they are created successfully but cannot be restored.

bacardi
Posts: 10
Joined: Thu Apr 07, 2011 8:41 pm

Re: can't remember playlist of files from NTFS partition

Post by bacardi » Sat Apr 30, 2011 1:04 pm

interesting thing, i actually use the NTFS tuxera driver on my Mac, and being able to write to NTFS, the list still isn't saved on each launch, i guess that's the limitation of the alias or whatever in OS X ;)

bfn
Posts: 25
Joined: Sat Feb 07, 2009 2:45 pm

Re: can't remember playlist of files from NTFS partition

Post by bfn » Wed May 18, 2011 11:25 am

sbooth wrote:Thanks for all the info; I think I have enough now to fix the problem. The thing I wasn't sure of is whether bookmarks were being successfully created for the NTFS files. It seems they are created successfully but cannot be restored.
With version 1.2, the problem is solved now, all my files show up. However, it is taking a lot of time starting or quitting Decibel. I've added about 9000 FLAC files to the playlist, and starting up Decibel takes now a good three minutes. Quitting is a little bit faster. I wonder if this could be improved. Again, with Play this is no problem.

Post Reply