This file is indexed.

/usr/share/gtk-doc/html/rhythmbox/RhythmDB.html is in rhythmbox-doc 3.4.2-4ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>RhythmDB: Rhythmbox Development Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Rhythmbox Development Reference Manual">
<link rel="up" href="ch04.html" title="RhythmDB">
<link rel="prev" href="RhythmDBQueryResults.html" title="RhythmDBQueryResults">
<link rel="next" href="ch05.html" title="Shell">
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#RhythmDB.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#RhythmDB.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#RhythmDB.properties" class="shortcut">Properties</a></span><span id="nav_signals">  <span class="dim">|</span> 
                  <a href="#RhythmDB.signals" class="shortcut">Signals</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch04.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="RhythmDBQueryResults.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="ch05.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="RhythmDB"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="RhythmDB.top_of_page"></a>RhythmDB</span></h2>
<p>RhythmDB — Rhythmbox database functions</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="RhythmDB.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#RHYTHMDB:CAPS" title="RHYTHMDB()">RHYTHMDB</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#RHYTHMDB-IS:CAPS" title="RHYTHMDB_IS()">RHYTHMDB_IS</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-get-string" title="rhythmdb_entry_get_string ()">rhythmdb_entry_get_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">RBRefString</span> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-get-refstring" title="rhythmdb_entry_get_refstring ()">rhythmdb_entry_get_refstring</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-dup-string" title="rhythmdb_entry_dup_string ()">rhythmdb_entry_dup_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-get-boolean" title="rhythmdb_entry_get_boolean ()">rhythmdb_entry_get_boolean</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-get-uint64" title="rhythmdb_entry_get_uint64 ()">rhythmdb_entry_get_uint64</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-get-ulong" title="rhythmdb_entry_get_ulong ()">rhythmdb_entry_get_ulong</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">double</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-get-double" title="rhythmdb_entry_get_double ()">rhythmdb_entry_get_double</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="returnvalue">GObject</span></a> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-get-object" title="rhythmdb_entry_get_object ()">rhythmdb_entry_get_object</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="returnvalue">RhythmDBEntryType</span></a> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-get-entry-type" title="rhythmdb_entry_get_entry_type ()">rhythmdb_entry_get_entry_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-error-quark" title="rhythmdb_error_quark ()">rhythmdb_error_quark</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-get-type" title="rhythmdb_get_type ()">rhythmdb_get_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-shutdown" title="rhythmdb_shutdown ()">rhythmdb_shutdown</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-load" title="rhythmdb_load ()">rhythmdb_load</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-save" title="rhythmdb_save ()">rhythmdb_save</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-save-async" title="rhythmdb_save_async ()">rhythmdb_save_async</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-start-action-thread" title="rhythmdb_start_action_thread ()">rhythmdb_start_action_thread</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-commit" title="rhythmdb_commit ()">rhythmdb_commit</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">RhythmDBEntry</span> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-new" title="rhythmdb_entry_new ()">rhythmdb_entry_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">RhythmDBEntry</span> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-example-new" title="rhythmdb_entry_example_new ()">rhythmdb_entry_example_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-add-uri" title="rhythmdb_add_uri ()">rhythmdb_add_uri</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-add-uri-with-types" title="rhythmdb_add_uri_with_types ()">rhythmdb_add_uri_with_types</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-get" title="rhythmdb_entry_get ()">rhythmdb_entry_get</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-set" title="rhythmdb_entry_set ()">rhythmdb_entry_set</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-is-lossless" title="rhythmdb_entry_is_lossless ()">rhythmdb_entry_is_lossless</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-get-type-data" title="rhythmdb_entry_get_type_data ()">rhythmdb_entry_get_type_data</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#RHYTHMDB-ENTRY-GET-TYPE-DATA:CAPS" title="RHYTHMDB_ENTRY_GET_TYPE_DATA()">RHYTHMDB_ENTRY_GET_TYPE_DATA</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-delete" title="rhythmdb_entry_delete ()">rhythmdb_entry_delete</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-delete-by-type" title="rhythmdb_entry_delete_by_type ()">rhythmdb_entry_delete_by_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-move-to-trash" title="rhythmdb_entry_move_to_trash ()">rhythmdb_entry_move_to_trash</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">RhythmDBEntry</span> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-lookup-by-location" title="rhythmdb_entry_lookup_by_location ()">rhythmdb_entry_lookup_by_location</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">RhythmDBEntry</span> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-lookup-by-id" title="rhythmdb_entry_lookup_by_id ()">rhythmdb_entry_lookup_by_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">RhythmDBEntry</span> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-lookup-from-string" title="rhythmdb_entry_lookup_from_string ()">rhythmdb_entry_lookup_from_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-evaluate-query" title="rhythmdb_evaluate_query ()">rhythmdb_evaluate_query</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-foreach" title="rhythmdb_entry_foreach ()">rhythmdb_entry_foreach</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-count" title="rhythmdb_entry_count ()">rhythmdb_entry_count</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-foreach-by-type" title="rhythmdb_entry_foreach_by_type ()">rhythmdb_entry_foreach_by_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-count-by-type" title="rhythmdb_entry_count_by_type ()">rhythmdb_entry_count_by_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-keyword-add" title="rhythmdb_entry_keyword_add ()">rhythmdb_entry_keyword_add</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-keyword-remove" title="rhythmdb_entry_keyword_remove ()">rhythmdb_entry_keyword_remove</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-keyword-has" title="rhythmdb_entry_keyword_has ()">rhythmdb_entry_keyword_has</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-write-metadata-changes" title="rhythmdb_entry_write_metadata_changes ()">rhythmdb_entry_write_metadata_changes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="rhythmbox-rb-ext-db-key.html#RBExtDBKey" title="RBExtDBKey"><span class="returnvalue">RBExtDBKey</span></a> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-create-ext-db-key" title="rhythmdb_entry_create_ext_db_key ()">rhythmdb_entry_create_ext_db_key</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-matches-ext-db-key" title="rhythmdb_entry_matches_ext_db_key ()">rhythmdb_entry_matches_ext_db_key</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-do-full-query" title="rhythmdb_do_full_query ()">rhythmdb_do_full_query</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-do-full-query-parsed" title="rhythmdb_do_full_query_parsed ()">rhythmdb_do_full_query_parsed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-do-full-query-async" title="rhythmdb_do_full_query_async ()">rhythmdb_do_full_query_async</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-do-full-query-async-parsed" title="rhythmdb_do_full_query_async_parsed ()">rhythmdb_do_full_query_async_parsed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="RhythmDB.html#RhythmDBQuery"><span class="returnvalue">RhythmDBQuery</span></a> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-query-parse" title="rhythmdb_query_parse ()">rhythmdb_query_parse</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-query-append" title="rhythmdb_query_append ()">rhythmdb_query_append</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-query-append-params" title="rhythmdb_query_append_params ()">rhythmdb_query_append_params</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-query-append-prop-multiple" title="rhythmdb_query_append_prop_multiple ()">rhythmdb_query_append_prop_multiple</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-query-concatenate" title="rhythmdb_query_concatenate ()">rhythmdb_query_concatenate</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-query-free" title="rhythmdb_query_free ()">rhythmdb_query_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="RhythmDB.html#RhythmDBQuery"><span class="returnvalue">RhythmDBQuery</span></a> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-query-copy" title="rhythmdb_query_copy ()">rhythmdb_query_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-query-preprocess" title="rhythmdb_query_preprocess ()">rhythmdb_query_preprocess</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-query-serialize" title="rhythmdb_query_serialize ()">rhythmdb_query_serialize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="RhythmDB.html#RhythmDBQuery"><span class="returnvalue">RhythmDBQuery</span></a> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-query-deserialize" title="rhythmdb_query_deserialize ()">rhythmdb_query_deserialize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-query-to-string" title="rhythmdb_query_to_string ()">rhythmdb_query_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-query-is-time-relative" title="rhythmdb_query_is_time_relative ()">rhythmdb_query_is_time_relative</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">xmlChar</span> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-nice-elt-name-from-propid" title="rhythmdb_nice_elt_name_from_propid ()">rhythmdb_nice_elt_name_from_propid</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-propid-from-nice-elt-name" title="rhythmdb_propid_from_nice_elt_name ()">rhythmdb_propid_from_nice_elt_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-emit-entry-added" title="rhythmdb_emit_entry_added ()">rhythmdb_emit_entry_added</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-emit-entry-deleted" title="rhythmdb_emit_entry_deleted ()">rhythmdb_emit_entry_deleted</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../gobject/gobject-Generic-values.html#GValue"><span class="returnvalue">GValue</span></a> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-request-extra-metadata" title="rhythmdb_entry_request_extra_metadata ()">rhythmdb_entry_request_extra_metadata</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="RBStringValueMap.html" title="RBStringValueMap"><span class="returnvalue">RBStringValueMap</span></a> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-gather-metadata" title="rhythmdb_entry_gather_metadata ()">rhythmdb_entry_gather_metadata</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-emit-entry-extra-metadata-notify" title="rhythmdb_emit_entry_extra_metadata_notify ()">rhythmdb_emit_entry_extra_metadata_notify</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-compute-status-normal" title="rhythmdb_compute_status_normal ()">rhythmdb_compute_status_normal</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-register-entry-type" title="rhythmdb_register_entry_type ()">rhythmdb_register_entry_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="returnvalue">RhythmDBEntryType</span></a> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-type-get-by-name" title="rhythmdb_entry_type_get_by_name ()">rhythmdb_entry_type_get_by_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-get-property-type" title="rhythmdb_get_property_type ()">rhythmdb_get_property_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">RhythmDBEntry</span> *
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-ref" title="rhythmdb_entry_ref ()">rhythmdb_entry_ref</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RhythmDB.html#rhythmdb-entry-unref" title="rhythmdb_entry_unref ()">rhythmdb_entry_unref</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="RhythmDB.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="RhythmDB.html#RhythmDB--dry-run" title="The “dry-run” property">dry-run</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="RhythmDB.html#RhythmDB--name" title="The “name” property">name</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="RhythmDB.html#RhythmDB--no-update" title="The “no-update” property">no-update</a></td>
<td class="property_flags">Read / Write</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="RhythmDB.signals"></a><h2>Signals</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="signals_return">
<col width="300px" class="signals_name">
<col width="200px" class="signals_flags">
</colgroup>
<tbody>
<tr>
<td class="signal_type">
<a href="../gio/GMountOperation.html#GMountOperation-struct"><span class="returnvalue">GMountOperation</span></a>*</td>
<td class="signal_name"><a class="link" href="RhythmDB.html#RhythmDB-create-mount-op" title="The “create-mount-op” signal">create-mount-op</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="RhythmDB.html#RhythmDB-entry-added" title="The “entry-added” signal">entry-added</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="RhythmDB.html#RhythmDB-entry-changed" title="The “entry-changed” signal">entry-changed</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="RhythmDB.html#RhythmDB-entry-deleted" title="The “entry-deleted” signal">entry-deleted</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="RhythmDB.html#RhythmDB-entry-extra-metadata-gather" title="The “entry-extra-metadata-gather” signal">entry-extra-metadata-gather</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="RhythmDB.html#RhythmDB-entry-extra-metadata-notify" title="The “entry-extra-metadata-notify” signal">entry-extra-metadata-notify</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-DETAILED:CAPS">Has Details</a></td>
</tr>
<tr>
<td class="signal_type">
<a href="../gobject/gobject-Generic-values.html#GValue"><span class="returnvalue">GValue</span></a>*</td>
<td class="signal_name"><a class="link" href="RhythmDB.html#RhythmDB-entry-extra-metadata-request" title="The “entry-extra-metadata-request” signal">entry-extra-metadata-request</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-DETAILED:CAPS">Has Details</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="RhythmDB.html#RhythmDB-entry-keyword-added" title="The “entry-keyword-added” signal">entry-keyword-added</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="RhythmDB.html#RhythmDB-entry-keyword-removed" title="The “entry-keyword-removed” signal">entry-keyword-removed</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="RhythmDB.html#RhythmDB-load-complete" title="The “load-complete” signal">load-complete</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="RhythmDB.html#RhythmDB-read-only" title="The “read-only” signal">read-only</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="RhythmDB.html#RhythmDB-save-complete" title="The “save-complete” signal">save-complete</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="RhythmDB.html#RhythmDB-save-error" title="The “save-error” signal">save-error</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
</tr>
</tbody>
</table></div>
</div>
<a name="RhythmDBQuery"></a><div class="refsect1">
<a name="RhythmDB.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="RhythmDB.html#RHYTHMDB-TYPE:CAPS" title="RHYTHMDB_TYPE">RHYTHMDB_TYPE</a></td>
</tr>
<tr>
<td class="typedef_keyword">typedef</td>
<td class="function_name"><a class="link" href="RhythmDB.html#RhythmDBQuery">RhythmDBQuery</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="RhythmDB.html#RhythmDBQueryType" title="enum RhythmDBQueryType">RhythmDBQueryType</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType">RhythmDBPropType</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="RhythmDB.html#RHYTHMDB-PROP-STREAM-SONG-TITLE:CAPS" title="RHYTHMDB_PROP_STREAM_SONG_TITLE">RHYTHMDB_PROP_STREAM_SONG_TITLE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="RhythmDB.html#RHYTHMDB-PROP-STREAM-SONG-ARTIST:CAPS" title="RHYTHMDB_PROP_STREAM_SONG_ARTIST">RHYTHMDB_PROP_STREAM_SONG_ARTIST</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="RhythmDB.html#RHYTHMDB-PROP-STREAM-SONG-ALBUM:CAPS" title="RHYTHMDB_PROP_STREAM_SONG_ALBUM">RHYTHMDB_PROP_STREAM_SONG_ALBUM</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="RhythmDB.html#RHYTHMDB-PROP-COVER-ART:CAPS" title="RHYTHMDB_PROP_COVER_ART">RHYTHMDB_PROP_COVER_ART</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="RhythmDB.html#RHYTHMDB-PROP-COVER-ART-URI:CAPS" title="RHYTHMDB_PROP_COVER_ART_URI">RHYTHMDB_PROP_COVER_ART_URI</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="RhythmDB.html#RhythmDBQueryData" title="RhythmDBQueryData">RhythmDBQueryData</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="RhythmDB.html#RhythmDBEntryChange" title="RhythmDBEntryChange">RhythmDBEntryChange</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="RhythmDB.html#RhythmDBError" title="enum RhythmDBError">RhythmDBError</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="RhythmDB.html#RHYTHMDB-ERROR:CAPS" title="RHYTHMDB_ERROR">RHYTHMDB_ERROR</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="RhythmDB.html#RhythmDB-struct" title="struct RhythmDB">RhythmDB</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="RhythmDB.html#RhythmDBClass" title="struct RhythmDBClass">RhythmDBClass</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="RhythmDB.html#RhythmDBPrivate" title="RhythmDBPrivate">RhythmDBPrivate</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="RhythmDB.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
    <span class="lineart">╰──</span> RhythmDBQuery
    <a href="/usr/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
    <span class="lineart">├──</span> RhythmDBPropType
    <span class="lineart">╰──</span> RhythmDBQueryType
    <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> RhythmDB
