This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to write my own import data script

Tags: tellico, import tellico, import tellico, import
(comma "," separated)
miguelrozsas
Registered Member
Posts
6
Karma
0
Hi There !

I am triyng to use Telllico to manage my music collection.
The problem is I don't want to type each audio file mannually.
Rather than I want to write a script to scan my music folder and using the information on the folder where an album is saved and information from each file on that folder, build up several entries in Tellico database (yeh, not a database at all, its more like a XML big file)
So, I would ask if there is some tool/script that I can use as starting point or a API of any kind (DBUS ?) that I can use to do this task.

I appreciate any comments on this,
cheers,
robbystephenson
KDE Developer
Posts
384
Karma
1
OS
miguelrozsas wrote:I am triyng to use Telllico to manage my music collection.
The problem is I don't want to type each audio file mannually.

Tellico does have built-in functionality to scan music files and read the metadata.
https://docs.kde.org/trunk5/en/extragear-office/tellico/importing.html#importing-audio-files
miguelrozsas wrote:Rather than I want to write a script to scan my music folder and using the information on the folder where an album is saved and information from each file on that folder, build up several entries in Tellico database (yeh, not a database at all, its more like a XML big file)
So, I would ask if there is some tool/script that I can use as starting point or a API of any kind (DBUS ?) that I can use to do this task.

There are a handful of scripts that you could look at for ideas or starting points.
https://docs.kde.org/trunk5/en/extragear-office/tellico/data-sources-options.html#externalexec
https://store.kde.org/browse/cat/590/order/latest
https://github.com/KDE/tellico/blob/master/src/fetch/scripts/dark_horse_comics.py
miguelrozsas
Registered Member
Posts
6
Karma
0
Thank you @robbystephenson !


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]