I added that at the end of the tagfunctions array in Info.pm but it
still not playing (I stopped the server, deleted the cache and
restarted it)

I get this in the log file:

> 
> 2005-11-10 13:43:07.6950 Matched Format: flc Type: mod Command:
> [mikmod] -q --norc -X -i -d 5 $FILE$ | [flac] -cs --compression-level-0
> --totally-silent --endian little --channel 2 --bps 16 --sample-rate
> 44100 --sign signed - 
> 2005-11-10 13:43:07.6957 opening next song (old format: , new: flc)
> current playmode: stop
> 2005-11-10 13:43:07.6963 Adding song index 0 to song queue
> 2005-11-10 13:43:07.6970 Song queue is now 0,0
> 2005-11-10 13:43:07.6983 openSong on:
> file:///home/musics/audio/mod/shadowru.mod
> 2005-11-10 13:43:07.6997 Got /home/musics/audio/mod/shadowru.mod from
> file url file:///home/musics/audio/mod/shadowru.mod
> 2005-11-10 13:43:07.7007 extracted: /home/musics/audio/mod/shadowru.mod
> from file:///home/musics/audio/mod/shadowru.mod
> 2005-11-10 13:43:07.7039 openSong: getting duration  , size , endian 
> and offset 0 for file:///home/musics/audio/mod/shadowru.mod
> 2005-11-10 13:43:07.7045 openSong: not bothering opening file with zero
> size or duration
> 2005-11-10 13:43:07.7051 Error opening current track, so mark it as
> already played
> 2005-11-10 13:43:07.7071 Backtrace:
> 
> frame 0: Slim::Player::Source::playmode
> (/home/slimserver/Slim/Player/Source.pm line 838)
> frame 1: Slim::Player::Source::gotoNext
> (/home/slimserver/Slim/Player/Source.pm line 404)
> frame 2: Slim::Player::Source::playmode
> (/home/slimserver/Slim/Control/Command.pm line 256)
> frame 3: Slim::Control::Command::execute
> (/home/slimserver/Slim/Web/HTTP.pm line 672)
> frame 4: Slim::Web::HTTP::processURL
> (/home/slimserver/Slim/Web/HTTP.pm line 537)
> frame 5: Slim::Web::HTTP::processHTTP
> (/home/slimserver/Slim/Networking/Select.pm line 111)
> frame 6: Slim::Networking::Select::select
> (/home/slimserver/slimserver.pl line 634)
> frame 7: main::idle (/home/slimserver/slimserver.pl line 570)
> frame 8: main::main (/home/slimserver/slimserver.pl line 1226)
> 

I think my Mod.pm isn't used (or has a bug which prevent it from being
used) because if I browse the music folder it doesn't display any
bitrate and duration information, only file size. 

I don't know perl at all, is there a way for me to "manually" call my
gettag function with a filename as parameter and check that the syntax
is correct and what it returns?

Thanks for your help.


-- 
WildCoder
------------------------------------------------------------------------
WildCoder's Profile: http://forums.slimdevices.com/member.php?userid=1827
View this thread: http://forums.slimdevices.com/showthread.php?t=17845

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to