Please login or register.

Login with username, password and session length

Topic: Some wishes  (Read 6218 times)

January 20, 2014, 02:21:43 PM
  • Guest
Some wishes
« on: January 20, 2014, 02:21:43 PM »
I think, that it is best audio player - for speed, for fading, for radios, but i have some wishes to new versions.

1) tray icon - similar for utorrent, i place tray.ico to folder in Winyl, than I have some nice icon next to the clock, now I have use resourcehacker
2) windows 7-> taskbar support -> album artwork and position of song like http://stashbox.org/640663/zestawieni.png
3) some api for reading title,album,current position, volume, etc.. I want make logitech g15 plugin for control over keyboard LCD, or CD Art Display will be also good
4) add own radios - i like http://www.radioparadise.com/rp_2.php?

Thanks for great work!

January 20, 2014, 04:12:37 PM
Reply #1
  • Administrator
  • Sr. Member
  • *****
  • Posts: 486
    • View Profile
Re: Some wishes
« Reply #1 on: January 20, 2014, 04:12:37 PM »
1) tray icon - similar for utorrent, i place tray.ico to folder in Winyl, than I have some nice icon next to the clock, now I have use resourcehacker
2) windows 7-> taskbar support -> album artwork and position of song like http://stashbox.org/640663/zestawieni.png
I'll think about this.

3) some api for reading title,album,current position, volume, etc.. I want make logitech g15 plugin for control over keyboard LCD, or CD Art Display will be also good
Winyl supports some basic commands through SendMessage WINAPI function. If it suits you, I can write the list of the commands.

4) add own radios - i like http://www.radioparadise.com/rp_2.php?
Main Menu -> Add to Playlist -> Radio/URL

January 20, 2014, 09:47:48 PM
Reply #2
  • Guest
Re: Some wishes
« Reply #2 on: January 20, 2014, 09:47:48 PM »
Thank you for the quick reply.

-> 3) ok, can you send me here in forum? I think, that for "CD Art display"http://www.cdartdisplay.byethost8.com/index.html is necessary get full path of actual playing song.

Now I have some new ideas :)))

5) I use SimpleFlat skin and what I want is one click (not doubleclick) for expand albums/years/radios - it is possible set this in skin xml file?

6) When I click on album in skin, I expect http://technetnepal.net/cfs-filesystemfile.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/deepu/windows_2D00_media_2D00_player_5F00_6C9C5295.jpg

Thanks
« Last Edit: January 20, 2014, 09:51:30 PM by CZOggy »

January 23, 2014, 05:28:27 PM
Reply #3
  • Administrator
  • Sr. Member
  • *****
  • Posts: 486
    • View Profile
Re: Some wishes
« Reply #3 on: January 23, 2014, 05:28:27 PM »
-> 3) ok, can you send me here in forum? I think, that for "CD Art display" is necessary get full path of actual playing song.
There is no way to get full path, only basic control commands.

Some examples:
To send command to Winyl you can use this function. (Source code in C language)
Code: [Select]
int SendCommand(int command, int value)
{
    HWND wnd = FindWindowW(L"WinylWnd", NULL);
    if (wnd)
    {
        return (int)SendMessageW(wnd, WM_APP + 1003, (WPARAM)command, (LPARAM)value);
    }

    return 0;
}

Supported commands (command parameter in the previous function)
Code: [Select]
CMD_PLAY_EX      101 // Play
CMD_PAUSE_EX     103 // Pause
CMD_STOP         104 // Stop
CMD_NEXT         105 // Next track
CMD_PREV         106 // Previous track
CMD_CHECK_PLAY   200 // Return 1 if playing
CMD_CHECK_PAUSE  201 // Return 1 if paused (should be used with CMD_CHECK_PLAY)
CMD_CHECK_RADIO  202 // Return 1 if playing file from the internet (should be used with CMD_CHECK_PLAY)
CMD_GET_VOLUME   210 // Return volume in percent (0-100%)
CMD_SET_VOLUME   211 // value = volume in percent (0-100%)
CMD_VOLUME_UP    212 // Volume Up by 5 percent
CMD_VOLUME_DOWN  213 // Volume Down by 5 percent
CMD_GET_MUTE     220 // Return 1 if mute on
CMD_MUTE_ON      221 // Turn mute on
CMD_MUTE_OFF     222 // Turn mute off
CMD_MUTE_REV     223 // Reverse current mute state
CMD_GET_REPEAT   230 // Return 1 if repeat on
CMD_REPEAT_ON    231 // Turn repeat on
CMD_REPEAT_OFF   232 // Turn repeat off
CMD_REPEAT_REV   233 // Reverse current repeat state
CMD_GET_SHUFFLE  240 // Return 1 if shuffle on
CMD_SHUFFLE_ON   241 // Turn shuffle on
CMD_SHUFFLE_OFF  242 // Turn shuffle off
CMD_SHUFFLE_REV  243 // Reverse current shuffle state
CMD_GET_RATING   250 // Get playing track rating
CMD_SET_RATING   251 // Set playing track rating

For Artist - Title you can get text from Winyl window caption.
Code: [Select]
bool GetWindowCaption(wchar_t *buffer, int size)
{
    HWND wnd = FindWindowW(L"WinylWnd", NULL);
    if (wnd)
    {
        int length = GetWindowTextLengthW(wnd) + 1;
        if (length <= size)
        {
            GetWindowTextW(wnd, buffer, length);
            return true;
        }
    }

    return false;
}

5) I use SimpleFlat skin and what I want is one click (not doubleclick) for expand albums/years/radios - it is possible set this in skin xml file?
No, it's not possible

6) When I click on album in skin, I expect...
This feature is planned.

January 25, 2014, 08:34:33 PM
Reply #4
  • Guest
Re: Some wishes
« Reply #4 on: January 25, 2014, 08:34:33 PM »
5) I use SimpleFlat skin and what I want is one click (not doubleclick) for expand albums/years/radios - it is possible set this in skin xml file?

Actually you can do it, but you have to click in the space between the border and the text (where I placed the red square) -> http://i.imgur.com/mcGJaAd.png

January 25, 2014, 10:32:13 PM
Reply #5
  • Administrator
  • Sr. Member
  • *****
  • Posts: 486
    • View Profile
Re: Some wishes
« Reply #5 on: January 25, 2014, 10:32:13 PM »
Mymmo is right, I misunderstood the question. I thought you need single click instead of double click over the entire area of the library item.