</pre>
</div>
<div class="refsect1">
<a name="RhythmDB.description"></a><h2>Description</h2>
<p>RhythmDB is an in-memory database containing <span class="type">RhythmDBEntry</span> items.  It
runs queries represented as <a href="../glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a>s containing query criteria,
feeding the results into <a class="link" href="RhythmDBQueryResults.html" title="RhythmDBQueryResults"><span class="type">RhythmDBQueryResults</span></a> implementations such as
<a class="link" href="RhythmDBQueryModel.html" title="RhythmDBQueryModel"><span class="type">RhythmDBQueryModel</span></a>.  From there, entries are grouped by particular property
values to form <a class="link" href="RhythmDBPropertyModel.html" title="RhythmDBPropertyModel"><span class="type">RhythmDBPropertyModel</span></a>s.</p>
<p><span class="type">RhythmDBEntry</span> contains a fixed set of properties, defined by <a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a>,</p>
</div>
<div class="refsect1">
<a name="RhythmDB.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="RHYTHMDB:CAPS"></a><h3>RHYTHMDB()</h3>
<pre class="programlisting">#define RHYTHMDB(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), RHYTHMDB_TYPE, RhythmDB))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="RHYTHMDB-IS:CAPS"></a><h3>RHYTHMDB_IS()</h3>
<pre class="programlisting">#define RHYTHMDB_IS(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), RHYTHMDB_TYPE))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-get-string"></a><h3>rhythmdb_entry_get_string ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
rhythmdb_entry_get_string (<em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>,
                           <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a> propid</code></em>);</pre>
<p>Returns the value of a string property of <span class="type">entry</span>.</p>
<div class="refsect3">
<a name="rhythmdb-entry-get-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>propid</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a> to return</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-get-string.returns"></a><h4>Returns</h4>
<p> property value, must not be freed</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-get-refstring"></a><h3>rhythmdb_entry_get_refstring ()</h3>
<pre class="programlisting"><span class="returnvalue">RBRefString</span> *
rhythmdb_entry_get_refstring (<em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>,
                              <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a> propid</code></em>);</pre>
<p>Returns an <span class="type">RBRefString</span> containing a string property of <em class="parameter"><code>entry</code></em>
.</p>
<div class="refsect3">
<a name="rhythmdb-entry-get-refstring.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>propid</p></td>
<td class="parameter_description"><p>the property to return</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-get-refstring.returns"></a><h4>Returns</h4>
<p> a <span class="type">RBRefString</span>, must be unreffed by caller.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-dup-string"></a><h3>rhythmdb_entry_dup_string ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *
rhythmdb_entry_dup_string (<em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>,
                           <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a> propid</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-get-boolean"></a><h3>rhythmdb_entry_get_boolean ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
rhythmdb_entry_get_boolean (<em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>,
                            <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a> propid</code></em>);</pre>
<p>Returns the value of a boolean property of <em class="parameter"><code>entry</code></em>
.</p>
<div class="refsect3">
<a name="rhythmdb-entry-get-boolean.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>propid</p></td>
<td class="parameter_description"><p>property to return</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-get-boolean.returns"></a><h4>Returns</h4>
<p> property value</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-get-uint64"></a><h3>rhythmdb_entry_get_uint64 ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
rhythmdb_entry_get_uint64 (<em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>,
                           <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a> propid</code></em>);</pre>
<p>Returns the value of a 64bit unsigned integer property.</p>
<div class="refsect3">
<a name="rhythmdb-entry-get-uint64.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>propid</p></td>
<td class="parameter_description"><p>property to return</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-get-uint64.returns"></a><h4>Returns</h4>
<p> property value</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-get-ulong"></a><h3>rhythmdb_entry_get_ulong ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a>
rhythmdb_entry_get_ulong (<em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>,
                          <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a> propid</code></em>);</pre>
<p>Returns the value of an unsigned long integer property of <em class="parameter"><code>entry</code></em>
.</p>
<div class="refsect3">
<a name="rhythmdb-entry-get-ulong.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>propid</p></td>
<td class="parameter_description"><p>property to return</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-get-ulong.returns"></a><h4>Returns</h4>
<p> property value</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-get-double"></a><h3>rhythmdb_entry_get_double ()</h3>
<pre class="programlisting"><span class="returnvalue">double</span>
rhythmdb_entry_get_double (<em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>,
                           <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a> propid</code></em>);</pre>
<p>Returns the value of a double-precision floating point property of <em class="parameter"><code>value</code></em>
.</p>
<div class="refsect3">
<a name="rhythmdb-entry-get-double.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>propid</p></td>
<td class="parameter_description"><p>the property to return</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-get-double.returns"></a><h4>Returns</h4>
<p> property value</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-get-object"></a><h3>rhythmdb_entry_get_object ()</h3>
<pre class="programlisting"><a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="returnvalue">GObject</span></a> *
rhythmdb_entry_get_object (<em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>,
                           <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a> propid</code></em>);</pre>
<p>Returns the value of an object property of <em class="parameter"><code>entry</code></em>
.</p>
<div class="refsect3">
<a name="rhythmdb-entry-get-object.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>propid</p></td>
<td class="parameter_description"><p>the property to return</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-get-object.returns"></a><h4>Returns</h4>
<p>property value. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-get-entry-type"></a><h3>rhythmdb_entry_get_entry_type ()</h3>
<pre class="programlisting"><a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="returnvalue">RhythmDBEntryType</span></a> *
rhythmdb_entry_get_entry_type (<em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>);</pre>
<p>Returns the <a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a> for <em class="parameter"><code>entry</code></em>
.  This is used to access
entry type properties, to check that entries are of the same type,
and to call entry type methods.</p>
<div class="refsect3">
<a name="rhythmdb-entry-get-entry-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-get-entry-type.returns"></a><h4>Returns</h4>
<p>the <a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a> for <em class="parameter"><code>entry</code></em>
. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-error-quark"></a><h3>rhythmdb_error_quark ()</h3>
<pre class="programlisting"><a href="../glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
rhythmdb_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Returns the <a href="../glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> used for <a class="link" href="RhythmDB.html#RhythmDBError" title="enum RhythmDBError"><span class="type">RhythmDBError</span></a> information</p>
<div class="refsect3">
<a name="rhythmdb-error-quark.returns"></a><h4>Returns</h4>
<p> error quark</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-get-type"></a><h3>rhythmdb_get_type ()</h3>
<pre class="programlisting"><a href="../gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>
rhythmdb_get_type (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-shutdown"></a><h3>rhythmdb_shutdown ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_shutdown (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>);</pre>
<p>Ceases all <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> operations, including stopping all directory monitoring, and
removing all actions and events currently queued.</p>
<div class="refsect3">
<a name="rhythmdb-shutdown.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-load"></a><h3>rhythmdb_load ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_load (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>);</pre>
<p>Load the database from disk.</p>
<div class="refsect3">
<a name="rhythmdb-load.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-save"></a><h3>rhythmdb_save ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_save (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>);</pre>
<p>Save the database to disk, not returning until it has been saved.</p>
<div class="refsect3">
<a name="rhythmdb-save.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-save-async"></a><h3>rhythmdb_save_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_save_async (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>);</pre>
<p>Save the database to disk, asynchronously.</p>
<div class="refsect3">
<a name="rhythmdb-save-async.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-start-action-thread"></a><h3>rhythmdb_start_action_thread ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_start_action_thread (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>);</pre>
<p>Starts the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> processing thread. Needs to be called during startup.</p>
<div class="refsect3">
<a name="rhythmdb-start-action-thread.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-commit"></a><h3>rhythmdb_commit ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_commit (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>);</pre>
<p>Apply all database changes, and send notification of changes and new entries.
This needs to be called after any changes have been made, such as a group of
<a class="link" href="RhythmDB.html#rhythmdb-entry-set" title="rhythmdb_entry_set ()"><code class="function">rhythmdb_entry_set()</code></a> calls, or a new entry has been added.</p>
<div class="refsect3">
<a name="rhythmdb-commit.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-new"></a><h3>rhythmdb_entry_new ()</h3>
<pre class="programlisting"><span class="returnvalue">RhythmDBEntry</span> *
rhythmdb_entry_new (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                    <em class="parameter"><code><a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a> *type</code></em>,
                    <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
<p>Creates a new entry of type <em class="parameter"><code>type</code></em>
 and location <em class="parameter"><code>uri</code></em>
, and inserts
it into the database. You must call <a class="link" href="RhythmDB.html#rhythmdb-commit" title="rhythmdb_commit ()"><code class="function">rhythmdb_commit()</code></a> at some  point
after invoking this function.</p>
<p>This may return NULL if entry creation fails. This can occur if there is
already an entry with the given uri.</p>
<div class="refsect3">
<a name="rhythmdb-entry-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>type of entry to create</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uri</p></td>
<td class="parameter_description"><p>the location of the entry, this be unique amongst all entries.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-new.returns"></a><h4>Returns</h4>
<p>the newly created <span class="type">RhythmDBEntry</span>. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-example-new"></a><h3>rhythmdb_entry_example_new ()</h3>
<pre class="programlisting"><span class="returnvalue">RhythmDBEntry</span> *
rhythmdb_entry_example_new (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                            <em class="parameter"><code><a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a> *type</code></em>,
                            <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
<p>Creates a new sample entry of type <em class="parameter"><code>type</code></em>
 and location <em class="parameter"><code>uri</code></em>
, it does not insert
it into the database.  This is indended for use as a example entry.</p>
<p>This may return NULL if entry creation fails.</p>
<div class="refsect3">
<a name="rhythmdb-entry-example-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>type of entry to create</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uri</p></td>
<td class="parameter_description"><p>the location of the entry, this be unique amongst all entries.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-example-new.returns"></a><h4>Returns</h4>
<p> the newly created <span class="type">RhythmDBEntry</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-add-uri"></a><h3>rhythmdb_add_uri ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_add_uri (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                  <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
<p>Adds the file(s) pointed to by <em class="parameter"><code>uri</code></em>
 to the database, as entries of type
RHYTHMDB_ENTRY_TYPE_SONG. If the URI is that of a file, it will be added.
If the URI is that of a directory, everything under it will be added recursively.</p>
<div class="refsect3">
<a name="rhythmdb-add-uri.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uri</p></td>
<td class="parameter_description"><p>the URI to add an entry/entries for</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-add-uri-with-types"></a><h3>rhythmdb_add_uri_with_types ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_add_uri_with_types (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                             <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
                             <em class="parameter"><code><a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a> *type</code></em>,
                             <em class="parameter"><code><a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a> *ignore_type</code></em>,
                             <em class="parameter"><code><a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a> *error_type</code></em>);</pre>
<p>Adds the file(s) pointed to by <em class="parameter"><code>uri</code></em>
 to the database, as entries
of the specified type. If the URI points to a file, it will be added.
The the URI identifies a directory, everything under it will be added
recursively.</p>
<div class="refsect3">
<a name="rhythmdb-add-uri-with-types.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uri</p></td>
<td class="parameter_description"><p>the URI to add</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a> to use for new entries</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>ignore_type</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a> to use for ignored files</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error_type</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a> to use for import errors</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-get"></a><h3>rhythmdb_entry_get ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_entry_get (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                    <em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>,
                    <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a> propid</code></em>,
                    <em class="parameter"><code><a href="../gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *val</code></em>);</pre>
<p>Gets a property of an entry, storing it in the given <a href="../gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>.</p>
<div class="refsect3">
<a name="rhythmdb-entry-get.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>propid</p></td>
<td class="parameter_description"><p>the id of the property to get.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>val</p></td>
<td class="parameter_description"><p>return location for the property value.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-set"></a><h3>rhythmdb_entry_set ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_entry_set (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                    <em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>,
                    <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> propid</code></em>,
                    <em class="parameter"><code>const <a href="../gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>This function can be called by any code which wishes to change a
song property and send a notification.  It may be called when the
database is read-only; in this case the change will be queued for
an unspecified time in the future.  The implication of this is that
<a class="link" href="RhythmDB.html#rhythmdb-entry-get" title="rhythmdb_entry_get ()"><code class="function">rhythmdb_entry_get()</code></a> may not reflect the changes immediately.  However,
if this property is exposed in the user interface, you should still
make the change in the widget.  Then when the database returns to a
writable state, your change will take effect in the database too,
and a notification will be sent at that point.</p>
<p>Note that you must call <a class="link" href="RhythmDB.html#rhythmdb-commit" title="rhythmdb_commit ()"><code class="function">rhythmdb_commit()</code></a> at some point after invoking
this function, and that even after the commit, your change may not
have taken effect.</p>
<div class="refsect3">
<a name="rhythmdb-entry-set.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><div class="refsect2">
<a name="id-1.5.7.10.26.6.2.1.4.1.2.1"></a><h3>a RhythmDB.</h3>
</div></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>propid</p></td>
<td class="parameter_description"><p>the id of the property to set.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the property value.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-is-lossless"></a><h3>rhythmdb_entry_is_lossless ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
rhythmdb_entry_is_lossless (<em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>);</pre>
<p>Checks if <em class="parameter"><code>entry</code></em>
 represents a file that is losslessly encoded.
An entry is considered lossless if it has no bitrate value and
its media type is "audio/x-flac".  Other lossless encoding types
may be added in the future.</p>
<div class="refsect3">
<a name="rhythmdb-entry-is-lossless.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-is-lossless.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>entry</code></em>
is lossless</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-get-type-data"></a><h3>rhythmdb_entry_get_type_data ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
rhythmdb_entry_get_type_data (<em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>,
                              <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> expected_size</code></em>);</pre>
<p>Retrieves a pointer to the entry's type-specific data, checking that
the size of the data structure matches what is expected.
Callers should use the RHYTHMDB_ENTRY_GET_TYPE_DATA macro for
a slightly more friendly interface to this functionality.</p>
<div class="refsect3">
<a name="rhythmdb-entry-get-type-data.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>expected_size</p></td>
<td class="parameter_description"><p>expected size of the type-specific data.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-get-type-data.returns"></a><h4>Returns</h4>
<p>type-specific data pointer. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="RHYTHMDB-ENTRY-GET-TYPE-DATA:CAPS"></a><h3>RHYTHMDB_ENTRY_GET_TYPE_DATA()</h3>
<pre class="programlisting">#define		RHYTHMDB_ENTRY_GET_TYPE_DATA(e,t) ((t*)rhythmdb_entry_get_type_data((e),sizeof(t)))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-delete"></a><h3>rhythmdb_entry_delete ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_entry_delete (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                       <em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>);</pre>
<p>Delete entry <em class="parameter"><code>entry</code></em>
 from the database, sending notification of its deletion.
This is usually used by sources where entries can disappear randomly, such
as a network source.</p>
<div class="refsect3">
<a name="rhythmdb-entry-delete.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-delete-by-type"></a><h3>rhythmdb_entry_delete_by_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_entry_delete_by_type (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                               <em class="parameter"><code><a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a> *type</code></em>);</pre>
<p>Delete all entries from the database of the given type.
This is usually used by non-permanent sources when they disappear, such as
removable media being removed, or a network share becoming unavailable.</p>
<div class="refsect3">
<a name="rhythmdb-entry-delete-by-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>type of entried to delete.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-move-to-trash"></a><h3>rhythmdb_entry_move_to_trash ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_entry_move_to_trash (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                              <em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>);</pre>
<p>Trashes the file represented by <span class="type">entry</span>.  If possible, the file is
moved to the user's trash directory and the entry is set to hidden,
otherwise the error will be stored as the playback error for the entry.</p>
<div class="refsect3">
<a name="rhythmdb-entry-move-to-trash.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p><span class="type">RhythmDBEntry</span> to trash</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-lookup-by-location"></a><h3>rhythmdb_entry_lookup_by_location ()</h3>
<pre class="programlisting"><span class="returnvalue">RhythmDBEntry</span> *
rhythmdb_entry_lookup_by_location (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                                   <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
<p>Looks up the entry with location <em class="parameter"><code>uri</code></em>
.</p>
<div class="refsect3">
<a name="rhythmdb-entry-lookup-by-location.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uri</p></td>
<td class="parameter_description"><p>the URI of the entry to lookup.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-lookup-by-location.returns"></a><h4>Returns</h4>
<p>the entry with location <em class="parameter"><code>uri</code></em>
, or NULL if no such entry exists. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-lookup-by-id"></a><h3>rhythmdb_entry_lookup_by_id ()</h3>
<pre class="programlisting"><span class="returnvalue">RhythmDBEntry</span> *
rhythmdb_entry_lookup_by_id (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                             <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> id</code></em>);</pre>
<p>Looks up the entry with id <em class="parameter"><code>id</code></em>
.</p>
<div class="refsect3">
<a name="rhythmdb-entry-lookup-by-id.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>id</p></td>
<td class="parameter_description"><p>entry ID</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-lookup-by-id.returns"></a><h4>Returns</h4>
<p>the entry with id <em class="parameter"><code>id</code></em>
, or NULL if no such entry exists. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-lookup-from-string"></a><h3>rhythmdb_entry_lookup_from_string ()</h3>
<pre class="programlisting"><span class="returnvalue">RhythmDBEntry</span> *
rhythmdb_entry_lookup_from_string (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                                   <em class="parameter"><code>const <span class="type">char</span> *str</code></em>,
                                   <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_id</code></em>);</pre>
<p>Locates an entry using a string containing either an entry ID
or a location.</p>
<div class="refsect3">
<a name="rhythmdb-entry-lookup-from-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>str</p></td>
<td class="parameter_description"><p>string</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>is_id</p></td>
<td class="parameter_description"><p>whether the string is an entry ID or a location.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-lookup-from-string.returns"></a><h4>Returns</h4>
<p>the entry matching the string, or NULL if no such entry exists. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-evaluate-query"></a><h3>rhythmdb_evaluate_query ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
rhythmdb_evaluate_query (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                         <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBQuery"><span class="type">RhythmDBQuery</span></a> *query</code></em>,
                         <em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>);</pre>
<p>Evaluates the given entry against the given query.</p>
<div class="refsect3">
<a name="rhythmdb-evaluate-query.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>query</p></td>
<td class="parameter_description"><p>a query.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <em class="parameter"><code>RhythmDBEntry</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-evaluate-query.returns"></a><h4>Returns</h4>
<p> whether the given entry matches the criteria of the given query.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-foreach"></a><h3>rhythmdb_entry_foreach ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_entry_foreach (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                        <em class="parameter"><code><span class="type">RhythmDBEntryForeachFunc</span> func</code></em>,
                        <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
<p>Calls the given function for each of the entries in the database.</p>
<div class="refsect3">
<a name="rhythmdb-entry-foreach.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>func</p></td>
<td class="parameter_description"><p>the function to call with each entry. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/scope%20call"><span class="acronym">scope call</span></a>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>user data to pass to the function.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-count"></a><h3>rhythmdb_entry_count ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
rhythmdb_entry_count (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>);</pre>
<p>Returns the number of entries in the database.</p>
<div class="refsect3">
<a name="rhythmdb-entry-count.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-count.returns"></a><h4>Returns</h4>
<p> number of entries</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-foreach-by-type"></a><h3>rhythmdb_entry_foreach_by_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_entry_foreach_by_type (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                                <em class="parameter"><code><a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a> *entry_type</code></em>,
                                <em class="parameter"><code><span class="type">RhythmDBEntryForeachFunc</span> func</code></em>,
                                <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
<p>Calls the given function for each of the entries in the database
of a given type.</p>
<div class="refsect3">
<a name="rhythmdb-entry-foreach-by-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry_type</p></td>
<td class="parameter_description"><p>the type of entry to retrieve</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>func</p></td>
<td class="parameter_description"><p>the function to call with each entry. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/scope%20call"><span class="acronym">scope call</span></a>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>user data to pass to the function.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-count-by-type"></a><h3>rhythmdb_entry_count_by_type ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
rhythmdb_entry_count_by_type (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                              <em class="parameter"><code><a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a> *entry_type</code></em>);</pre>
<p>Returns the number of entries in the database of a particular type.</p>
<div class="refsect3">
<a name="rhythmdb-entry-count-by-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry_type</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-count-by-type.returns"></a><h4>Returns</h4>
<p> entry count</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-keyword-add"></a><h3>rhythmdb_entry_keyword_add ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
rhythmdb_entry_keyword_add (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                            <em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>,
                            <em class="parameter"><code><span class="type">RBRefString</span> *keyword</code></em>);</pre>
<p>Adds a keyword to an entry.</p>
<div class="refsect3">
<a name="rhythmdb-entry-keyword-add.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>keyword</p></td>
<td class="parameter_description"><p>the keyword to add.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-keyword-add.returns"></a><h4>Returns</h4>
<p> whether the keyword was already on the entry</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-keyword-remove"></a><h3>rhythmdb_entry_keyword_remove ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
rhythmdb_entry_keyword_remove (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                               <em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>,
                               <em class="parameter"><code><span class="type">RBRefString</span> *keyword</code></em>);</pre>
<p>Removed a keyword from an entry.</p>
<div class="refsect3">
<a name="rhythmdb-entry-keyword-remove.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>keyword</p></td>
<td class="parameter_description"><p>the keyword to remove.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-keyword-remove.returns"></a><h4>Returns</h4>
<p> whether the keyword had previously been added to the entry.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-keyword-has"></a><h3>rhythmdb_entry_keyword_has ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
rhythmdb_entry_keyword_has (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                            <em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>,
                            <em class="parameter"><code><span class="type">RBRefString</span> *keyword</code></em>);</pre>
<p>Checks whether a keyword is has been added to an entry.</p>
<div class="refsect3">
<a name="rhythmdb-entry-keyword-has.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>keyword</p></td>
<td class="parameter_description"><p>the keyword to check for.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-keyword-has.returns"></a><h4>Returns</h4>
<p> whether the keyword had been added to the entry.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-write-metadata-changes"></a><h3>rhythmdb_entry_write_metadata_changes ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_entry_write_metadata_changes (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                                       <em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>,
                                       <em class="parameter"><code><a href="../glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *changes</code></em>,
                                       <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>This can be called from a <a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a> sync_metadata function
when the appropriate action is to write the metadata changes
to the file at the entry's location.</p>
<div class="refsect3">
<a name="rhythmdb-entry-write-metadata-changes.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>the <span class="type">RhythmDBEntry</span> to update</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>changes</p></td>
<td class="parameter_description"><p>a list of changes to write. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> RB.RhythmDBEntryChange]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>returns error information</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-create-ext-db-key"></a><h3>rhythmdb_entry_create_ext_db_key ()</h3>
<pre class="programlisting"><a class="link" href="rhythmbox-rb-ext-db-key.html#RBExtDBKey" title="RBExtDBKey"><span class="returnvalue">RBExtDBKey</span></a> *
rhythmdb_entry_create_ext_db_key (<em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>,
                                  <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a> prop</code></em>);</pre>
<p>Creates a <a class="link" href="rhythmbox-rb-ext-db-key.html#RBExtDBKey" title="RBExtDBKey"><span class="type">RBExtDBKey</span></a> for finding external metadata
for a given property.  This is mostly useful for finding album or
track related data.</p>
<div class="refsect3">
<a name="rhythmdb-entry-create-ext-db-key.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>prop</p></td>
<td class="parameter_description"><p>the primary <a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a> for metadata lookups</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-create-ext-db-key.returns"></a><h4>Returns</h4>
<p> the new <a class="link" href="rhythmbox-rb-ext-db-key.html#RBExtDBKey" title="RBExtDBKey"><span class="type">RBExtDBKey</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-matches-ext-db-key"></a><h3>rhythmdb_entry_matches_ext_db_key ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
rhythmdb_entry_matches_ext_db_key (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                                   <em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>,
                                   <em class="parameter"><code><a class="link" href="rhythmbox-rb-ext-db-key.html#RBExtDBKey" title="RBExtDBKey"><span class="type">RBExtDBKey</span></a> *key</code></em>);</pre>
<p>Checks whether <em class="parameter"><code>key</code></em>
 matches <em class="parameter"><code>entry</code></em>
.</p>
<div class="refsect3">
<a name="rhythmdb-entry-matches-ext-db-key.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>a <a class="link" href="rhythmbox-rb-ext-db-key.html#RBExtDBKey" title="RBExtDBKey"><span class="type">RBExtDBKey</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-matches-ext-db-key.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the key matches the entry</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-do-full-query"></a><h3>rhythmdb_do_full_query ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_do_full_query (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                        <em class="parameter"><code><a class="link" href="RhythmDBQueryResults.html" title="RhythmDBQueryResults"><span class="type">RhythmDBQueryResults</span></a> *results</code></em>,
                        <em class="parameter"><code>...</code></em>);</pre>
<p>Synchronously evaluates <em class="parameter"><code>query</code></em>
, feeding results to <em class="parameter"><code>results</code></em>
 in
chunks.  Does not return until the query is complete.
This can only be called from the main thread.</p>
<p>FIXME: example</p>
<div class="refsect3">
<a name="rhythmdb-do-full-query.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>results</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDBQueryResults.html" title="RhythmDBQueryResults"><span class="type">RhythmDBQueryResults</span></a> instance to feed results to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>...</p></td>
<td class="parameter_description"><p>query parameters</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-do-full-query-parsed"></a><h3>rhythmdb_do_full_query_parsed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_do_full_query_parsed (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                               <em class="parameter"><code><a class="link" href="RhythmDBQueryResults.html" title="RhythmDBQueryResults"><span class="type">RhythmDBQueryResults</span></a> *results</code></em>,
                               <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBQuery"><span class="type">RhythmDBQuery</span></a> *query</code></em>);</pre>
<p>Synchronously evaluates the parsed query <em class="parameter"><code>query</code></em>
, feeding results
to <em class="parameter"><code>results</code></em>
 in chunks.  Does not return until the query is complete.</p>
<div class="refsect3">
<a name="rhythmdb-do-full-query-parsed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>results</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDBQueryResults.html" title="RhythmDBQueryResults"><span class="type">RhythmDBQueryResults</span></a> instance to feed results to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>query</p></td>
<td class="parameter_description"><p>a parsed query</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-do-full-query-async"></a><h3>rhythmdb_do_full_query_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_do_full_query_async (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                              <em class="parameter"><code><a class="link" href="RhythmDBQueryResults.html" title="RhythmDBQueryResults"><span class="type">RhythmDBQueryResults</span></a> *results</code></em>,
                              <em class="parameter"><code>...</code></em>);</pre>
<p>Asynchronously runs a query specified in the function arguments
across the database, feeding matching entries to <em class="parameter"><code>results</code></em>
 in chunks.
This can only be called from the main thread.</p>
<p>Since <em class="parameter"><code>results</code></em>
 is always a <em class="parameter"><code>RhythmDBQueryModel</code></em>
,
use the RhythmDBQueryModel::complete signal to identify when the
query is complete.</p>
<p>FIXME: example</p>
<div class="refsect3">
<a name="rhythmdb-do-full-query-async.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>results</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDBQueryResults.html" title="RhythmDBQueryResults"><span class="type">RhythmDBQueryResults</span></a> to feed results to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>...</p></td>
<td class="parameter_description"><p>query parameters</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-do-full-query-async-parsed"></a><h3>rhythmdb_do_full_query_async_parsed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_do_full_query_async_parsed (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                                     <em class="parameter"><code><a class="link" href="RhythmDBQueryResults.html" title="RhythmDBQueryResults"><span class="type">RhythmDBQueryResults</span></a> *results</code></em>,
                                     <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBQuery"><span class="type">RhythmDBQuery</span></a> *query</code></em>);</pre>
<p>Asynchronously runs a parsed query across the database, feeding matching
entries to <em class="parameter"><code>results</code></em>
 in chunks.  This can only be called from the
main thread.</p>
<p>Since <em class="parameter"><code>results</code></em>
 is always a <em class="parameter"><code>RhythmDBQueryModel</code></em>
,
use the RhythmDBQueryModel::complete signal to identify when the
query is complete.</p>
<div class="refsect3">
<a name="rhythmdb-do-full-query-async-parsed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>results</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDBQueryResults.html" title="RhythmDBQueryResults"><span class="type">RhythmDBQueryResults</span></a> instance to feed results to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>query</p></td>
<td class="parameter_description"><p>the query to run</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-query-parse"></a><h3>rhythmdb_query_parse ()</h3>
<pre class="programlisting"><a class="link" href="RhythmDB.html#RhythmDBQuery"><span class="returnvalue">RhythmDBQuery</span></a> *
rhythmdb_query_parse (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                      <em class="parameter"><code>...</code></em>);</pre>
<p>Creates a query from a list of criteria.</p>
<p>Most criteria consists of an operator (<a class="link" href="RhythmDB.html#RhythmDBQueryType" title="enum RhythmDBQueryType"><span class="type">RhythmDBQueryType</span></a>),
a property (<a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a>) and the data to compare with. An entry
matches a criteria if the operator returns true with the value of the
entries property as the first argument, and the given data as the second
argument.</p>
<p>Three types criteria are special. Passing RHYTHMDB_QUERY_END indicates the
end of the list of criteria, and must be the last passes parameter.</p>
<p>The second special criteria is a subquery which is defined by passing
RHYTHMDB_QUERY_SUBQUERY, followed by a query (<a href="../glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a>). An entry will
match a subquery criteria if it matches all criteria in the subquery.</p>
<p>The third special criteria is a disjunction which is defined by passing
RHYTHMDB_QUERY_DISJUNCTION, which will make an entry match the query if
it matches the criteria before the disjunction, the criteria after the
disjunction, or both.</p>
<p>Example:
	rhythmdb_query_parse (db,
		RHYTHMDB_QUERY_SUBQUERY, subquery,
		RHYTHMDB_QUERY_DISJUNCTION
		RHYTHMDB_QUERY_PROP_LIKE, RHYTHMDB_PROP_TITLE, "cat",
	RHYTHMDB_QUERY_DISJUNCTION
	RHYTHMDB_QUERY_PROP_GREATER, RHYTHMDB_PROP_RATING, 2.5,
	RHYTHMDB_QUERY_PROP_LESS, RHYTHMDB_PROP_PLAY_COUNT, 10,
		RHYTHMDB_QUERY_END);</p>
<p>	will create a query that matches entries:
	a) that match the query "subquery", or
	b) that have "cat" in their title, or
	c) have a rating of at least 2.5, and a play count of at most 10</p>
