SubWiji - Windows Subsonic Client (WPF)

Windows Subsonic Client (WPF)

Moderator: moderators

Re: Windows Subsonic Client (WPF)

Postby paulodell » Fri Jan 27, 2012 7:34 pm

BKKKPewsey wrote:My first impressions are very nice :D

Thanks!

BKKKPewsey wrote:However the simple click to install wasn't quite so simple in my case because I was not using IE as a browser.

Sorry that is a side effect of using .net click once, nothing I can do to change that, I could have made it clear to install using ie in the first instance, sorry.

BKKKPewsey wrote:So to test I selected a small (test) playlist and it came up with a message box
Code: Select all
Shortcut in use

Hi this isn't related to your playlist it's actually to do with SubWiji allocating it's keyboard shortcuts (see top forum post for a list) when one is already in use (by another program or sometimes multiple instances of SubWiji) it shows that error, I will change that so its clearer.

BKKKPewsey wrote:Ok try again and this time it found an update automatically (only been installed 30 mins that was quick work :D )

Yes I tend to do many updates each day and the link I have provided is directly linked to the Development builds at the moment :P as soon as I change things it gets updated.

BKKKPewsey wrote:Tried another track - still no sound but a brief pop up box came up saying something about no wave output device found

If you could send me a copy of your subsonic log I can have a look see if there is a problem transcoding to mp3, is your server on windows? My server is on OSX so it may be differences in the transcoding setup, if you could screenshot your transcoders setup screen and email me that i would be grateful.

BKKKPewsey wrote:Note there are no errors being shown in the SS log and everything seems to be working fine but quietly :|

Sorry your having trouble I hope you can stay involved and if I can get your issues sorted then you may be able to enjoy the app!

BKKKPewsey wrote:Some other observations - I was a bit confused by the music mixer icon
I was expecting to see some form of equaliser there but instead I get a copy of my default home page - is that correct?

Yes this is there so you can find and build your playlist from within SubWiji, I made the program so I don't have to use the website at all. I am planning on changing that icon to a better one, you can also use the search to find albums and tracks.

BKKKPewsey wrote:Also it would be nice if there were shortcuts to the artist 1st letters aka SS in the artist "cloud"

The artist cloud is still in development and will be far easier to navigate, it's in the works :p

BKKKPewsey wrote:Yep for a beta a job very well done - just need it to make some noise :D

I will be coding tomorrow so hopefully your issues can get ironed out :)

Cheers

Paul
SubWiji http://tinyurl.com/7sxwbfv Install http://subwiji.paulodell.co.uk
Transcode Step1 "ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -"
Tremor Games http://www.tremorgames.com/?ref=59174
User avatar
paulodell
 
Posts: 294
Joined: Fri Jul 29, 2011 11:28 am
Location: UK

Re: Windows Subsonic Client (WPF)

Postby MadEvil » Fri Jan 27, 2012 9:46 pm

paulodell wrote:
MadEvil wrote:i used a newer Dev-build with a new API Version, but it's ok to use an older one.
So i modified my server to Host directy on a other Domain TEST.COM instead of TEST.subsonic.org
so i can't connect, please can you change it or make it configurable.
best regards,
Marty


Hi,
This Dev-build you are talking about, how do I access this in order to test?
I coded it this way in order to support the subsonic development (as you need to donate to get the custom subsonic.org url).
Also using the subsonic.org URL is easier for general users to setup.
The issue I have is converting the URL into an IP and then adding the port. I could code it to use an IP ONLY but this isn't very user friendly.
Thanks
Paul


Hi Paul,

I used this Developer-Build --> http://subsonic.svn.sourceforge.net/vie ... threv=2593
The actual Build is higher than 2750, but i cant be used of massive changes in the Code.

I also include this Modification for sharing with my own Domain --> viewtopic.php?f=8&t=7599

