{"id":835,"date":"2012-01-04T00:09:56","date_gmt":"2012-01-03T22:09:56","guid":{"rendered":"http:\/\/newage.ql.lt\/blog\/?p=835"},"modified":"2022-01-19T08:34:43","modified_gmt":"2022-01-19T06:34:43","slug":"delphi-eteryje-1-00","status":"publish","type":"post","link":"https:\/\/9v.lt\/blog\/delphi-eteryje-1-00\/","title":{"rendered":"[Delphi] Eteryje 1.00"},"content":{"rendered":"<p>Howdy y&#8217;all. A friend asked to make an application as a plugin for the radio station he has. Application to update the &#8220;Now playing&#8221; list with each new song playing on the radio. For this it has to check a text file, read the name of the song, and if it isn&#8217;t the same as before &#8211; send it to the server.<br \/>\nSimple concept for a simple application.<br \/>\n<!--more--><br \/>\nProgram is a console app, so it should be ran from the command line (cmd). Or if you want to hide the window and make it run in the background, do this:<br \/>\nCreate a shortcut for the application and name it the same as the application itself. Go to properties and add the arguments (see below).<\/p>\n<p>Arguments:<\/p>\n<ul>\n<li>time &#8211; interval in seconds to check the file<\/li>\n<li>file_name &#8211; full path including the name of the file of course<\/li>\n<li>URL &#8211; where to send the data. URL should be like this: http:\/\/something.lt\/script.php?=<\/li>\n<\/ul>\n<p>So a full example would be like this: eteryje.exe 10 c:\\songs.txt http:\/\/something.lt\/script.php?=<\/p>\n<p><strong>Download:<\/strong><br \/>\nCompiled exe: <a href=\"http:\/\/9v.lt\/projects\/delphi\/Eteryje\/eteryje.exe\" target=\"_blank\" rel=\"noopener\">eteryje.exe<\/a><br \/>\nCode: <a href=\"http:\/\/9v.lt\/projects\/delphi\/Eteryje\/Eteryje.zip\" target=\"_blank\" rel=\"noopener\">Eteryje.zip<\/a><br \/>\nInstruction in Lithuanian language: <a href=\"http:\/\/9v.lt\/projects\/delphi\/Eteryje\/instrukcijos.txt\" target=\"_blank\" rel=\"noopener\">instrukcijos.txt<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Howdy y&#8217;all. A friend asked to make an application as a plugin for the radio<\/p>\n","protected":false},"author":2,"featured_media":1708,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,750],"tags":[109,645,646,590,485,301,644],"class_list":["post-835","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-projects","category-software-projects","tag-delphi","tag-eteris","tag-eteryje","tag-indy","tag-online","tag-radio","tag-update"],"_links":{"self":[{"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts\/835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/comments?post=835"}],"version-history":[{"count":0,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts\/835\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/media\/1708"}],"wp:attachment":[{"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/media?parent=835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/categories?post=835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/tags?post=835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}