<div class="refsect3">
<a name="rhythmdb-query-parse.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>...</p></td>
<td class="parameter_description"><p>query criteria to parse</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-query-parse.returns"></a><h4>Returns</h4>
<p>a the newly created query.
It must be freed with <a class="link" href="RhythmDB.html#rhythmdb-query-free" title="rhythmdb_query_free ()"><code class="function">rhythmdb_query_free()</code></a>. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-query-append"></a><h3>rhythmdb_query_append ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_query_append (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                       <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBQuery"><span class="type">RhythmDBQuery</span></a> *query</code></em>,
                       <em class="parameter"><code>...</code></em>);</pre>
<p>Appends new criteria to the query <em class="parameter"><code>query</code></em>
.</p>
<p>The list of criteria must be in the same format as for rhythmdb_query_parse,
and ended by RHYTHMDB_QUERY_END.</p>
<div class="refsect3">
<a name="rhythmdb-query-append.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>query</p></td>
<td class="parameter_description"><p>a query.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>...</p></td>
<td class="parameter_description"><p>query criteria to append</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-query-append-params"></a><h3>rhythmdb_query_append_params ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_query_append_params (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                              <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBQuery"><span class="type">RhythmDBQuery</span></a> *query</code></em>,
                              <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBQueryType" title="enum RhythmDBQueryType"><span class="type">RhythmDBQueryType</span></a> type</code></em>,
                              <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a> prop</code></em>,
                              <em class="parameter"><code>const <a href="../gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Appends a new query term to <em class="parameter"><code>query</code></em>
