Skip to content

Get Metadata from local echoprint-server #39

Description

@Lupenio

Hi,

I am using echoprint with a local echoprint-server and I am doing these steps:

  1. ./echoprint-codegen SympathyForTheDevil.wav > wav/SympathyForTheDevil.json

The json file is like this:
[
{"metadata":{"artist":"The Rolling Stoner", "release":"", "title":"Sympathy for the Devil", "genre":"Rock", "bitrate":1411,"sample_rate":44100, "duration":356, "filename":"SympathyForTheDevil.wav", "samples_decoded":3924992, "given_duration":0, "start_offset":0, "version":4.12, "codegen_time":1.072712, "decode_time":2.966706}, "code_count":9030, "code":"eJzcvQ.....", "tag":0}
]

  1. In my folder /echoprint-server/util: python fastingest.py /home/eugenio/echoprint/echoprint-codegen-realtime/wav/SympathyForTheDevil.json

  2. With chrome Advanced Rest Client, I am running this query: "http://localhost:9090/query?fp_code=eJzcvQu...."

And I am receveing this result:

{
total_time: 1365
score: 1575
ok: true
query: "eJzcvQu....."
message: "OK (match type 6)"
qtime: 98
match: true
track_id: "TRVDZVT15013A15382"
}

What should I do to get even metadata from my local server?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions