Libgpod code Log


Commit Date  
[5a0a18] by Todd Zullinger Todd Zullinger

change CVS references and links to SVN

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1509 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-05-30 12:33:18 Tree
[087014] by Jorg Schuler Jorg Schuler

* src/db-artwork-parser.c
src/db-artwork-writer.c
src/itdb_device.c
src/itdb_itunesdb.c
src/itdb_private.h:
Fixed segfault when parsing photo databases introduced by the
new handling of timestamps (all timestamps exported are
host-local time_t).
itdb_time_time_t_to_mac() and itdb_time_mac_to_time_t() were
renamed to device_*() and take a pointer to an Itdb_Device
instead of a pointer to an Itdb_iTunesDB structure as the latter
does not exist in case of photo databases. All references to
those two functions were changed accordingly and the functions
themselves were moved from itdb_itunesdb.c to itdb_device.c.

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1439 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-05-27 14:58:41 Tree
[87badf] by Todd Zullinger Todd Zullinger

fix a potential crasher (Raymond Walsh)

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1438 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-05-23 15:30:36 Tree
[384ff7] by Jorg Schuler Jorg Schuler

* src/itdb_device.c (itdb_set_sysinfo): Corrected comment. Thanks
to Daniele Forsi.

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1437 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-05-19 03:29:43 Tree
[6e4841] by Jorg Schuler Jorg Schuler

2007-05-19 Jorg Schuler <jcsjcs at users.sourceforge.net>

* src/itdb_itunesdb.c (playcounts_init): C&P error stat'ing the
wrong file. Thanks to Raymond Walsh.

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1436 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-05-19 02:10:14 Tree
[28588b] by Jorg Schuler Jorg Schuler

* src/itdb.h: warning about adding string fields
src/itdb_track_duplicate: duplicate new string fields
(sort_*). Thanks to Raymond Walsh.

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1435 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-05-17 10:39:36 Tree
[71d4e6] by Todd Zullinger Todd Zullinger

treat time_t as long

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1434 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-05-13 17:44:07 Tree
[5a9f77] by Todd Zullinger Todd Zullinger

treat time_t as long

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1433 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-05-13 17:30:27 Tree
[dd38d1] by Jorg Schuler Jorg Schuler

* TROUBLESHOOTING: added a note about the 'padding[]'
incompatibility with older versions of gcc.

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1432 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-05-13 04:17:09 Tree
[156f1c] by Todd Zullinger Todd Zullinger

treat time_t as int

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1431 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-05-12 20:01:11 Tree
[dcbdf7] by Todd Zullinger Todd Zullinger

Minor documentation cleanups.

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1430 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-05-12 07:21:55 Tree
[edc63f] by Jorg Schuler Jorg Schuler

* src/itdb_itunesdb.c: remove non-sense check (itdb != NULL) when
itdb can never be NULL. Thanks to Raymond Walsh.

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1429 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-05-10 11:27:10 Tree
[2d30d5] by Jorg Schuler Jorg Schuler

* src/itdb_itunesdb.c:
Fix for 64 bit systems: don't show "last played" data as played
in the last century... Thanks to Christophe.

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1428 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-05-07 12:06:46 Tree
[fdd5fe] by Jorg Schuler Jorg Schuler

* src/itdb_artwork.c
src/itdb_itunesdb.c
tests/test-photos.c:
Corrected some typos. Thanks to Daniele Forsi.

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1427 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-05-07 11:42:09 Tree
[050a52] by Jorg Schuler Jorg Schuler

* src/itdb_itunesdb.c
src/itdb_device.c
src/itdb_private.h
src/itdb.h:
New API functions to facilitate copying to the iPod in a
background thread and implementation of own copying code.

itdb_cp_get_dest_filename(): obtain a valid filename on the iPod
to where a track can be copied. This function can be used in a
thread-safe way.

itdb_cp_finalize(): to be called after the track was
copied to the iPod to update some fields in the Itdb_Track
structure. This function can also be used in a thread-safe way.

You can use the already existing function itdb_cp() to copy a
track to the iPod and itdb_cp_track_to_ipod() remains available
unchanged in functionality.

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1426 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-05-06 15:00:03 Tree
[117ec7] by Jorg Schuler Jorg Schuler

* src/itdb_itunesdb.c (itdb_cp_track_to_ipod): removed static
variable "dir_num" which was initialized once and cycled through
for each track transfered. This doesn't seem right since
different iPods with different number of music directories may
be connected at the same time, and itdb_cp_track_to_ipod() may
be called for different iTunesDBs at the same in in a threaded
environment. Since there is no inherent value in cycling through
the directories, a random directory is selected each time.

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1425 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-05-01 03:40:38 Tree
[f29ff4] by Jorg Schuler Jorg Schuler

Added get-timezone into ignore list.

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1424 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-05-01 03:03:46 Tree
[021025] by Jorg Schuler Jorg Schuler

* src/itdb_playlist.c (compMostOftenPlayed, compLeastOftenPlayed):
compaered time_added instead of playcount (thanks to Daniele
Forsi).

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1423 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-04-30 00:46:48 Tree
[34876a] by Jorg Schuler Jorg Schuler

* src/itdb_itunesdb (itdb_parse_internal): fixed compile warning
(thanks to Daniele Forsi).

* tests/test-ls.c (display_recently_played): fixed compile warning
(thanks to Daniele Forsi).

* tests/get-timezone.c: added to CVS (thanks to Daniele Forsi).

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1422 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-04-30 00:40:55 Tree
[2baf1f] by Jorg Schuler Jorg Schuler