.</p>
<div class="refsect3">
<a name="rhythmdb-query-append-params.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>query</p></td>
<td class="parameter_description"><p>the query to append to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>query type</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>prop</p></td>
<td class="parameter_description"><p>query property</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>query value</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-query-append-prop-multiple"></a><h3>rhythmdb_query_append_prop_multiple ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_query_append_prop_multiple (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                                     <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBQuery"><span class="type">RhythmDBQuery</span></a> *query</code></em>,
                                     <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a> propid</code></em>,
                                     <em class="parameter"><code><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *items</code></em>);</pre>
<p>Appends a set of criteria to a query to match against any of the values
listed in <em class="parameter"><code>items</code></em>
.</p>
<div class="refsect3">
<a name="rhythmdb-query-append-prop-multiple.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>query</p></td>
<td class="parameter_description"><p>the query to append to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>propid</p></td>
<td class="parameter_description"><p>property ID to match</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>items</p></td>
<td class="parameter_description"><p><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of values to match against. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> GObject.Value]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-query-concatenate"></a><h3>rhythmdb_query_concatenate ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_query_concatenate (<em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBQuery"><span class="type">RhythmDBQuery</span></a> *query1</code></em>,
                            <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBQuery"><span class="type">RhythmDBQuery</span></a> *query2</code></em>);</pre>
<p>Appends <em class="parameter"><code>query2</code></em>
 to <em class="parameter"><code>query1</code></em>
.</p>
<div class="refsect3">
<a name="rhythmdb-query-concatenate.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>query1</p></td>
<td class="parameter_description"><p>query to append to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>query2</p></td>
<td class="parameter_description"><p>query to append</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-query-free"></a><h3>rhythmdb_query_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_query_free (<em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBQuery"><span class="type">RhythmDBQuery</span></a> *query</code></em>);</pre>
<p>Frees the query <em class="parameter"><code>query</code></em>
</p>
<div class="refsect3">
<a name="rhythmdb-query-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>query</p></td>
<td class="parameter_description"><p>a query.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-query-copy"></a><h3>rhythmdb_query_copy ()</h3>
<pre class="programlisting"><a class="link" href="RhythmDB.html#RhythmDBQuery"><span class="returnvalue">RhythmDBQuery</span></a> *
rhythmdb_query_copy (<em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBQuery"><span class="type">RhythmDBQuery</span></a> *array</code></em>);</pre>
<p>Creates a copy of a query.</p>
<div class="refsect3">
<a name="rhythmdb-query-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>array</p></td>
<td class="parameter_description"><p>the query to copy.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-query-copy.returns"></a><h4>Returns</h4>
<p>a copy of the passed query.
It must be freed with <a class="link" href="RhythmDB.html#rhythmdb-query-free" title="rhythmdb_query_free ()"><code class="function">rhythmdb_query_free()</code></a>. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-query-preprocess"></a><h3>rhythmdb_query_preprocess ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_query_preprocess (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                           <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBQuery"><span class="type">RhythmDBQuery</span></a> *query</code></em>);</pre>
<p>Preprocesses a query to prepare it for execution.  This has two main
roles: to perform expensive data transformations once per query, rather
than once per entry, and converting criteria to lower-level forms that
are implemented by the database backend.</p>
<p>For RHYTHMDB_PROP_SEARCH_MATCH, this converts the search terms into
an array of case-folded words.</p>
<p>When matching against case-folded properties such as
<a class="link" href="RhythmDB.html#RHYTHMDB-PROP-TITLE-FOLDED:CAPS"><span class="type">RHYTHMDB_PROP_TITLE_FOLDED</span></a>, this case-folds the query value.</p>
<p>When performing year-based criteria such as <a class="link" href="RhythmDB.html#RHYTHMDB-QUERY-PROP-YEAR-LESS:CAPS"><span class="type">RHYTHMDB_QUERY_PROP_YEAR_LESS</span></a>,
it converts the year into the Julian date such that a simple numeric
comparison will work.</p>
<div class="refsect3">
<a name="rhythmdb-query-preprocess.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>query</p></td>
<td class="parameter_description"><p>query to preprocess</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-query-serialize"></a><h3>rhythmdb_query_serialize ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_query_serialize (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                          <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBQuery"><span class="type">RhythmDBQuery</span></a> *query</code></em>,
                          <em class="parameter"><code><span class="type">xmlNodePtr</span> parent</code></em>);</pre>
<p>Converts <em class="parameter"><code>query</code></em>
 into XML form as a child of <em class="parameter"><code>parent</code></em>
.  It can be converted
back into a query by passing <em class="parameter"><code>parent</code></em>
 to <em class="parameter"><code>rhythmdb_query_deserialize</code></em>
.</p>
<div class="refsect3">
<a name="rhythmdb-query-serialize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>query</p></td>
<td class="parameter_description"><p>query to serialize</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>XML node to attach the query to</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-query-deserialize"></a><h3>rhythmdb_query_deserialize ()</h3>
<pre class="programlisting"><a class="link" href="RhythmDB.html#RhythmDBQuery"><span class="returnvalue">RhythmDBQuery</span></a> *
rhythmdb_query_deserialize (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                            <em class="parameter"><code><span class="type">xmlNodePtr</span> parent</code></em>);</pre>
<p>Converts a serialized query back into a <em class="parameter"><code>GPtrArray</code></em>
 query.</p>