I want that Subwiji can connect to my Server because i want also connect only local to my server without internet.
with xxxxx.subsonic.org i need to go trought Web. :(

i tried a workaround through HOST file Entry but it doesnt work :cry:
i hope you can implement a better connecting interface!

Best regards,
Marty
Madsonic Developer
User avatar
MadEvil
 
Posts: 354
Joined: Wed Nov 09, 2011 8:35 pm
Location: Vienna

Re: Windows Subsonic Client (WPF)

Postby paulodell » Fri Jan 27, 2012 11:19 pm

paulodell wrote:
BKKKPewsey wrote:Tried another track - still no sound but a brief pop up box came up saying something about no wave output device found

If you could send me a copy of your subsonic log I can have a look see if there is a problem transcoding to mp3, is your server on windows? My server is on OSX so it may be differences in the transcoding setup, if you could screenshot your transcoders setup screen and email me that i would be grateful.


Just for peoples reference BKKKPewsey helped me find the cause of his problems, it was the Transcoder setup and the "-" character missing off the edge, I've included the setup below, be sure to include everything INSIDE the quotes but not the quotes themselves :D

--> Transcoder Recommended Addition (subsonic setting) for SubWiji:

    > ConvertFrom = "mp3"
    > ConvertTo = "mp3"
    > Step1 = "ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -"

Regards,

Paul
SubWiji http://tinyurl.com/7sxwbfv Install http://subwiji.paulodell.co.uk
Transcode Step1 "ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -"
Tremor Games http://www.tremorgames.com/?ref=59174
User avatar
paulodell
 
Posts: 294
Joined: Fri Jul 29, 2011 11:28 am
Location: UK

Re: Windows Subsonic Client (WPF)

Postby BKKKPewsey » Sat Jan 28, 2012 12:22 am

FYI - Regarding the shortcut keys and the error message
Keyboard shortcuts (Alt+space = play/pause, Alt < previous track, Alt > next track, Alt - volume down, Alt + volume up)

Alt + space is already defined in Windows as "Open the control menu for the current window open."
Hence the error message.
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Windows Subsonic Client (WPF)

Postby Beowolf » Sat Jan 28, 2012 3:56 am

Hey i got this, but stupid question, over a network what do i use for a Server name?
//DamageBox/
ip
what?
1,959 artists
1,970 albums
13,978 songs
941.65 GB (~ 14,628 hours)
Beowolf
 
Posts: 66
Joined: Tue Jan 24, 2012 2:02 am

Re: Windows Subsonic Client (WPF)

Postby paulodell » Sat Jan 28, 2012 6:59 am

Beowolf wrote:Hey i got this, but stupid question, over a network what do i use for a Server name?
//DamageBox/
ip
what?


As stated to MadEvil at the moment both internally and externally you need to use the subsonic.org start part.
There is no functionality to set the IP only.

If you have donated then you get access to this feature, using the subsonic.org url resolves the IP intelligently letting subsonic and SubWiji work when your external IP changes, it also detects your internal IP if inside your own network.

In order to use SubWiji as it is currently you must put the bold part of the example below (without the subsonic.org) into the Subsonic name field:
SubsonicURL.subsonic.org

Regards

Paul
SubWiji http://tinyurl.com/7sxwbfv Install http://subwiji.paulodell.co.uk
Transcode Step1 "ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -"
Tremor Games http://www.tremorgames.com/?ref=59174
User avatar
paulodell
 
Posts: 294
Joined: Fri Jul 29, 2011 11:28 am
Location: UK

Re: Windows Subsonic Client (WPF)

Postby paulodell » Sat Jan 28, 2012 7:04 am

BKKKPewsey wrote:FYI - Regarding the shortcut keys and the error message
Keyboard shortcuts (Alt+space = play/pause, Alt < previous track, Alt > next track, Alt - volume down, Alt + volume up)

Alt + space is already defined in Windows as "Open the control menu for the current window open."
Hence the error message.
:mrgreen:


Ah thanks for that, I'm on windows7 and alt space isn't reserved.
What I'll do is change the shortcuts to alt+s+shortcutkey or something like that so they are more likely to be unique, I may add customisable shortcut setup eventually :)

Cheers
Paul
SubWiji http://tinyurl.com/7sxwbfv Install http://subwiji.paulodell.co.uk
Transcode Step1 "ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -"
Tremor Games http://www.tremorgames.com/?ref=59174
User avatar
paulodell
 
Posts: 294
Joined: Fri Jul 29, 2011 11:28 am
Location: UK

Re: Windows Subsonic Client (WPF)

Postby paulodell » Sat Jan 28, 2012 9:36 am

[code]MadEvil wrote:I want that Subwiji can connect to my Server because i want also connect only local to my server without internet.
with xxxxx.subsonic.org i need to go trought Web. :(

Ah sorry that you can't get connected, if you do setup a subsonic.org adress and use it internally it will use your local IP, it cleverly resolves the correct address depending where you are connecting from.
You need only have internet connectivity when first connecting SubWiji.

Regards
Paul
SubWiji http://tinyurl.com/7sxwbfv Install http://subwiji.paulodell.co.uk
Transcode Step1 "ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -"
Tremor Games http://www.tremorgames.com/?ref=59174
User avatar
paulodell
 
Posts: 294
Joined: Fri Jul 29, 2011 11:28 am
Location: UK

Re: Re: Windows Subsonic Client (WPF)

Postby paulodell » Sat Jan 28, 2012 11:46 am

paulodell wrote:
[code]MadEvil wrote:I want that Subwiji can connect to my Server because i want also connect only local to my server without internet.
with xxxxx.subsonic.org i need to go trought Web. :(

Ah sorry that you can't get connected, if you do setup a subsonic.org adress and use it internally it will use your local IP, it cleverly resolves the correct address depending where you are connecting from.
You need only have internet connectivity when first connecting SubWiji.

Regards
Paul


I'm currently trying to code in some more options to accept URLs, IPs and the subsonic.org address, when a build is working with these changes I will let you know

Cheers

Paul
SubWiji http://tinyurl.com/7sxwbfv Install http://subwiji.paulodell.co.uk
Transcode Step1 "ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -"
Tremor Games http://www.tremorgames.com/?ref=59174
User avatar
paulodell
 
Posts: 294
Joined: Fri Jul 29, 2011 11:28 am
Location: UK

Re: Windows Subsonic Client (WPF)

Postby paulodell » Sun Jan 29, 2012 12:50 pm

[code]MadEvil wrote:I want that Subwiji can connect to my Server because i want also connect only local to my server without internet.
with xxxxx.subsonic.org i need to go trought Web. :(

Great news I have just managed to update SubWiji (the update has now been pushed out) which includes the ability to use URL strings and IP address strings to connect...
Valid connection URL's include:
> donatorname.subsonic.org
> http://www.test.com
> test.com
> 192.168.111.222:1010

paulodell wrote:
BKKKPewsey wrote:FYI - Regarding the shortcut keys and the error message
Keyboard shortcuts (Alt+space = play/pause, Alt < previous track, Alt > next track, Alt - volume down, Alt + volume up)

Alt + space is already defined in Windows as "Open the control menu for the current window open."
Hence the error message.
:mrgreen:

This build also includes a change of ALT+Space into ALT+P (for play/pause) just so you don't miss out on the shortcut until I implement custom ones.
Also included is a slight change to the Artist list, it now has an index column on the left which when an item is clicked it will jump to the artists on the right.

Let me know how you get on with these changes

Regards

Paul
SubWiji http://tinyurl.com/7sxwbfv Install http://subwiji.paulodell.co.uk
Transcode Step1 "ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -"
Tremor Games http://www.tremorgames.com/?ref=59174
User avatar
paulodell
 
Posts: 294
Joined: Fri Jul 29, 2011 11:28 am
Location: UK

Re: Windows Subsonic Client (WPF)

Postby paulodell » Sun Jan 29, 2012 7:23 pm

Hey,

Lots of development going on today :)

Ive just added and pushed the update for last.fm support, it will work only if it is setup on your server (username and password for last.fm in settings>personal page) then it will scrobble as Now Playing (shows on last.fm as "listening now").
When the song changes OR if you press previous or next then, provided that the song has been playing for over 30 seconds, it will scrobble as a "Submission" which will stay in the list on last.fm as "just now" or "5 minutes ago" etc.

At the moment it will scrobble as long as it is setup, I haven't added an option to turn it on or off at SubWiji level, is this something you would like? If you had scrobbling setup is there a situation where you would turn it off in SubWiji? if you would let me know and I can add this to the changes...
Let me know how you get on with this feature

Thanks

Paul
SubWiji http://tinyurl.com/7sxwbfv Install http://subwiji.paulodell.co.uk
Transcode Step1 "ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -"
Tremor Games http://www.tremorgames.com/?ref=59174
User avatar
paulodell
 
Posts: 294
Joined: Fri Jul 29, 2011 11:28 am
Location: UK

Re: Windows Subsonic Client (WPF)

Postby MadEvil » Mon Jan 30, 2012 8:00 am

paulodell wrote:
[code]MadEvil wrote:I want that Subwiji can connect to my Server because i want also connect only local to my server without internet.
with xxxxx.subsonic.org i need to go trought Web. :(

Great news I have just managed to update SubWiji (the update has now been pushed out) which includes the ability to use URL strings and IP address strings to connect...
Valid connection URL's include:
> donatorname.subsonic.org
> http://www.test.com
> test.com
> 192.168.111.222:1010
Paul


Hi Paul,

Now it works great ! :D thumbs up
Madsonic Developer
User avatar
MadEvil
 
Posts: 354
Joined: Wed Nov 09, 2011 8:35 pm
Location: Vienna

Re: Windows Subsonic Client (WPF)

Postby askedal » Mon Jan 30, 2012 11:57 am

Hi,

very nice piece of software, very well done. I'm using it under Windows 7 64bit (2 CPU) and it works quite well.
I updated today, so I assume I have the latest and greatest version.
The only thing is, it eats up one or more CPU.

One thread is running GetMetaDataInternalInterfaceFromPublic+0x1e505 all the time (avg. 40% CPU). The process explorer shows this stack:

ntoskrnl.exe!memset+0x64a
ntoskrnl.exe!KeWaitForMultipleObjects+0xd52
ntoskrnl.exe!KeWaitForMutexObject+0x19f
ntoskrnl.exe!__misaligned_access+0xba4
ntoskrnl.exe!__misaligned_access+0x1821
ntoskrnl.exe!__misaligned_access+0x1a97
mscorlib.ni.dll+0x2ad871
mscorlib.ni.dll+0x272b66
mscorlib.ni.dll+0x2723f3
mscorlib.ni.dll+0x272299
clr.dll+0x21bb
clr.dll!CoUninitializeEE+0x6a3a
clr.dll!CoUninitializeEE+0x6bdc
clr.dll!CoUninitializeEE+0x6c11
clr.dll!GetPrivateContextsPerfCounters+0x377cd
clr.dll!GetMetaDataInternalInterfaceFromPublic+0x23265
clr.dll!GetMetaDataInternalInterfaceFromPublic+0x232e7
clr.dll!GetMetaDataInternalInterfaceFromPublic+0x233a2
clr.dll!GetMetaDataInternalInterfaceFromPublic+0x2343e
clr.dll!GetMetaDataInternalInterfaceFromPublic+0x26146
clr.dll!GetPrivateContextsPerfCounters+0x3770b
clr.dll!GetMetaDataInternalInterfaceFromPublic+0x25cd0
clr.dll!GetMetaDataInternalInterfaceFromPublic+0x2753a
clr.dll!GetMetaDataInternalInterfaceFromPublic+0x1e54d
ntdll.dll!RtlInitializeExceptionChain+0x63
ntdll.dll!RtlInitializeExceptionChain+0x36

And another thread runs wpfgfx_v0400.dll!MILQueryInterface+0x551 (avg. 20 % CPU). This is the stack of this thread:

ntoskrnl.exe!memset+0x64a
ntoskrnl.exe!ExfReleasePushLock+0x8ec
ntoskrnl.exe!__misaligned_access+0x331
ntoskrnl.exe!__misaligned_access+0x17e7
ntoskrnl.exe!KeWaitForMultipleObjects+0xf5d
ntoskrnl.exe!KeWaitForMutexObject+0x19f
ntoskrnl.exe!ExAcquireSharedStarveExclusive+0x30f
ntoskrnl.exe!NtQuerySystemInformation+0x5a7a
ntoskrnl.exe!NtQuerySystemInformation+0x5174
ntoskrnl.exe!NtWriteFile+0xfbd
ntoskrnl.exe!NtRequestWaitReplyPort+0x76
ntoskrnl.exe!KeSynchronizeExecution+0x3a43
ntdll.dll!NtRequestWaitReplyPort+0xa
wow64.dll!Wow64EmulateAtlThunk+0x5ff1
wow64.dll!Wow64SystemServiceEx+0xd7
wow64cpu.dll!TurboDispatchJumpAddressEnd+0x2d
wow64.dll!Wow64SystemServiceEx+0x1ce
wow64.dll!Wow64LdrpInitialize+0x429
ntdll.dll!RtlIsDosDeviceName_U+0x24c87
ntdll.dll!LdrInitializeThunk+0xe
ntdll.dll!NtRequestWaitReplyPort+0x12
dwmapi.dll!DwmSetWindowAttribute+0x240
dwmapi.dll!DwmFlush+0x89
wpfgfx_v0400.dll!RenderOptions_IsSoftwareRenderingForcedForProcess+0x5726e
wpfgfx_v0400.dll!MilCompositionEngine_InitializePartitionManager+0x18779
wpfgfx_v0400.dll!MilCompositionEngine_DeinitializePartitionManager+0x4be8
wpfgfx_v0400.dll!MilCompositionEngine_DeinitializePartitionManager+0x4b01
wpfgfx_v0400.dll!MilCompositionEngine_DeinitializePartitionManager+0x4a45
wpfgfx_v0400.dll!MILQueryInterface+0x551
ntdll.dll!RtlInitializeExceptionChain+0x63
ntdll.dll!RtlInitializeExceptionChain+0x36

If you need more information or dumps, just let me know.

Regards

Askedal
User avatar
askedal
 
Posts: 16
Joined: Mon Jan 30, 2012 11:49 am

Re: Windows Subsonic Client (WPF)

Postby paulodell » Mon Jan 30, 2012 12:18 pm

askedal wrote:Hi,

very nice piece of software, very well done. I'm using it under Windows 7 64bit (2 CPU) and it works quite well.
I updated today, so I assume I have the latest and greatest version.
The only thing is, it eats up one or more CPU.

One thread is running GetMetaDataInternalInterfaceFromPublic+0x1e505 all the time (avg. 40% CPU).

And another thread runs wpfgfx_v0400.dll!MILQueryInterface+0x551 (avg. 20 % CPU).

If you need more information or dumps, just let me know.

Regards

Askedal


Hi Askedal,
Firstly thanks for using SubWiji.
It is still in a Beta stage and optimisation is in the list of things to get done.
It seems that (after a quick test) when playing a song/even if paused the CPU will hit ~40% due to the MP3 stream being created in memory and streaming the data from the music server into the Audio data object.
When changing track it does return to 10% CPU which looks like the main apps CPU needs, so 30% is the stream loop, there may be room for improvement here, I will have a look.

The second issue could be that the scrolling marquee is causing the gfx thread to loop and use CPU, this could be paused along with the music so that when paused the scrolling stops, I will also try making it scroll at intervals instead of all the time.

Thanks for bringing this to my attention, I am aware and I do want SubWiji to be as lean as possible.

Cheers

Paul
SubWiji http://tinyurl.com/7sxwbfv Install http://subwiji.paulodell.co.uk
Transcode Step1 "ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -"
Tremor Games http://www.tremorgames.com/?ref=59174
User avatar
paulodell
 
Posts: 294
Joined: Fri Jul 29, 2011 11:28 am
Location: UK

Re: Windows Subsonic Client (WPF)

Postby paulodell » Mon Jan 30, 2012 1:23 pm

askedal wrote:The only thing is, it eats up one or more CPU.
One thread is running GetMetaDataInternalInterfaceFromPublic+0x1e505 all the time (avg. 40% CPU).
And another thread runs wpfgfx_v0400.dll!MILQueryInterface+0x551 (avg. 20 % CPU).

Regards
Askedal

Hi Askedal,
I have just had another look at the Streaming code and it seems that it was filling the Stream Buffer over and over, regardless of if the buffer was full (or paused).
I have made the change to fix this and my CPU usage went down from ~30% all the time (when song plays OR paused) to 4-12%.
Please grab the update and let me know how you get on :D

Regards,

Paul
SubWiji http://tinyurl.com/7sxwbfv Install http://subwiji.paulodell.co.uk
Transcode Step1 "ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -"
Tremor Games http://www.tremorgames.com/?ref=59174
User avatar
paulodell
 
Posts: 294
Joined: Fri Jul 29, 2011 11:28 am
Location: UK

PreviousNext

Return to SubWiji

Who is online

Users browsing this forum: No registered users and 6 guests