🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #137491

Re: xnews: how do I set default decode dirs?

#137491
From: Tech Zero
Date: Fri, 14 Nov 2003 19:22
101 lines
4097 bytes
The voice of "Audun Jensen" drifted in on the cyber-winds, 
from the sea of virtual chaos...

> Hi, I'm quite new to xnews an have a question.
> I have different queues for different content. Is it possible to
> set up different decode dirs for the different queues?
> x:\mp3 for the _mp3 queue, x:\video for the _video queue etc.
> 
> So when I tag items in the queue and press F4 (decode) it starts
> decoding into the respective folder without prompting ?


You can use group.ini settings to set both the default Archive & Queue 
files to use base on the group. Then if you've though out your Queue 
naming convention, reuse the same entries to control the default decode 
folders. Like so...

In my Xnews.ini:
  [Display]
  SortOn=Date
  SortOrder=-1
  MultiPartThreading=0
  FullScreen=0
  VerticalSplit=1

  [Misc]
  Queue=Que_Main
  DecodeOpt=1
  AutoGetMsgCounts=1
  AutoResume=1
  AutoResumeDelay=10
  LoadReadArticles=0
  AttachDir=D:\Downloads\
  DecodeDir=D:\Downloads\
  SaveDir=F:\Documents\

In my Groups.ini:
  [~(binaries|^Que_)]
  % Text groups stop here...

  [\.(d|requests)$]
  % Binary discussion groups
  Archive=Multimedia
  SortOn=Score
  SortOrder=-1

  [.*]
  % Global Binary settings
  MultiPartThreading=1
  ColumnLayout=2
  FullScreen=1
  SortOn=Subject
  SortOrder=1
  continue=1

  [media|movie|video]
  AttachDir=D:\Downloads\Movies
  DecodeDir=D:\Downloads\Movies
  Archive=Garbage

  [sound|music|mp3]
  AttachDir=D:\Downloads\Music
  DecodeDir=D:\Downloads\Music
  Archive=Garbage

  [anime|toon|comic]
  AttachDir=D:\Downloads\Graphics\Anime
  DecodeDir=D:\Downloads\Graphics\Comics
  Queue=Que_Toons

  [furry|dragon|disney]
  AttachDir=D:\Downloads\Graphics\Furry
  DecodeDir=D:\Downloads\Graphics\Furry
  Queue=Que_Furry

  [picture]
  AttachDir=D:\Downloads\Graphics
  DecodeDir=D:\Downloads\Graphics

The groups.ini file entries are executed from the top down. So once a 
group match is found no other entries below it are used unless 
"continue=1" is also set. This is a feature fully exploit.

"AttachDir" is when you save a file using the Push-Pin Icon, of from an 
open message. "DecodeDir" is when you download before opening the 
message; as in one that's Queued in ether a group or a Queue file.

All my Queue files use the convention "Que_type", that way my entries 
are reused. So a download from "alt.binaries.pictures.furry" will be 
Queue to the file "Que_Furry", and downloads from ether will default to 
"D:\Downloads\Graphics\Furry" as the decode folder.

If I'm downloading from say "alt.binaries.multimedia.anime" or 
"alt.binaries.multimedia.cartoons" the default Queue is "Que_Main", but 
I create "Que_Movie" groups as needed, so anything decoded from say 
"Que_Movie2" will use "D:\Downloads\Movies" as the default folder. I've 
also set-up a garbage archive for those times I need to save a few 
incomplete parts for latter segment fills...

-- 
The Tech Zero (Maxwell Pollare), Lost in the keys of Xnews...
Technical Details
Message-ID: <Xns94337DD968CZeroOne@news.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!d142-59-101-173.abhsia.telus.NET!not-for-mail
References: <Xns94336FB7AAFDCaudun.jyahoo.no@130.133.1.4>

Show Full Headers
Complete Article Headers
Message-ID: <Xns94337DD968CZeroOne@news.individual.net>
Subject: Re: xnews: how do I set default decode dirs?
Date: Fri, 14 Nov 2003 19:22:17 +0000
From: Tech Zero <spamnet-nov@dragonfur.ca>
References: <Xns94336FB7AAFDCaudun.jyahoo.no@130.133.1.4>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!d142-59-101-173.abhsia.telus.NET!not-for-mail
Newsgroups: news.software.readers
Lines: 101
NNTP-Posting-Host: d142-59-101-173.abhsia.telus.net (142.59.101.173)
X-Trace: news.uni-berlin.de 1068837737 55104629 142.59.101.173 (16 [139626])
User-Agent: Xnews/06.01.10