<div class="refsect3">
<a name="rhythmdb-query-deserialize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>parent XML node of serialized query</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-query-deserialize.returns"></a><h4>Returns</h4>
<p>deserialized query. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-query-to-string"></a><h3>rhythmdb_query_to_string ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *
rhythmdb_query_to_string (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                          <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBQuery"><span class="type">RhythmDBQuery</span></a> *query</code></em>);</pre>
<p>Returns a supposedly human-readable form of the query.
This is only intended for debug usage.</p>
<div class="refsect3">
<a name="rhythmdb-query-to-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>query</p></td>
<td class="parameter_description"><p>a query.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-query-to-string.returns"></a><h4>Returns</h4>
<p> allocated string form of the query</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-query-is-time-relative"></a><h3>rhythmdb_query_is_time_relative ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
rhythmdb_query_is_time_relative (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                                 <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBQuery"><span class="type">RhythmDBQuery</span></a> *query</code></em>);</pre>
<p>Checks if a query contains any time-relative criteria.</p>
<div class="refsect3">
<a name="rhythmdb-query-is-time-relative.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>query</p></td>
<td class="parameter_description"><p>the query to check</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-query-is-time-relative.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if time-relative criteria found</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-nice-elt-name-from-propid"></a><h3>rhythmdb_nice_elt_name_from_propid ()</h3>
<pre class="programlisting">const <span class="returnvalue">xmlChar</span> *
rhythmdb_nice_elt_name_from_propid (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                                    <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a> propid</code></em>);</pre>
<p>Returns a short non-translated name for the property <span class="type">propid</span>.
This name is suitable for use as an XML tag name, for example.</p>
<div class="refsect3">
<a name="rhythmdb-nice-elt-name-from-propid.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>propid</p></td>
<td class="parameter_description"><p>property ID</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-nice-elt-name-from-propid.returns"></a><h4>Returns</h4>
<p> property ID name, must not be freed</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-propid-from-nice-elt-name"></a><h3>rhythmdb_propid_from_nice_elt_name ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
rhythmdb_propid_from_nice_elt_name (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                                    <em class="parameter"><code>const <span class="type">xmlChar</span> *name</code></em>);</pre>
<p>Converts a property name returned by <em class="parameter"><code>rhythmdb_propid_from_nice_elt_name</code></em>

back to a <a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a>.  If the name does not match a property ID,
-1 will be returned instead.</p>
<div class="refsect3">
<a name="rhythmdb-propid-from-nice-elt-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>a property ID name</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-propid-from-nice-elt-name.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a>, or -1</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-emit-entry-added"></a><h3>rhythmdb_emit_entry_added ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_emit_entry_added (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                           <em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-emit-entry-deleted"></a><h3>rhythmdb_emit_entry_deleted ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_emit_entry_deleted (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                             <em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-request-extra-metadata"></a><h3>rhythmdb_entry_request_extra_metadata ()</h3>
<pre class="programlisting"><a href="../gobject/gobject-Generic-values.html#GValue"><span class="returnvalue">GValue</span></a> *
rhythmdb_entry_request_extra_metadata (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                                       <em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>,
                                       <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>);</pre>
<p>Emits a request for extra metadata for the <em class="parameter"><code>entry</code></em>
.
The <em class="parameter"><code>property_name</code></em>
 argument is emitted as the ::detail part of the
"entry_extra_metadata_request" signal. It should be a namespaced RDF
predicate e.g. from Dublin Core, MusicBrainz, or internal to Rhythmbox
(namespace "rb:"). Suitable predicates would be those that are expensive to
acquire or only apply to a limited range of entries.
Handlers capable of providing a particular predicate may ensure they only
see appropriate requests by supplying an appropriate ::detail part when
connecting to the signal. Upon a handler returning a non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> value,
emission will be stopped and the value returned to the caller; if no
handlers return a non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> value, the caller will receive <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. Priority
is determined by signal connection order, with <a href="../gobject/gobject-Signals.html#G-CONNECT-AFTER:CAPS"><code class="literal">G_CONNECT_AFTER</code></a> providing a
second, lower rank of priority.
A handler returning a value should do so in a <a href="../gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> allocated on the heap;
the accumulator will take ownership. The caller should unset and free the
<a href="../gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> if non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> when finished with it.</p>
<div class="refsect3">
<a name="rhythmdb-entry-request-extra-metadata.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>property_name</p></td>
<td class="parameter_description"><p>the metadata predicate</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-request-extra-metadata.returns"></a><h4>Returns</h4>
<p> an allocated, initialised, set <a href="../gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>, or NULL</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-gather-metadata"></a><h3>rhythmdb_entry_gather_metadata ()</h3>
<pre class="programlisting"><a class="link" href="RBStringValueMap.html" title="RBStringValueMap"><span class="returnvalue">RBStringValueMap</span></a> *
rhythmdb_entry_gather_metadata (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                                <em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>);</pre>
<p>Gathers all metadata for the <em class="parameter"><code>entry</code></em>
. The returned GHashTable maps property
names and extra metadata names (described under
<em class="parameter"><code>rhythmdb_entry_request_extra_metadata</code></em>
) to GValues. Anything wanting to
provide extra metadata should connect to the "entry_extra_metadata_gather"
signal.</p>
<div class="refsect3">
<a name="rhythmdb-entry-gather-metadata.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-gather-metadata.returns"></a><h4>Returns</h4>
<p>a RBStringValueMap containing metadata for the entry.
This must be freed using g_object_unref. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-emit-entry-extra-metadata-notify"></a><h3>rhythmdb_emit_entry_extra_metadata_notify ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_emit_entry_extra_metadata_notify
                               (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                                <em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>,
                                <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
                                <em class="parameter"><code>const <a href="../gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *metadata</code></em>);</pre>
<p>Emits a signal describing extra metadata for the <em class="parameter"><code>entry</code></em>
.  The <em class="parameter"><code>property_name</code></em>

argument is emitted as the ::detail part of the
"entry_extra_metadata_notify" signal and as the 'field' parameter.  Handlers
can ensure they only get metadata they are interested in by supplying an
appropriate ::detail part when connecting to the signal.  If handlers are
interested in the metadata they should ref or copy the contents of <em class="parameter"><code>metadata</code></em>

and unref or free it when they are finished with it.</p>
<div class="refsect3">
<a name="rhythmdb-emit-entry-extra-metadata-notify.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>property_name</p></td>
<td class="parameter_description"><p>the metadata predicate</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>metadata</p></td>
<td class="parameter_description"><p>a <a href="../gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-compute-status-normal"></a><h3>rhythmdb_compute_status_normal ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *
rhythmdb_compute_status_normal (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_songs</code></em>,
                                <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a> duration</code></em>,
                                <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> size</code></em>,
                                <em class="parameter"><code>const <span class="type">char</span> *singular</code></em>,
                                <em class="parameter"><code>const <span class="type">char</span> *plural</code></em>);</pre>
<p>Creates a string containing the "status" information about a list of tracks.
The singular and plural strings must be used in a direct ngettext call
elsewhere in order for them to be marked for translation correctly.</p>
<div class="refsect3">
<a name="rhythmdb-compute-status-normal.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>n_songs</p></td>
<td class="parameter_description"><p>the number of tracks.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>duration</p></td>
<td class="parameter_description"><p>the total duration of the tracks.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>size</p></td>
<td class="parameter_description"><p>the total size of the tracks.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>singular</p></td>
<td class="parameter_description"><p>singular form of the format string to use for entries (eg "<code class="literal">d</code> song")</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>plural</p></td>
<td class="parameter_description"><p>plural form of the format string to use for entries (eg "<code class="literal">d</code> songs")</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-compute-status-normal.returns"></a><h4>Returns</h4>
<p> the string, which should be freed with g_free.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-register-entry-type"></a><h3>rhythmdb_register_entry_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_register_entry_type (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                              <em class="parameter"><code><a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a> *entry_type</code></em>);</pre>
<p>Registers a new entry type.  An entry type must be registered before
any entries can be created for it.</p>
<div class="refsect3">
<a name="rhythmdb-register-entry-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry_type</p></td>
<td class="parameter_description"><p>the new entry type to register</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-type-get-by-name"></a><h3>rhythmdb_entry_type_get_by_name ()</h3>
<pre class="programlisting"><a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="returnvalue">RhythmDBEntryType</span></a> *
rhythmdb_entry_type_get_by_name (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                                 <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
<p>Locates a <a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a> by name. Returns NULL if no entry
type is registered with the specified name.</p>
<div class="refsect3">
<a name="rhythmdb-entry-type-get-by-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>a <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>name of the type to look for</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-type-get-by-name.returns"></a><h4>Returns</h4>
<p>the <a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a>. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-get-property-type"></a><h3>rhythmdb_get_property_type ()</h3>
<pre class="programlisting"><a href="../gobject/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>
rhythmdb_get_property_type (<em class="parameter"><code><a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db</code></em>,
                            <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>);</pre>
<p>Returns the <a href="../gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> for the value of the property.</p>
<div class="refsect3">
<a name="rhythmdb-get-property-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>property_id</p></td>
<td class="parameter_description"><p>a property ID (<a class="link" href="RhythmDB.html#RhythmDBPropType" title="enum RhythmDBPropType"><span class="type">RhythmDBPropType</span></a>)</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-get-property-type.returns"></a><h4>Returns</h4>
<p> property value type</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-ref"></a><h3>rhythmdb_entry_ref ()</h3>
<pre class="programlisting"><span class="returnvalue">RhythmDBEntry</span> *
rhythmdb_entry_ref (<em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>);</pre>
<p>Increase the reference count of the entry.</p>
<div class="refsect3">
<a name="rhythmdb-entry-ref.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="rhythmdb-entry-ref.returns"></a><h4>Returns</h4>
<p> the entry</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rhythmdb-entry-unref"></a><h3>rhythmdb_entry_unref ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rhythmdb_entry_unref (<em class="parameter"><code><span class="type">RhythmDBEntry</span> *entry</code></em>);</pre>
<p>Decrease the reference count of the entry, and destroys it if there are
no references left.</p>
<div class="refsect3">
<a name="rhythmdb-entry-unref.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>a <span class="type">RhythmDBEntry</span>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="RhythmDB.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="RHYTHMDB-TYPE:CAPS"></a><h3>RHYTHMDB_TYPE</h3>
<pre class="programlisting">#define RHYTHMDB_TYPE      (rhythmdb_get_type ())
</pre>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDBQuery"></a><h3>RhythmDBQuery</h3>
<pre class="programlisting">typedef GPtrArray RhythmDBQuery;
</pre>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDBQueryType"></a><h3>enum RhythmDBQueryType</h3>
<div class="refsect3">
<a name="RhythmDBQueryType.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-QUERY-END:CAPS"></a>RHYTHMDB_QUERY_END</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-QUERY-DISJUNCTION:CAPS"></a>RHYTHMDB_QUERY_DISJUNCTION</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-QUERY-SUBQUERY:CAPS"></a>RHYTHMDB_QUERY_SUBQUERY</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-QUERY-PROP-EQUALS:CAPS"></a>RHYTHMDB_QUERY_PROP_EQUALS</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-QUERY-PROP-NOT-EQUAL:CAPS"></a>RHYTHMDB_QUERY_PROP_NOT_EQUAL</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-QUERY-PROP-LIKE:CAPS"></a>RHYTHMDB_QUERY_PROP_LIKE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-QUERY-PROP-NOT-LIKE:CAPS"></a>RHYTHMDB_QUERY_PROP_NOT_LIKE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-QUERY-PROP-PREFIX:CAPS"></a>RHYTHMDB_QUERY_PROP_PREFIX</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-QUERY-PROP-SUFFIX:CAPS"></a>RHYTHMDB_QUERY_PROP_SUFFIX</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-QUERY-PROP-GREATER:CAPS"></a>RHYTHMDB_QUERY_PROP_GREATER</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-QUERY-PROP-LESS:CAPS"></a>RHYTHMDB_QUERY_PROP_LESS</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-QUERY-PROP-CURRENT-TIME-WITHIN:CAPS"></a>RHYTHMDB_QUERY_PROP_CURRENT_TIME_WITHIN</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-QUERY-PROP-CURRENT-TIME-NOT-WITHIN:CAPS"></a>RHYTHMDB_QUERY_PROP_CURRENT_TIME_NOT_WITHIN</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-QUERY-PROP-YEAR-EQUALS:CAPS"></a>RHYTHMDB_QUERY_PROP_YEAR_EQUALS</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-QUERY-PROP-YEAR-NOT-EQUAL:CAPS"></a>RHYTHMDB_QUERY_PROP_YEAR_NOT_EQUAL</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-QUERY-PROP-YEAR-GREATER:CAPS"></a>RHYTHMDB_QUERY_PROP_YEAR_GREATER</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-QUERY-PROP-YEAR-LESS:CAPS"></a>RHYTHMDB_QUERY_PROP_YEAR_LESS</p></td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDBPropType"></a><h3>enum RhythmDBPropType</h3>
<div class="refsect3">
<a name="RhythmDBPropType.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-TYPE:CAPS"></a>RHYTHMDB_PROP_TYPE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ENTRY-ID:CAPS"></a>RHYTHMDB_PROP_ENTRY_ID</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-TITLE:CAPS"></a>RHYTHMDB_PROP_TITLE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-GENRE:CAPS"></a>RHYTHMDB_PROP_GENRE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ARTIST:CAPS"></a>RHYTHMDB_PROP_ARTIST</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ALBUM:CAPS"></a>RHYTHMDB_PROP_ALBUM</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-TRACK-NUMBER:CAPS"></a>RHYTHMDB_PROP_TRACK_NUMBER</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-TRACK-TOTAL:CAPS"></a>RHYTHMDB_PROP_TRACK_TOTAL</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-DISC-NUMBER:CAPS"></a>RHYTHMDB_PROP_DISC_NUMBER</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-DISC-TOTAL:CAPS"></a>RHYTHMDB_PROP_DISC_TOTAL</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-DURATION:CAPS"></a>RHYTHMDB_PROP_DURATION</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-FILE-SIZE:CAPS"></a>RHYTHMDB_PROP_FILE_SIZE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-LOCATION:CAPS"></a>RHYTHMDB_PROP_LOCATION</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-MOUNTPOINT:CAPS"></a>RHYTHMDB_PROP_MOUNTPOINT</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-MTIME:CAPS"></a>RHYTHMDB_PROP_MTIME</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-FIRST-SEEN:CAPS"></a>RHYTHMDB_PROP_FIRST_SEEN</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-LAST-SEEN:CAPS"></a>RHYTHMDB_PROP_LAST_SEEN</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-RATING:CAPS"></a>RHYTHMDB_PROP_RATING</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-PLAY-COUNT:CAPS"></a>RHYTHMDB_PROP_PLAY_COUNT</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-LAST-PLAYED:CAPS"></a>RHYTHMDB_PROP_LAST_PLAYED</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-BITRATE:CAPS"></a>RHYTHMDB_PROP_BITRATE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-DATE:CAPS"></a>RHYTHMDB_PROP_DATE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-TRACK-GAIN:CAPS"></a>RHYTHMDB_PROP_TRACK_GAIN</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-TRACK-PEAK:CAPS"></a>RHYTHMDB_PROP_TRACK_PEAK</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ALBUM-GAIN:CAPS"></a>RHYTHMDB_PROP_ALBUM_GAIN</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ALBUM-PEAK:CAPS"></a>RHYTHMDB_PROP_ALBUM_PEAK</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-MEDIA-TYPE:CAPS"></a>RHYTHMDB_PROP_MEDIA_TYPE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-TITLE-SORT-KEY:CAPS"></a>RHYTHMDB_PROP_TITLE_SORT_KEY</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-GENRE-SORT-KEY:CAPS"></a>RHYTHMDB_PROP_GENRE_SORT_KEY</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ARTIST-SORT-KEY:CAPS"></a>RHYTHMDB_PROP_ARTIST_SORT_KEY</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ALBUM-SORT-KEY:CAPS"></a>RHYTHMDB_PROP_ALBUM_SORT_KEY</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-TITLE-FOLDED:CAPS"></a>RHYTHMDB_PROP_TITLE_FOLDED</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-GENRE-FOLDED:CAPS"></a>RHYTHMDB_PROP_GENRE_FOLDED</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ARTIST-FOLDED:CAPS"></a>RHYTHMDB_PROP_ARTIST_FOLDED</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ALBUM-FOLDED:CAPS"></a>RHYTHMDB_PROP_ALBUM_FOLDED</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-LAST-PLAYED-STR:CAPS"></a>RHYTHMDB_PROP_LAST_PLAYED_STR</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-HIDDEN:CAPS"></a>RHYTHMDB_PROP_HIDDEN</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-PLAYBACK-ERROR:CAPS"></a>RHYTHMDB_PROP_PLAYBACK_ERROR</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-FIRST-SEEN-STR:CAPS"></a>RHYTHMDB_PROP_FIRST_SEEN_STR</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-LAST-SEEN-STR:CAPS"></a>RHYTHMDB_PROP_LAST_SEEN_STR</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-SEARCH-MATCH:CAPS"></a>RHYTHMDB_PROP_SEARCH_MATCH</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-YEAR:CAPS"></a>RHYTHMDB_PROP_YEAR</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-KEYWORD:CAPS"></a>RHYTHMDB_PROP_KEYWORD</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-STATUS:CAPS"></a>RHYTHMDB_PROP_STATUS</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-DESCRIPTION:CAPS"></a>RHYTHMDB_PROP_DESCRIPTION</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-SUBTITLE:CAPS"></a>RHYTHMDB_PROP_SUBTITLE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-SUMMARY:CAPS"></a>RHYTHMDB_PROP_SUMMARY</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-LANG:CAPS"></a>RHYTHMDB_PROP_LANG</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-COPYRIGHT:CAPS"></a>RHYTHMDB_PROP_COPYRIGHT</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-IMAGE:CAPS"></a>RHYTHMDB_PROP_IMAGE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-POST-TIME:CAPS"></a>RHYTHMDB_PROP_POST_TIME</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-MUSICBRAINZ-TRACKID:CAPS"></a>RHYTHMDB_PROP_MUSICBRAINZ_TRACKID</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-MUSICBRAINZ-ARTISTID:CAPS"></a>RHYTHMDB_PROP_MUSICBRAINZ_ARTISTID</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-MUSICBRAINZ-ALBUMID:CAPS"></a>RHYTHMDB_PROP_MUSICBRAINZ_ALBUMID</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-MUSICBRAINZ-ALBUMARTISTID:CAPS"></a>RHYTHMDB_PROP_MUSICBRAINZ_ALBUMARTISTID</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ARTIST-SORTNAME:CAPS"></a>RHYTHMDB_PROP_ARTIST_SORTNAME</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ALBUM-SORTNAME:CAPS"></a>RHYTHMDB_PROP_ALBUM_SORTNAME</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ARTIST-SORTNAME-SORT-KEY:CAPS"></a>RHYTHMDB_PROP_ARTIST_SORTNAME_SORT_KEY</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ARTIST-SORTNAME-FOLDED:CAPS"></a>RHYTHMDB_PROP_ARTIST_SORTNAME_FOLDED</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ALBUM-SORTNAME-SORT-KEY:CAPS"></a>RHYTHMDB_PROP_ALBUM_SORTNAME_SORT_KEY</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ALBUM-SORTNAME-FOLDED:CAPS"></a>RHYTHMDB_PROP_ALBUM_SORTNAME_FOLDED</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-COMMENT:CAPS"></a>RHYTHMDB_PROP_COMMENT</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ALBUM-ARTIST:CAPS"></a>RHYTHMDB_PROP_ALBUM_ARTIST</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ALBUM-ARTIST-SORT-KEY:CAPS"></a>RHYTHMDB_PROP_ALBUM_ARTIST_SORT_KEY</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ALBUM-ARTIST-FOLDED:CAPS"></a>RHYTHMDB_PROP_ALBUM_ARTIST_FOLDED</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ALBUM-ARTIST-SORTNAME:CAPS"></a>RHYTHMDB_PROP_ALBUM_ARTIST_SORTNAME</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ALBUM-ARTIST-SORTNAME-SORT-KEY:CAPS"></a>RHYTHMDB_PROP_ALBUM_ARTIST_SORTNAME_SORT_KEY</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-ALBUM-ARTIST-SORTNAME-FOLDED:CAPS"></a>RHYTHMDB_PROP_ALBUM_ARTIST_SORTNAME_FOLDED</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-BPM:CAPS"></a>RHYTHMDB_PROP_BPM</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-COMPOSER:CAPS"></a>RHYTHMDB_PROP_COMPOSER</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-COMPOSER-SORT-KEY:CAPS"></a>RHYTHMDB_PROP_COMPOSER_SORT_KEY</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-COMPOSER-FOLDED:CAPS"></a>RHYTHMDB_PROP_COMPOSER_FOLDED</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-COMPOSER-SORTNAME:CAPS"></a>RHYTHMDB_PROP_COMPOSER_SORTNAME</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-COMPOSER-SORTNAME-SORT-KEY:CAPS"></a>RHYTHMDB_PROP_COMPOSER_SORTNAME_SORT_KEY</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-PROP-COMPOSER-SORTNAME-FOLDED:CAPS"></a>RHYTHMDB_PROP_COMPOSER_SORTNAME_FOLDED</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-NUM-PROPERTIES:CAPS"></a>RHYTHMDB_NUM_PROPERTIES</p></td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="RHYTHMDB-PROP-STREAM-SONG-TITLE:CAPS"></a><h3>RHYTHMDB_PROP_STREAM_SONG_TITLE</h3>
<pre class="programlisting">#define RHYTHMDB_PROP_STREAM_SONG_TITLE		"rb:stream-song-title"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="RHYTHMDB-PROP-STREAM-SONG-ARTIST:CAPS"></a><h3>RHYTHMDB_PROP_STREAM_SONG_ARTIST</h3>
<pre class="programlisting">#define RHYTHMDB_PROP_STREAM_SONG_ARTIST "rb:stream-song-artist"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="RHYTHMDB-PROP-STREAM-SONG-ALBUM:CAPS"></a><h3>RHYTHMDB_PROP_STREAM_SONG_ALBUM</h3>
<pre class="programlisting">#define RHYTHMDB_PROP_STREAM_SONG_ALBUM		"rb:stream-song-album"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="RHYTHMDB-PROP-COVER-ART:CAPS"></a><h3>RHYTHMDB_PROP_COVER_ART</h3>
<pre class="programlisting">#define RHYTHMDB_PROP_COVER_ART			"rb:coverArt"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="RHYTHMDB-PROP-COVER-ART-URI:CAPS"></a><h3>RHYTHMDB_PROP_COVER_ART_URI</h3>
<pre class="programlisting">#define RHYTHMDB_PROP_COVER_ART_URI		"rb:coverArt-uri"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDBQueryData"></a><h3>RhythmDBQueryData</h3>
<pre class="programlisting">typedef struct {
	guint type;
	guint propid;
	GValue *val;
	RhythmDBQuery *subquery;
} RhythmDBQueryData;
</pre>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDBEntryChange"></a><h3>RhythmDBEntryChange</h3>
<pre class="programlisting">typedef struct {
	RhythmDBPropType prop;
	GValue old;
	GValue new;
} RhythmDBEntryChange;
</pre>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDBError"></a><h3>enum RhythmDBError</h3>
<div class="refsect3">
<a name="RhythmDBError.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody><tr>
<td class="enum_member_name"><p><a name="RHYTHMDB-ERROR-ACCESS-FAILED:CAPS"></a>RHYTHMDB_ERROR_ACCESS_FAILED</p></td>
<td> </td>
<td> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="RHYTHMDB-ERROR:CAPS"></a><h3>RHYTHMDB_ERROR</h3>
<pre class="programlisting">#define RHYTHMDB_ERROR (rhythmdb_error_quark ())
</pre>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDB-struct"></a><h3>struct RhythmDB</h3>
<pre class="programlisting">struct RhythmDB;</pre>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDBClass"></a><h3>struct RhythmDBClass</h3>
<pre class="programlisting">struct RhythmDBClass {
	GObjectClass parent;

	/* signals */
	void (*entry_added)		(RhythmDB *db, RhythmDBEntry *entry);
	void (*entry_changed) (RhythmDB *db, RhythmDBEntry *entry, GArray *changes); /* array of RhythmDBEntryChanges */
	void (*entry_deleted) (RhythmDB *db, RhythmDBEntry *entry);
	void (*entry_keyword_added) (RhythmDB *db, RhythmDBEntry *entry, RBRefString *keyword);
	void (*entry_keyword_removed)(RhythmDB *db, RhythmDBEntry *entry, RBRefString *keyword);
	GValue *(*entry_extra_metadata_request) (RhythmDB *db, RhythmDBEntry *entry);
	void    (*entry_extra_metadata_gather) (RhythmDB *db, RhythmDBEntry *entry, RBStringValueMap *data);
	void (*entry_extra_metadata_notify) (RhythmDB *db, RhythmDBEntry *entry, const char *field, GValue *metadata);
	void (*load_complete) (RhythmDB *db);
	void (*save_complete) (RhythmDB *db);
	void (*load_error)		(RhythmDB *db, const char *uri, const char *msg);
	void (*save_error)		(RhythmDB *db, const char *uri, const GError *error);
	void (*read_only)		(RhythmDB *db, gboolean readonly);

	/* virtual methods */

	gboolean (*impl_load)		(RhythmDB *db, GCancellable *cancel, GError **error);
	void		(*impl_save)		(RhythmDB *db);

	void		(*impl_entry_new) (RhythmDB *db, RhythmDBEntry *entry);

	gboolean (*impl_entry_set) (RhythmDB *db, RhythmDBEntry *entry,
	                                 guint propid, const GValue *value);

	void		(*impl_entry_get) (RhythmDB *db, RhythmDBEntry *entry,
						 guint propid, GValue *value);

	void		(*impl_entry_delete) (RhythmDB *db, RhythmDBEntry *entry);

	void            (*impl_entry_delete_by_type) (RhythmDB *db, RhythmDBEntryType *type);

	RhythmDBEntry * (*impl_lookup_by_location)(RhythmDB *db, RBRefString *uri);

	RhythmDBEntry * (*impl_lookup_by_id)    (RhythmDB *db, gint id);

	gboolean 	(*impl_evaluate_query) (RhythmDB *db, RhythmDBQuery *query, RhythmDBEntry *entry);

	void		(*impl_entry_foreach) (RhythmDB *db, RhythmDBEntryForeachFunc func, gpointer data);

	gint64		(*impl_entry_count) (RhythmDB *db);

	void		(*impl_entry_foreach_by_type) (RhythmDB *db, RhythmDBEntryType *type, RhythmDBEntryForeachFunc func, gpointer data);

	gint64		(*impl_entry_count_by_type) (RhythmDB *db, RhythmDBEntryType *type);

	void		(*impl_do_full_query) (RhythmDB *db, RhythmDBQuery *query,
						 RhythmDBQueryResults *results,
						 gboolean *cancel);

	void		(*impl_entry_type_registered) (RhythmDB *db,
						       RhythmDBEntryType *type);

	gboolean (*impl_entry_keyword_add) (RhythmDB *db,
							 RhythmDBEntry *entry,
							 RBRefString *keyword);
	gboolean (*impl_entry_keyword_remove) (RhythmDB *db,
							 RhythmDBEntry *entry,
							 RBRefString *keyword);
	gboolean (*impl_entry_keyword_has) (RhythmDB *db,
							 RhythmDBEntry *entry,
							 RBRefString *keyword);
	GList*		(*impl_entry_keywords_get) (RhythmDB *db,
							 RhythmDBEntry *entry);
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDBPrivate"></a><h3>RhythmDBPrivate</h3>
<pre class="programlisting">typedef struct _RhythmDBPrivate RhythmDBPrivate;</pre>
</div>
</div>
<div class="refsect1">
<a name="RhythmDB.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="RhythmDB--dry-run"></a><h3>The <code class="literal">“dry-run”</code> property</h3>
<pre class="programlisting">  “dry-run”                  <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>If <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, no metadata changes will be written back to media fies.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDB--name"></a><h3>The <code class="literal">“name”</code> property</h3>
<pre class="programlisting">  “name”                     <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>Database name.  Not sure whta this is used for.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDB--no-update"></a><h3>The <code class="literal">“no-update”</code> property</h3>
<pre class="programlisting">  “no-update”                <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>If <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the database will not be updated.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
</div>
<div class="refsect1">
<a name="RhythmDB.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="RhythmDB-create-mount-op"></a><h3>The <code class="literal">“create-mount-op”</code> signal</h3>
<pre class="programlisting"><a href="../gio/GMountOperation.html#GMountOperation-struct"><span class="returnvalue">GMountOperation</span></a>*
user_function (<a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db,
               <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>  user_data)</pre>
<p>Emitted to request creation of a <a href="../gio/GMountOperation.html#GMountOperation-struct"><span class="type">GMountOperation</span></a> to use to mount a volume.</p>
<div class="refsect3">
<a name="RhythmDB-create-mount-op.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="RhythmDB-create-mount-op.returns"></a><h4>Returns</h4>
<p>a <a href="../gio/GMountOperation.html#GMountOperation-struct"><span class="type">GMountOperation</span></a> (usually actually a <a href="../gtk3/gtk3-Filesystem-utilities.html#GtkMountOperation-struct"><span class="type">GtkMountOperation</span></a>). </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></p>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDB-entry-added"></a><h3>The <code class="literal">“entry-added”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>      *db,
               <span class="type">RhythmDBEntry</span> *entry,
               <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)</pre>
<p>Emitted when a new entry is added to the database.</p>
<div class="refsect3">
<a name="RhythmDB-entry-added.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>the newly added <span class="type">RhythmDBEntry</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDB-entry-changed"></a><h3>The <code class="literal">“entry-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>      *db,
               <span class="type">RhythmDBEntry</span> *entry,
               <a href="../glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a>     *changes,
               <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)</pre>
<p>Emitted when a database entry is modified.  The <em class="parameter"><code>changes</code></em>
 list
contains a structure for each entry property that has been modified.</p>
<div class="refsect3">
<a name="RhythmDB-entry-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>the changed <span class="type">RhythmDBEntry</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>changes</p></td>
<td class="parameter_description"><p>a <a href="../glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> of <a class="link" href="RhythmDB.html#RhythmDBEntryChange" title="RhythmDBEntryChange"><span class="type">RhythmDBEntryChange</span></a> structures describing the changes. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> RB.RhythmDBEntryChange]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDB-entry-deleted"></a><h3>The <code class="literal">“entry-deleted”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>      *db,
               <span class="type">RhythmDBEntry</span> *entry,
               <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)</pre>
<p>Emitted when an entry is deleted from the database.</p>
<div class="refsect3">
<a name="RhythmDB-entry-deleted.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>the deleted <span class="type">RhythmDBEntry</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDB-entry-extra-metadata-gather"></a><h3>The <code class="literal">“entry-extra-metadata-gather”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>         *db,
               <span class="type">RhythmDBEntry</span>    *entry,
               <a class="link" href="RBStringValueMap.html" title="RBStringValueMap"><span class="type">RBStringValueMap</span></a> *data,
               <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>          user_data)</pre>
<p>Emitted to gather all available extra metadata for a database entry.
Handlers for this signal should insert any metadata they can provide
into the string-value map.  Only immediately available metadata
items should be returned.  If one or more metadata items is not
immediately available, the handler should not initiate an attempt to
retrieve them.</p>
<div class="refsect3">
<a name="RhythmDB-entry-extra-metadata-gather.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>the <span class="type">RhythmDBEntry</span> for which to gather metadata</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>a <a class="link" href="RBStringValueMap.html" title="RBStringValueMap"><span class="type">RBStringValueMap</span></a> to hold the gathered metadata</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDB-entry-extra-metadata-notify"></a><h3>The <code class="literal">“entry-extra-metadata-notify”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>      *db,
               <span class="type">RhythmDBEntry</span> *entry,
               <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>         *field,
               <a href="../gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>        *metadata,
               <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)</pre>
<p>This signal is emitted when an extra metadata value is provided for a specific
entry independantly of an extra metadata request.</p>
<div class="refsect3">
<a name="RhythmDB-entry-extra-metadata-notify.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>the <span class="type">RhythmDBEntry</span> for which extra metadata has been supplied</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>field</p></td>
<td class="parameter_description"><p>the extra metadata field being supplied</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>metadata</p></td>
<td class="parameter_description"><p>the extra metadata value</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-DETAILED:CAPS">Has Details</a></p>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDB-entry-extra-metadata-request"></a><h3>The <code class="literal">“entry-extra-metadata-request”</code> signal</h3>
<pre class="programlisting"><a href="../gobject/gobject-Generic-values.html#GValue"><span class="returnvalue">GValue</span></a>*
user_function (<a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>      *db,
               <span class="type">RhythmDBEntry</span> *entry,
               <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)</pre>
<p>This signal is emitted to allow extra (transient) metadata to be supplied
for the given entry.  The detail of the signal invocation describes the
specific metadata value being requested.  If the object handling the signal
can provide the requested item, but it isn't immediately available, it can
initiate an attempt to retrieve it.  If successful, it would call
<em class="parameter"><code>rhythmdb_emit_entry_extra_metadata_notify</code></em>
 when the metadata is available.</p>
<div class="refsect3">
<a name="RhythmDB-entry-extra-metadata-request.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>the <span class="type">RhythmDBEntry</span> for which extra metadata is being requested</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="RhythmDB-entry-extra-metadata-request.returns"></a><h4>Returns</h4>
<p> the extra metadata value</p>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-DETAILED:CAPS">Has Details</a></p>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDB-entry-keyword-added"></a><h3>The <code class="literal">“entry-keyword-added”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>      *db,
               <span class="type">RhythmDBEntry</span> *entry,
               <span class="type">RBRefString</span>   *keyword,
               <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)</pre>
