Old 12-09-2011, 05:59 AM   #196
zag2me
Junior Member
 
Join Date: Feb 2006
Posts: 21
Default

Awesome work sir!

Code:
[R] 226-| + CRC-Check: oK!                                 |
[R] 226-+-=[FLACtag]=-----------------------===------------+
[R] 226-| Title  : Det Nye Or (Bonus)                      |
[R] 226-| Artist : Michael Bundesen / VA                   |
[R] 226-| Album  : Now Christmas 2011                      |
[R] 226-| Genre  : Pop                                     |
[R] 226-| Year   : 2011                                    |
I still get m3u is banned file though. How do I turn this off?

EDIT: nevermind, found out I had to add m3u to "set ioNJ(banned_allowed_files)" list. Working now
__________________
.:: ioFTPD v7.7.3 | ioNiNJA.1.0.BETA.4 | nxTools v1.2.1 :..

Last edited by zag2me; 12-09-2011 at 06:22 AM.
zag2me is offline   Reply With Quote
Old 12-09-2011, 08:33 AM   #197
Trichlorethen
Junior Member
ioFTPD Foundation User
 
Join Date: Nov 2004
Posts: 23
Thumbs up

yea, i maybe messed up some things, did a clean install now. The flac plugin works like o_dog says.

@thedepartedone: this was just a part of what i changed in NiNJALiB.tcl not the whole code, wasn`t sure if i could paste or link it here. and yes i`ve got id3 info on CWD running.
Trichlorethen is offline   Reply With Quote
Old 12-09-2011, 09:58 AM   #198
thedepartedone
Member
 
Join Date: Apr 2009
Posts: 30
Default

hmm doesnt seem to work for me, this is what i have....:

if {$sample != ""} {
append message "$ioNJ(message_sample)"
}
if {[lindex $extrainfo 0] == 0} {
append message "$ioNJ(message_mp3)"
}
if {[lindex $extrainfo2 0] == 0} {
append message "$ioNJ(message_flac)"
} elseif {[lindex $extrainfo 0] == 3} {
append message "$ioNJ(message_mv)"
} elseif {[lindex $extrainfo 0] == 1} {
append message "$ioNJ(message_imdbinfo)"
}


did you define what $extrainfo2 is and where?
thedepartedone is offline   Reply With Quote
Old 12-09-2011, 10:46 AM   #199
Trichlorethen
Junior Member
ioFTPD Foundation User
 
Join Date: Nov 2004
Posts: 23
Default

yes!

find the lines with extrainfo in NiNJALiB.tcl and add the following parts

Code:
	  set extrainfo     [readchattr 25]
	  set extrainfo2    [readchattr 26]
Code:
			set extrainfo [readparentchattr 25]
			set extrainfo2 [readparentchattr 26]
