bugcastget - Bugs: bug #17397, --list buggy in 0.9.5

 
 

bug #17397: --list buggy in 0.9.5

Submitted by:  Christian Folini <dune73>
Submitted on:  Thu 10 Aug 2006 04:35:50 PM UTC  
 
Category: DocumentationSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Marius L. Jøhndal <mariuslj>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 12 Nov 2006 08:27:07 PM UTC, comment #3:

The castget.1 man page in CVS should now make the intended behaviour clear.

Marius L. Jøhndal <mariuslj>
Project AdministratorIn charge of this item.
Thu 09 Nov 2006 03:56:02 PM UTC, comment #2:

Wow. It's been a while.

If this is the intended behaviour, then that's fine with me.
I did not grasp it from the documentation though.

Christian Folini <dune73>
Thu 09 Nov 2006 03:30:38 PM UTC, comment #1:

It might very well be that I've misunderstood something in your report, but this seems to be the intended behaviour: The -l switch lists the available enclosures that have not yet been downloaded.

This isn't at all clear from the documentation, so I'm changing this to a doc bug. Is this all right with you, or did you have something else in mind?

Marius L. Jøhndal <mariuslj>
Project AdministratorIn charge of this item.
Thu 10 Aug 2006 04:35:50 PM UTC, original submission:

Castget seems to be buggy when using the
0.9.5 version with --list:


dune73@coloppl ~>castget -l drs2-kontext
Listing channel drs2-kontext...
dune73@coloppl ~>cat .castgetrc
...
[drs2-kontext]
url=http://pod.drs.ch/kontext_mpx.xml
spool=/mnt/mp3/podcasts/drs2_kontext
id3leadartist=DRS2
id3album=Kontext
...
dune73@coloppl ~>ls -l /mnt/mp3/podcasts/drs2_kontext/
total 66560
-rwxr--r-- 1 dune73 dune73 13602944 2006-08-10 16:31 kontext_20060804.mp3
-rwxr--r-- 1 dune73 dune73 13281408 2006-08-10 16:22 kontext_20060807.mp3
-rwxr--r-- 1 dune73 dune73 13281408 2006-08-10 16:21 kontext_20060808.mp3
-rwxr--r-- 1 dune73 dune73 14127232 2006-08-10 16:20 kontext_20060809.mp3
-rwxr--r-- 1 dune73 dune73 12568704 2006-08-10 16:19 kontext_20060810.mp3
dune73@coloppl ~>cat .castget/drs2-kontext.xml
<?xml version="1.0" encoding="UTF-8"?>
<channel version="1.0" rsslastfetched="Thu, 10-Aug-2006 14:37:53 GMT">
<enclosure url="http://pod.drs.ch/mp3/kontext/kontext_20060810.mp3" downloadtime="Thu, 10-Aug-2006 14:21:36 GMT"/>
<enclosure url="http://pod.drs.ch/mp3/kontext/kontext_20060809.mp3" downloadtime="Thu, 10-Aug-2006 14:22:25 GMT"/>
<enclosure url="http://pod.drs.ch/mp3/kontext/kontext_20060807.mp3" downloadtime="Thu, 10-Aug-2006 14:23:59 GMT"/>
<enclosure url="http://pod.drs.ch/mp3/kontext/kontext_20060808.mp3" downloadtime="Thu, 10-Aug-2006 14:23:08 GMT"/>
<enclosure url="http://pod.drs.ch/mp3/kontext/kontext_20060804.mp3" downloadtime="Thu, 10-Aug-2006 14:33:45 GMT"/>
</channel>


The problems seems to be in libcastget_channel_list in channel.c

I have commented out the line starting with
if (!g_hash_table_lookup_extended ...
and now it works. I do not understand what it does anyways. :)

Well' i am no c hacker, so this might be erronous. Just check it.

Otherwise a nifty tool.

Waiting for the "Expansion macros for tagging." feature.

Cheers,

dune73

Christian Folini <dune73>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 12 Nov 2006 08:27:07 PM UTCmariusljStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Thu 09 Nov 2006 03:30:38 PM UTCmariusljCategoryNone=>Documentation
  Assigned toNone=>mariuslj
Thu 10 Aug 2006 04:35:50 PM UTCdune73Carbon-Copy-=>Added dune73

Back to the top


Powered by Savane 3.1-cleanup1