<p>Emitted when a keyword is added to an entry.</p>
<div class="refsect3">
<a name="RhythmDB-entry-keyword-added.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>the <span class="type">RhythmDBEntry</span> to which a keyword has been added</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>keyword</p></td>
<td class="parameter_description"><p>the keyword that was added</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDB-entry-keyword-removed"></a><h3>The <code class="literal">“entry-keyword-removed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a>      *db,
               <span class="type">RhythmDBEntry</span> *entry,
               <span class="type">RBRefString</span>   *keyword,
               <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)</pre>
<p>Emitted when a keyword is removed from an entry.</p>
<div class="refsect3">
<a name="RhythmDB-entry-keyword-removed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>entry</p></td>
<td class="parameter_description"><p>the <span class="type">RhythmDBEntry</span> from which a keyword has been removed</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>keyword</p></td>
<td class="parameter_description"><p>the keyword that was removed</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDB-load-complete"></a><h3>The <code class="literal">“load-complete”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db,
               <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>  user_data)</pre>
<p>Emitted when the database is fully loaded.</p>
<div class="refsect3">
<a name="RhythmDB-load-complete.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDB-read-only"></a><h3>The <code class="literal">“read-only”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db,
               <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>  readonly,
               <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>  user_data)</pre>
<p>Emitted when the database becomes temporarily read-only, or becomes
writeable after being read-only.</p>
<div class="refsect3">
<a name="RhythmDB-read-only.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>readonly</p></td>
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the database is read-only</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDB-save-complete"></a><h3>The <code class="literal">“save-complete”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db,
               <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>  user_data)</pre>
<p>Emitted when the database has been saved.</p>
<div class="refsect3">
<a name="RhythmDB-save-complete.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
</div>
<hr>
<div class="refsect2">
<a name="RhythmDB-save-error"></a><h3>The <code class="literal">“save-error”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a> *db,
               <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>    *uri,
               <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>  error,
               <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>  user_data)</pre>
<p>Emitted when an error occurs while saving the database.</p>
<div class="refsect3">
<a name="RhythmDB-save-error.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>db</p></td>
<td class="parameter_description"><p>the <a class="link" href="RhythmDB.html" title="RhythmDB"><span class="type">RhythmDB</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uri</p></td>
<td class="parameter_description"><p>URI of the database file</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>the error that occurred</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.27</div>
</body>
</html>