» Stats |
Members: 85,613
Threads: 29,437
Posts: 248,423
|
| Welcome to our newest member, mjl1297 |
|
 |
|
24-06-12, 02:29
|
#221
|
|
.NET Ninja
Join Date: Apr 2011
Location: Belgium
Posts: 940
Contribution: 0.38%
Thanks: 16
Thanked 187 Times in 104 Posts
Downloads: 0
Uploads: 0
|
Re: [UPDATED] Dune Control for Windows
It's been a while so I figured it's time for me to upload another update.
Like previous versions, it's pretty much all internal changes. I've restored compatibility with the latest beta firmwares, as version 3 of the IP control protocol broke much of the existing functionality. I've also added support for new features introduced with version 3 as well as various 'convenience' properties.
I can't do much work on the user interface until all of the internal plumbing is finished, and the more I get done, the more I start to realise how much there is left to do.  Probably the biggest visible change is that I've categorised all of the properties, which is a huge improvement in usability.
Telnet client code should be much more stable in this release, but it might still lock up occasionally. I've not yet figured out why exactly. 
If you don't have telnet enabled, you don't get some of the benefits (such as firmware update checking), but it shouldn't otherwise affect the app.
Technicalities forced me to remove the command error and status fields, but I am still thinking about how to bring them back. Hopefully nobody really needed those.
What's more is that status updates now happen sequentially instead of whenever the interval time elapses. Before this, multiple status requests could be executed at the same time. Some requests would complete faster than others, sometimes causing a more recent player status to be overwritten by an older status.
This update fixes that problem by holding a status request until the previous one completes. As a result, I've changed the default interval to 1 millisecond to minimize the status delay.
If you would like to help out, all the details you need to know are on the project page. Having two or three people working on this would greatly speed up development.
Otherwise enjoy. 
If there is something missing that you would like to see ASAP, feature requests usually get a higher priority on my todo list.
EDIT
I almost forgot to mention it, but you no longer need the full .NET 4 framework! Just the client profile will do. I only needed 1 piece of the full framework so I figured I might as well write my own version of it that does more or less the same.
|
|
|
28-06-12, 11:14
|
#222
|
|
Premium Potential
Join Date: Dec 2009
Posts: 31
Contribution: 0.01%
Thanks: 5
Thanked 0 Times in 0 Posts
Downloads: 0
Uploads: 0
|
Re: [UPDATED] Dune Control for Windows
First of all, great job !
i would like to see if you could do that would allow me to create playlist.
Like program from this tread used to have (doesn't work any more after firmware update) http://www.mpcclub.com/forum/showthr...t=dune+windows
i use program for playing music. so i would like to select only one song form one directory. and another from other and so on. not whole album.
and that program used to create playlist in program, and than send each file separately to Dune.
Ok not the best thing, because you couldn't stop playback from remote controller expat from program, but only from program.
but if there is no support from dune there is no other option.
but still it worked really great for me.
so wish from me 
something that i could pick multiple files from multiple directories.
thanks
|
|
|
28-06-12, 11:27
|
#223
|
|
.NET Ninja
Join Date: Apr 2011
Location: Belgium
Posts: 940
Contribution: 0.38%
Thanks: 16
Thanked 187 Times in 104 Posts
Downloads: 0
Uploads: 0
|
Re: [UPDATED] Dune Control for Windows
Thanks!
It is certainly possible to launch playlist playback with the new firmware version, but I'm not quite there yet. The thing is that it is only possible to start playlists from playlist files, so I need to implement a mechanism that saves the selection to disk before sending the playback command.
I do already have most of the code in place to support this, but I still need to tweak the file browser. At the moment it does not support anything other than files or dvd/bluray in iso format.
Have you tried some of the other "features" that are already in place? I'm desperate for a little feedback on this.  Mainly to see if it actually works with other setups than mine.
|
|
|
29-06-12, 22:00
|
#224
|
|
Premium Potential
Join Date: Dec 2009
Location: Den Helder (The Netherlands)
Posts: 79
Contribution: 0.03%
Thanks: 2
Thanked 32 Times in 18 Posts
Downloads: 0
Uploads: 0
|
Re: [UPDATED] Dune Control for Windows
Originally Posted by Tomzi
First of all, great job !
i would like to see if you could do that would allow me to create playlist.
Like program from this tread used to have (doesn't work any more after firmware update) http://www.mpcclub.com/forum/showthr...t=dune+windows
i use program for playing music. so i would like to select only one song form one directory. and another from other and so on. not whole album.
and that program used to create playlist in program, and than send each file separately to Dune.
Ok not the best thing, because you couldn't stop playback from remote controller expat from program, but only from program.
but if there is no support from dune there is no other option.
but still it worked really great for me.
so wish from me 
something that i could pick multiple files from multiple directories.
thanks
|
Hello Tomzi,
What is not working anymore? I am the developer of the software you mentioned. The software still works as far as I know.
|
|
|
02-07-12, 12:29
|
#225
|
|
Premium Potential
Join Date: Dec 2009
Posts: 31
Contribution: 0.01%
Thanks: 5
Thanked 0 Times in 0 Posts
Downloads: 0
Uploads: 0
|
Re: [UPDATED] Dune Control for Windows
@Daffyduck
i am getting some windows error massage. i cant paste what right now. but i will post error as soon i get back home.
maybe its just coincidence that stop working just after firmware update.
i would be glad if things would still work. because program is just what i need for playing music.
|
|
|
02-07-12, 12:41
|
#226
|
|
Premium Potential
Join Date: Dec 2009
Posts: 31
Contribution: 0.01%
Thanks: 5
Thanked 0 Times in 0 Posts
Downloads: 0
Uploads: 0
|
Re: [UPDATED] Dune Control for Windows
@Gennoise
two things that i couldn't get figured out.
1.) when i start program and Dune not powered on already i got icon "play"
but wen i power on dune. "play" icon is away. then when i double click on .mp3 file it start paying the music. after i press pause, than "play" shows.
2.) when i come into one directory i couldnt find a way to go only one level back on directory tree.
maybe i am just missing something or i am to stupid
|
|
|
02-07-12, 16:48
|
#227
|
|
Premium Potential
Join Date: Jan 2010
Posts: 31
Contribution: 0.01%
Thanks: 1
Thanked 0 Times in 0 Posts
Downloads: 0
Uploads: 0
|
Re: [UPDATED] Dune Control for Windows
My Dune IP remote control doesn't work anymore with youtube. I get the following message:
Zie het einde van dit bericht voor meer informatie over het aanroepen
van JIT-foutopsporing (Just In Time) in plaats van dit dialoogvenster.
************** Tekst van uitzondering **************
System.NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld.
bij DuneRemote.Core.Control.AdvancedCommander.Make_Sta rt_Command(Int32 intPlaybackType, Int32 intProtocol, String strPath, String strSMBUsername, String strSMBPassword, Boolean blnPlayFromAttachedStorage, Boolean blnStartPaused, Double dblPosition, Boolean blnBlackScreen, Boolean blnHideOSD, Boolean blnRestartPlaybackOnFinish, Int32 intTimeout)
bij DuneRemote.Core.Control.AdvancedCommander.Start_Pl ayback(Int32 intPlaybackType, Int32 intProtocol, String strPath, String strSMBUsername, String strSMBPassword, Boolean blnPlayFromAttachedStorage, Boolean blnStartPaused, Double dblPosition, Boolean blnBlackScreen, Boolean blnHideOSD, Boolean blnRestartPlaybackOnFinish, Int32 intTimeout)
bij DuneRemote.frmRemote.btnFastPlay_Click(Object sender, EventArgs e)
bij System.Windows.Forms.Control.OnClick(EventArgs e)
bij System.Windows.Forms.Button.OnClick(EventArgs e)
bij System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
bij System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bij System.Windows.Forms.Control.WndProc(Message& m)
bij System.Windows.Forms.ButtonBase.WndProc(Message& m)
bij System.Windows.Forms.Button.WndProc(Message& m)
bij System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
bij System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Geladen assembly's **************
mscorlib
Assembly-versie: 4.0.0.0
Win32-versie: 4.0.30319.269 (RTMGDR.030319-2600)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
DuneRemote
Assembly-versie: 1.6.1.0
Win32-versie: 1.6.1.0
CodeBase: file:///C:/Program%20Files/Dune%20Remote/DuneRemote.exe
----------------------------------------
Microsoft.VisualBasic
Assembly-versie: 10.0.0.0
Win32-versie: 10.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly-versie: 4.0.0.0
Win32-versie: 4.0.30319.269 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly-versie: 4.0.0.0
Win32-versie: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly-versie: 4.0.0.0
Win32-versie: 4.0.30319.278 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly-versie: 4.0.0.0
Win32-versie: 4.0.30319.282 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly-versie: 4.0.0.0
Win32-versie: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
TextBoxHint
Assembly-versie: 1.0.4257.29344
Win32-versie: 1.6.1.0
CodeBase: file:///C:/Program%20Files/Dune%20Remote/DuneRemote.exe
----------------------------------------
mscorlib.resources
Assembly-versie: 4.0.0.0
Win32-versie: 4.0.30319.235 (RTMGDR.030319-2300)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_nl_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
Microsoft.WindowsAPICodePack.Shell
Assembly-versie: 1.1.0.0
Win32-versie: 1.6.1.0
CodeBase: file:///C:/Program%20Files/Dune%20Remote/DuneRemote.exe
----------------------------------------
Microsoft.WindowsAPICodePack
Assembly-versie: 1.1.0.0
Win32-versie: 1.6.1.0
CodeBase: file:///C:/Program%20Files/Dune%20Remote/DuneRemote.exe
----------------------------------------
System.Configuration
Assembly-versie: 4.0.0.0
Win32-versie: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly-versie: 4.0.0.0
Win32-versie: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
2ozg1edd
Assembly-versie: 4.0.0.0
Win32-versie: 4.0.30319.269 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Microsoft.mshtml
Assembly-versie: 7.0.3300.0
Win32-versie: 7.0.3300.0
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
----------------------------------------
nrbnan3y
Assembly-versie: 1.6.1.0
Win32-versie: 4.0.30319.269 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms.resources
Assembly-versie: 4.0.0.0
Win32-versie: 4.0.30319.235 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_nl_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************** JIT-foutopsporing **************
Als u JIT-foutopsporing wilt inschakelen, moet in het configuratiebestand voor deze
toepassing of computer (machine.config) de waarde
jitDebugging in het gedeelte system.windows.forms zijn ingesteld.
De toepassing moet ook zijn gecompileerd terwijl foutopsporing
was ingeschakeld.
Bijvoorbeeld:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Wanneer JIT-foutopsporing is ingeschakeld, worden onverwerkte uitzonderingen
naar het JIT-foutopsporingsprogramma gestuurd dat op de computer is geregistreerd
en worden niet door dit dialoogvenster verwerkt.
|
|
|
12-07-12, 19:57
|
#228
|
|
.NET Ninja
Join Date: Apr 2011
Location: Belgium
Posts: 940
Contribution: 0.38%
Thanks: 16
Thanked 187 Times in 104 Posts
Downloads: 0
Uploads: 0
|
Re: [UPDATED] Dune Control for Windows
@Tomzi
1) can you manually run the status command in a webbrowser and post the output? I'm not sure why it would do what you describe.
2) yep I was too lazy to add a button to go back, although you can manually edit the location in the address bar.
@robbedoes33
For the love of all that is holy, use code tags man!
Anyway, you are using what is now a VERY outdated version of my app. Tons of things that weren't already broken when I initially uploaded it broke down later on. Youtube browsing is one of them, sadly.
I laughed a little when I saw the Hungarian notation in my code. I was such a nooby.
As a work-around, you can actually use the new app to start any kind of playback, including youtube. To do that, you do actually need a helper tool that gets the direct link to the youtube video (I use KeepVid), then paste the URL in the 'Playback URL' field somewhere down the list on the 'devices' page.
@anyone else
Do you have any .NET programming or GUI design skills and would you like to join in this project? PM me.
|
|
|
16-07-12, 17:21
|
#229
|
|
Premium Potential
Join Date: Jan 2010
Posts: 31
Contribution: 0.01%
Thanks: 1
Thanked 0 Times in 0 Posts
Downloads: 0
Uploads: 0
|
Re: [UPDATED] Dune Control for Windows
Originally Posted by Gennoise
@robbedoes33
For the love of all that is holy, use code tags man!
Anyway, you are using what is now a VERY outdated version of my app. Tons of things that weren't already broken when I initially uploaded it broke down later on. Youtube browsing is one of them, sadly.
I laughed a little when I saw the Hungarian notation in my code. I was such a nooby.
As a work-around, you can actually use the new app to start any kind of playback, including youtube. To do that, you do actually need a helper tool that gets the direct link to the youtube video (I use KeepVid), then paste the URL in the 'Playback URL' field somewhere down the list on the 'devices' page.
|
I'm using version 1.6.1.0 and when i do a update check it says that it is the latest version. So i don't understand your comment. Maybe you can help me out? Besides that you talked about browsing youtube. That's not the problem with me. Browsing youtube in your app is working perfectly. It is the sending of a youtube-movie to my Dune that gives the problem.
I also used your update link http://dl.dropbox.com/u/14454764/Dun...ol/publish.htm to install version Version: 0.9.9.1 . If i click on "install" a get a webpage with a lot text/garbage that i don't understand (xml programming text?).
i hope you can help me out, because the youtube app in your program always workes like a charm till recently.
greetings
|
|
|
16-07-12, 17:46
|
#230
|
|
.NET Ninja
Join Date: Apr 2011
Location: Belgium
Posts: 940
Contribution: 0.38%
Thanks: 16
Thanked 187 Times in 104 Posts
Downloads: 0
Uploads: 0
|
Re: [UPDATED] Dune Control for Windows
I think the 'launch' hyperlink only works on internet explorer. It might work on firefox, but only if you have the proper addons installed. For all other browsers, you have to use the install button, then go through the setup wizard. After that you can launch the app from your start menu.
To explain the confusion: the app on the first page is the one I originally created this thread for. It was something I created in maybe 30 minutes before uploading it here, as I expected Dune HD to release their own software soon enough (boy was I wrong).
Anyway, for me it was a good learning project. When I finally realised how crappy my code was, I dropped most of it and restarted with the few pieces that were actually useful. The result of that is the code library which I've uploaded here , as well as the new app which you're having installation troubles with.
The reason why youtube is now "broken" in the old app is because when they updated the layout, they also changed how a video is retrieved from their back-end servers. Now honestly, I don't really want to waste my time on writing hotfixes and patches for what is basically a piece of crap. I'm already way behind on where I wanted to be with the new app, so any development time should go in that direction.
EDIT: chances are I'm going to wait until the final .NET 4.5 framework release before doing any major updates. It has many features which I'd like to use in my code, but currently can't because it's still in the beta phase. Most notably the future APIs for asynchronous programming will be very useful to me, considering that any network interaction has to be done on a background thread to prevent the graphical interface from freezing.
|
|
|
 |
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
» MPC top List... |
TOP 5 Regular media players
-
Popcorn Hour C-300 (81%)
-
Mede8er Med500x2 (80%)
-
Dune SMART (D1) (65%)
-
HDI Dune Base 3.0 (52%)
-
DViCo TViX X-Roid (00%)
TOP 5 Hybrid media players
-
HDI Dune BD Prime 3.0 (75%)
-
HDI Dune HD SMART B1 (74%)
-
PoPCorn Hour C-200 (68%)
-
HDI Dune MAX (54%)
-
-
We do not recommend currently...
-
Xtreamer products
-
Hantech products
-
MViX products
-
DviCo products
-
HDX products
|
|
|