Jump to content

Oynatıcı Örneği Güncel V2- Autoplay Media Studio


HalilYanar
 Share

Recommended Posts

Merhaba arkadaşlar,

Uzun uğraşlarımla kodlamaya çalıştığım projeyi size sunmak isterim.

İlk olarak kodlarda emeği olan : KintaRo ve Kral__'a teşekkürler...

Oynatıcıdan Bir Görüntü :

[img]http://i.imgur.com/kO0Wf.png[/img]

Güncel versiyon görüntüsü ;

[img]http://i.imgur.com/VdZRm.png[/img]

Çok istek olursa görsellikte yapılabilir.

Oynatıcı basittir. Ama kodları yazmak için çok uğraştım. Fakat çok işe yarıyacağına inanıyorum.

.Apz Link :

[quote]http://www.mediafire.com/?xbvripwbwv23mst[/quote]

.Apz v2 Güncel Link :

[quote]http://www.mediafire.com/?7by091fhlnhbotn[/quote]

Boyut : 5 MB

KODLAR :

On show :

[quote]nCurPos = Audio.GetCurrentPos(CHANNEL_BACKGROUND);
nGetLength = Audio.GetLength(CHANNEL_BACKGROUND);
Image.SetProperties("bar", {Width = ((nCurPos/nGetLength))*330})

Grid.SetCellText("Grid1", 0, 0, "Baslik", true);
Grid.SetCellText("Grid1", 1, 0, "Artist", true);
Grid.SetCellText("Grid1", 2, 0, "Album", true);
Grid.SetCellText("Grid1", 3, 0, "Tur", true);
Grid.AutoSizeColumn("Grid1", 0, GVS_BOTH, true, true);
Grid.ExpandLastColumn("Grid1", true);

local fileopen = Audio.GetFilename(CHANNEL_BACKGROUND);

if fileopen then
MediaInfo.Open(fileopen)

Grid.SetCellText("Grid1", 0, 1, MediaInfo.General("Title"), true);
Grid.SetCellText("Grid1", 1, 1, MediaInfo.General("Performer"), true);
Grid.SetCellText("Grid1", 2, 1, MediaInfo.General("Album"), true);
Grid.SetCellText("Grid1", 3, 1, MediaInfo.General("Genre"), true);

if MediaInfo.General("Cover") ~= "" then
Crypto.Base64DecodeFromString(MediaInfo.General("Cover_Data"), _SourceFolder.."\\image.jpg");
Image.Load("arkaplan", _SourceFolder.."\\image.jpg");
else
Image.Load("arkaplan", "AutoPlay\\Images\\no_disponible.jpg");
end
end
[/quote]

On Timer :

[quote]Page.StartTimer();
nCurPos = Audio.GetCurrentPos(CHANNEL_BACKGROUND);
nGetLength = Audio.GetLength(CHANNEL_BACKGROUND);
Image.SetProperties("bar", {Width = ((nCurPos/nGetLength))*330})[/quote]

Kodlar uzun olduğu için projeyi inceleyebilirsiniz. Edited by HalilYanar
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...