Revision: 1673
http://gtkpod.svn.sourceforge.net/gtkpod/?rev=1673&view=rev
Author: nicholas
Date: 2007-08-08 00:14:04 -0700 (Wed, 08 Aug 2007)
Log Message:
-----------
Todd's improvements to the Python README (insert libgpod version numbers into
the timestamp access table
Modified Paths:
--------------
libgpod/trunk/bindings/python/README.in
Modified: libgpod/trunk/bindings/python/README.in
===================================================================
--- libgpod/trunk/bindings/python/README.in 2007-08-07 22:48:06 UTC (rev
1672)
+++ libgpod/trunk/bindings/python/README.in 2007-08-08 07:14:04 UTC (rev
1673)
@@ -49,8 +49,8 @@
|Version | Reading | Writing |
| | | |
+------------------------+-------------+-------------+
-|r1669 < libgpod |C style API: |C style API: |
-| |As a unix |As a unix |
+|libgpod >= 0.5.4 |C style API: |C style API: |
+|(SVN >= r1672) |As a unix |As a unix |
| |timestamp |timestamp |
| |integer |integer or a |
| | |Python |
@@ -66,34 +66,34 @@
| | |instance |
| | | |
+------------------------+-------------+-------------+
-|r1433 < libgpod < r1669 |As a unix |As a unix |
-| |timestamp |timestamp |
+|libgpod 0.5.0 - 0.5.2 |As a unix |As a unix |
+|(SVN r1433 - r1669) |timestamp |timestamp |
| |integer |integer |
| | | |
| | | |
+------------------------+-------------+-------------+
-|r1417 < libgpod < r1433 |Not possible |Not possible |
-| |(time_t not |(time_t not |
+|Not in any release |Not possible |Not possible |
+|(SVN r1417 - r1432) |(time_t not |(time_t not |
| |mapped to |mapped to |
| |Python type) |Python type) |
| | | |
+------------------------+-------------+-------------+
-|libgpod < r1417 |As an integer|As an integer|
-| |with a |with a |
+|libgpod <= 0.4.2 |As an integer|As an integer|
+|(SVN < r1417) |with a |with a |
| |2082844800 |2082844800 |
| |offset |offset |
+------------------------+-------------+-------------+
This table means that as a user of the Python bindings, you likely
-want to detect libgpod < r1417. One way would be to test for the
-presence of some of the renamed constants in 0.5:
+want to detect libgpod < 0.5.0. One way would be to test for the
+presence of some of the renamed constants in libgpod >= 0.5.0:
- # libgpod>= 0.5.2 doesn't use mac-type timestamps anymore. check
+ # libgpod >= 0.5.0 doesn't use mac-type timestamps anymore. check
# if we're using a newer version by looking for a renamed constant.
if hasattr(gpod, 'ITDB_SPL_STRING_MAXLEN'):
track.time_released = int(time.mktime(ipod_date)
else:
track.time_release = int(time.mktime(ipod_date) + 2082844800
-(Since r1633 there exists a gpod.version_info tuple, which will make
-such things easier to cope with in the future.
+(Since libgpod 0.5.4 (SVN r1633) there exists a gpod.version_info
+tuple, which will make such things easier to cope with in the future.)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2