Quote:
# MP3INFO
if {[lindex $extrainfo2 0] == 0} {
append replacevar " %audio_artist {[lindex $extrainfo2 5]} %audio_album {[lindex $extrainfo2 3]} %audio_title {[lindex $extrainfo2 end-1]} %audio_bitrate {[lindex $extrainfo2 2]} %audio_producer {[lindex $extrainfo2 6]} %audio_description {[lindex $extrainfo2 8]} %audio_genre {[lindex $extrainfo2 7]} %audio_year {[lindex $extrainfo2 4]} %audio_samplerate {[lindex $extrainfo2 15]} %audio_writeapp {[lindex $extrainfo2 10]} %audio_bitdepth {[lindex $extrainfo2 16]} %audio_language {[lindex $extrainfo2 17]} %audio_catalog {[lindex $extrainfo2 18]} %audio_duration {[lindex $extrainfo2 1]} %audio_riptool {[lindex $extrainfo2 19]} %audio_type {[lindex $extrainfo2 end]} %audio_channels {[lindex $extrainfo2 14]} %audio_media {[lindex $extrainfo2 13]} %audio_recorddate {[lindex $extrainfo2 9]} %audio_retail {[lindex $extrainfo2 12]} %audio_ripdate {[lindex $extrainfo2 11]}"
set release_type "FLAC"
}
if {[lindex $extrainfo 0] == 0} {
append replacevar " %audio_artist {[lindex $extrainfo 1]} %audio_album {[lindex $extrainfo 2]} %audio_title {[lindex $extrainfo 3]} %audio_bitrate {[lindex $extrainfo 4]} %audio_mpeglayer {MPEG [lindex $extrainfo 5] Layer [lindex $extrainfo 6]} %audio_chanmode {[lindex $extrainfo 7]} %audio_genre {[lindex $extrainfo 8]} %audio_year {[lindex $extrainfo 9]} %audio_samplerate {[lindex $extrainfo 10]} %audio_lame_version {[lindex $extrainfo 11]} %audio_lame_preset {[lindex $extrainfo 12]} %audio_original {[lindex $extrainfo 13]} %audio_padding {[lindex $extrainfo 14]} %audio_duration {[lindex $extrainfo 15]} %audio_track_nr {[lindex $extrainfo 16]} %audio_vbr_old_or_new {[lindex $extrainfo 18]} %audio_vbr {[lindex $extrainfo 17]}"
} elseif {[lindex $extrainfo 1] == 0} {
Code:
	if {[lindex $extrainfo 0] == 0} {
		append message "$ioNJ(message_mp3)"
	} 
	if {[lindex $extrainfo2 0] == 0} {
		append message "$ioNJ(message_flac)"
	} elseif {[lindex $extrainfo 0] == 3} {
this adds support for id3 info on CWD

Last edited by Trichlorethen; 12-09-2011 at 10:56 AM.
Trichlorethen is offline   Reply With Quote
Old 12-09-2011, 12:13 PM   #200
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

an update will be released in afew days where there is alot of changes to those settings so you can wait too.
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 12-09-2011, 12:15 PM   #201
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

zag2me: acutally it creates the m3u file in the future.
I just forgot to include an updated ninjalib.tcl.....woops =)
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 12-09-2011, 04:28 PM   #202
thedepartedone
Member
 
Join Date: Apr 2009
Posts: 30
Default

Trichlorethen, works like a charm... thanks for the help
thedepartedone is offline   Reply With Quote
Old 12-09-2011, 06:03 PM   #203
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

New update up now. Some fixes to CWD command and new features. Like Tvinfo (only on new shows or resorted). Fix to rescan and a few minor things like m3u creation on flac upload etc
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 12-09-2011, 07:17 PM   #204
Henkie2
Member
 
Join Date: Dec 2011
Posts: 58
Default

Thanks for the new updates, flac is running well. Only my imdb is not working anymore, no sorting/announce etc.

Any one else got this as well?
Henkie2 is offline   Reply With Quote
Old 12-09-2011, 08:15 PM   #205
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

Henike2: got an message about something not working. Updates only relates to previous release. Otherwise work backwards or do a clean install.

Also, after replacing the files, always restart the server
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 12-09-2011, 11:29 PM   #206
thedepartedone
Member
 
Join Date: Apr 2009
Posts: 30
Default

all checks out... great work odog
thedepartedone is offline   Reply With Quote
Old 12-10-2011, 10:28 AM   #207
SRH99
Member
 
Join Date: Mar 2010
Posts: 44
Default

Any help much appreciated

Code:
12-10-2011 16:23:43 "../scripts/ioninja/plugins/FLAC.itcl" terminated abnormally
--- ErrorInfo ---
can't read "art": no such variable
    while executing
"if {$art != "-1"} {
			set ok [writefile $afile [join [lreplace $artists_idx $art $art[list $a1 $artist [file join $artists ${artist}[file extension ..."
    (procedure "audioscrobbler_artist" line 50)
    invoked from within
"audioscrobbler_artist $artist"
    (procedure "get_music_artist" line 9)
    invoked from within
"get_music_artist $artist $dir"
also the sorted/flac/ folder looks kinda strange, eg. the 2.artists only contains -'s

everything else works great (incl. the sorted/mp3 folder)
Thanks..
SRH99 is offline   Reply With Quote
Old 12-10-2011, 10:32 AM   #208
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

in ..\scripts\ioNiNJA\Artists
create a textfile called artists.db
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 12-10-2011, 10:52 AM   #209
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

there is however a major bug i just noticed. Will look into it and upload a fix tonight
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 12-10-2011, 10:56 AM   #210
SRH99
Member
 
Join Date: Mar 2010
Posts: 44
Default

Quote:
Originally Posted by o_dog View Post
in ..\scripts\ioNiNJA\Artists
create a textfile called artists.db
bang on, that did the trick, thank you once again..
SRH99 is offline   Reply With Quote
Reply

Tags
added, fixes, replace, thread, update

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:52 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)