* docs/reference/tmpl/track.sgml
src/itdb.h
src/itdb_itunesdb.c
src/itdb_track.c: Added the following fields to Itdb_Track:

sort_artist
sort_title
sort_album
sort_albumartist
sort_composer
sort_tvshow

These fields can (theoretically) be used to force a certain sort
order on the iPod when displaying by artist, album...

Even though these fields are present in the iTunesDB, they are
discarded when reading the iTunesDB and applications must always
set them before writing the iTunesDB again. This is to avoid
that the fields 'artist' and 'sort_artist' accidentially get out
of sync.

libgpod will automatically create a sort_artist key for you if
artist is of the type 'The Artist' and sort_artist is not
set. The sort key used in that case is 'Artist, The' (followed
by five time 0x01), even though sort_artist itself will not be
touched.

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1421 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-04-28 08:55:49 Tree
[afc8dc] by Jorg Schuler Jorg Schuler

* src/itdb.h: added padding to exported structures so new entries
can be added without loosing backward run-time compatibility.

Comments welcome.

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1420 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-04-28 02:54:05 Tree
[049834] by Jorg Schuler Jorg Schuler

Namespace cleanup part II (python bindings and documentation).

structs:
SPLPref -> Itdb_SPLPref
SPLRules -> Itdb_SPLRules
SPLRule -> Itdb_SPLRule
SPL_* -> ITDB_SPL_*
enums, #defines:
LIMITTYPE_* -> ITDB_LIMITTYPE_*
LIMITSORT_* -> ITDB_LIMITSORT_*
SPLMATCH_* -> ITDB_SPLMATCH_*
SPLACTION_* -> ITDB_SPLACTION_*
SPLFIELD_* -> ITDB_SPLFIELD_*
SPLDATE_IDENTIFIER -> ITDB_SPL_DATE_IDENTIFIER
splft_* -> ITDB_SPLFT_*
splat_* -> ITDB_SPLAT_*
enum SPLAction -> ItdbSPLAction
enum SPLActionType -> ItdbSPLActionType
enum SPLField -> ItdbSPLField
enum SPLFieldType -> ItdbSPLFieldType
enum ItdbLimitType (new)
enum ItdbLimitSort (new)
enum ItdbSPLMatch (new)
removed SPL_MAXSTRINGLENGTH (use ITDB_SPL_STRING_MAXLEN)

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1419 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-04-27 16:04:44 Tree
[1ecc10] by Jorg Schuler Jorg Schuler

* src/itdb.h
src/itdb_itunesdb.c
src/itdb_playlist.c
src/itdb_private.h: namespace cleanup. Applications supporting
smart playlists will have to be adapted. The following changes
were implemented to make sure all exported symbols start with
ITDB or Itdb:

structs:
SPLPref -> Itdb_SPLPref
SPLRules -> Itdb_SPLRules
SPLRule -> Itdb_SPLRule
SPL_* -> ITDB_SPL_*
enums, #defines:
LIMITTYPE_* -> ITDB_LIMITTYPE_*
LIMITSORT_* -> ITDB_LIMITSORT_*
SPLMATCH_* -> ITDB_SPLMATCH_*
SPLACTION_* -> ITDB_SPLACTION_*
SPLFIELD_* -> ITDB_SPLFIELD_*
SPLDATE_IDENTIFIER -> ITDB_SPL_DATE_IDENTIFIER
splft_* -> ITDB_SPLFT_*
splat_* -> ITDB_SPLAT_*
enum SPLAction -> ItdbSPLAction
enum SPLActionType -> ItdbSPLActionType
enum SPLField -> ItdbSPLField
enum SPLFieldType -> ItdbSPLFieldType
enum ItdbLimitType (new)
enum ItdbLimitSort (new)
enum ItdbSPLMatch (new)
removed SPL_MAXSTRINGLENGTH (use ITDB_SPL_STRING_MAXLEN)

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1418 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-04-27 15:57:44 Tree
[401504] by Jorg Schuler Jorg Schuler

* docs/reference/tmpl/device.sgml
docs/reference/tmpl/itunesdb-time.sgml
docs/reference/tmpl/libgpod-unused.sgml
docs/reference/tmpl/track.sgml
src/db-artwork-parser.c
src/db-artwork-writer.c
src/db-itunes-parser.h
src/itdb.h
src/itdb_device.c
src/itdb_device.h
src/itdb_itunesdb.c
src/itdb_private.h
tests/Makefile.am:

Christophe's patch for automatic correction of timestamps
depending on which timezone the iPod is set to.

ATTENTION DEVELOPERS: as a consequence all exported timestamps
are no longer guint32 mac-type timestamps but standard time_t
timestamps. This also includes the 64 bit timestamps in smart
playlists. The following functions are therefore no longer
needed and are deprecated:

itdb_time_mac_to_host(), itdb_time_host_to_mac(): simply return
the argument without changing it. Argument and return value are
now both of type 'time_t'.

itunesdb_time_get_mac_time(): returns the seconds passed since
Epoch in seconds and is equivalent to time(NULL).

These functions may be removed in a future version of
libgpod. Programs linking to libgpod may need to be changed
slightly if they made any assumptions on the type of timestamps
used. This should be obvious through compile-time warnings.

tests/test-ls.c: print a list of recently played tracks.

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1417 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-04-27 14:09:59 Tree
[c9d178] by Todd Zullinger Todd Zullinger

put down the pipe and commit something that should actually work...

git-svn-id: https://gtkpod.svn.sourceforge.net/svnroot/gtkpod/libgpod/trunk@1416 f01d2545-417e-4e96-918e-98f8d0dbbcb6

2007-04-16 04:36:33 Tree
Older >

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks