Some information that might be of use to someone, at discount prices.

June 9, 2005

Netflix Queue Manager Updated Again

Category: Movies,Netflix,Software — badsegue @ 10:31 am

update

Another update! These changes are relatively minor, and build on top of some of the changes from the last release. Now that the Manager is integrated into the Netflix page (instead of on top of it) these changes attempt to make the integration more transparent and seamless.

  • Added the Update Queue button – now you can trigger an update from the Manager, instead of doing a Close and updating with the standard button. You still have to confirm the update though, and can see the regular Netflix page at that time.
  • Added a bug mode switcher – if you Close or Update Queue->Cancel, the Manager disappears and the regular queue page is returned. A floating, semi-transparent “bug” will appear on the page to switch back to the Manager.

These features aren’t that exciting by themselves, but used in conjunction with Greasemonkey or Turnabout can make the Manager integration more natural:

  • The Manager is invoked automatically when the Queue page is visited
  • The Update can be done from the Manager
  • When the page is reloaded after the Update the manager is re-invoked automatically
  • If you Close to get out of the Manager, you can switch back without reloading the page

The on-screen instructions have also been tweaked to explain Close vs. Update Queue.

upgrading

The updates do not require re-installation. You may need to clear the cache to get the updated script and style sheet to load. The bookmarklet and Greasemonkey scripts did not change.

screen shots

Here you can see the reworked buttons and instructions.:

Here we are after reversing the queue, then clicking Update Queue. We can see that the numbers were updated correctly:

If we cancel the Update Queue or had clicked Close we get the regular Netflix queue, with the bug added:

• • •

June 8, 2005

Netflix Queue Manager Updated

Category: Movies,Netflix,Software — badsegue @ 9:44 am

update

The Netflix Queue Manager has been updated. This version adds:

  • Delete capability – no explanation needed
  • Hiding the Netflix main form – the regular Netflix queue form is hidden while the manager is open, making the Manager appear more naturally integrated

There is no need to re-install the bookmarklet version. If you do not see the new features when using the Manager you’ll need to clear your cache to pick up the updates.
In Firefox you can do this by selecting Tools->Options->Cache->Clear.
In IE select Tools->Internet Options->General->Delete Files.

If you have not previously installed the Manager, read this article on setup and use.

Greasemonkey

Now that these features have been added it makes more sense to streamline the Greasemonkey version. Now instead of creating a button to invoke the manager it can be started automatically. The update is still done manually. This is for peace of mind, not a technical limitation. A future update will provide the ability to update from the Manager buttons.

Netflix Queue Manager for Greasemonkey (v1.1)

Right-click and select “Install User Script” or click the link to view the file then select “Tools->Install User Script”. It should over-write the previous version, so no need to uninstall.

turnabout

Turnabout is a Greasemonkey-compatible plug-in for Internet Explorer 6. The Manager appears to work fine with Turnabout.

more

If you don’t like the Manager being always being invoked automatically, such as after an update, you can just use the older version. You’ll still have access to the new features.

Netflix Queue Manager for Greasemonkey (v1.0)

You could also alter the script configuration to exclude certain pages, while keeping the auto-invoke as the default.
For example, after re-ordering the queue the URL will be something like:
http://www.netflix.com/Queue?prioritized=true
And after deleting an item:
http://www.netflix.com/Queue?itemsdeleted=1

• • •

June 4, 2005

Netflix Queue Manager for Greasemonkey

Category: Movies,Netflix,Software — badsegue @ 1:50 am

background

Greasemonkey is a Firefox extension that runs javascript code on the current browser page. It is used to change the behavior of a web page usually by adding functionality, or altering the appearance. It is quite analogous to the bookmarklet model. The difference is that a Greasemonky script can be invoked automatically whenever a certain page is visited, while a bookmarklet must be invoked by the user.

With Greasemonky any site-specific bookmarklet can be adapted to run automatically when that site is visited. Here we provide an adapted version of the Netflix Queue Manager.

It is not necessary to have Greasemonkey to run the Netflix Queue Manager. Using the Greasemonkey version won’t save you any time–either way it is one click away. The only advantage is being able to remove a bookmark from your toolbar or favorites list.

installation

If you have Greasemonky installed just use this link:

Netflix Queue Manager for Greasemonkey

Right-click and select “Install User Script” or click the link to view the file then select “Tools->Install User Script”.

implementation

This is relatively simple. Minimally the bookmarklet link just needs to be encapsulated into a file so that Greasemonky can install it. This works, but the Manager will be invoked automatically on the Queue page. This is undesirable because it will always appear after the page is updated.

To defer the Manager launch, the new script adds an highly visible link near the top of the page. The link appears whenever you visit your Netflix queue. Just click the link to start the Manager.

The original script in netflix-manager.js is unchanged. The original bookmarklet code is just wrapped in a function that is called when the new link is clicked.

(function(){

  window.launch_manager = function() {
	  var script=document.createElement('script');
	  script.src='http://badsegue.org/samples/toolman.js';
	  document.getElementsByTagName('body')[0].appendChild(script);
		
	  var script=document.createElement('script');
	  script.src='http://badsegue.org/samples/netflix-manager.js';
	  document.getElementsByTagName('body')[0].appendChild(script);
  }

  var h = document.getElementById("header");
  var d = document.createElement("div");  
  d.style.border = "2px dashed cyan";
  d.style.backgroundColor = "orange";
  d.innerHTML = "<a href='javascript:launch_manager()'>Launch Netflix Queue Manager</a>";
  h.appendChild(d);
}
)()
• • •

May 26, 2005

Netflix Queue Manager Bookmarklet

Category: Netflix,Software — badsegue @ 9:32 am

background

Managing your Netflix queue can become unwieldy once you add more than a few dozen items. We previously provided bookmarklets to shuffle and reverse the queue, which is more of a novelty than a useful feature for most. There are a few desktop clients that are available now that provide an alternate interface with most of the functionality of the web interface, as well as some enhancements not available on the web side. I’m primarily concerned with improving the queue management features, which is the most tedious aspect of the web interface. Some of the features that are needed:

  • Move to top – this is provided but requires a full page refresh. Not effective for large queues.
  • Move to bottom – not provided at all.
  • Drag and drop – there is a limited capability to do this when a movie is added, but only within the top 10 items.
  • Sort – by star rating.
  • Shuffle, Reverse – for people who like suprises.

approach

Instead of creating a separate application, I’ve taken the approach of augmenting the standard web interface with a bookmarklet. A bookmarklet is a just some javascript that can be “bookmarked”. Clicking on the bookmark allows the javascript to run in the context of the current page, to do something useful to the page.
The shuffle and reverse functions had already been addressed, but need to be adapted to the new tool. The drag and drop, top, and bottom functions are more complicated and require the ability to target specific items on the page. I searched around and found a few DHTML libraries that can be used to provide the drag and drop capability. There are some very nice packages out there, such as the ones from walterzorn.com and tool-man.org. I found the one from walterzorn.com to have more features, but due to the way it is invoked is unsuitable for use in bookmarklet applications that occur after the page is loaded. The ToolMan library doesn’t have that issue, and provides all the features I needed so it is the choice here.

installation

The script needs to be installed first. This is simple, just drag or right-click the link below to add it to your toolbar or favorites. Then it becomes a bookmarklet.

Netflix Queue Manager

The link is just this code:

javascript:
(function(){
  var script=document.createElement('script');
  script.src='http://badsegue.org/samples/toolman.js';
  document.getElementsByTagName('body')[0].appendChild(script);

  var script=document.createElement('script');
  script.src='http://badsegue.org/samples/netflix-manager.js';
  document.getElementsByTagName('body')[0].appendChild(script);
}
)()

When activated the bookmarklet will load the ToolMan library and the Netflix Manager scripts and act on the currently displayed page.

usage

Visit your Netflix queue page. Just click the Netflix Queue Manager bookmark that you just installed. The Manager will be overlayed onto the Netflix page.

Netflix Queue Manager

From here you can drag and drop any row, and use the menu buttons at the top and bottom of the overlay. When you are finished use the CLOSE button to close the Manager. The position numbers on the Netflix page will be updated to reflect the positions selected in the Manager. Just use the Update Your Queue button to commit the changes.

Netflix Queue Update

conclusion

This tool should provide just about all the features you need to manage the queue. Some final notes:

  • There is no delete button, but that can be done easily enough from the standard page.
  • Sorting puts any personally rated movies at the top, followed by reccomendation ratings, followed by series discs. The series discs only have ratings on the first in the series so it’s difficult to place those discs in the proper context.
  • You may encounter a script error when activating the Manager. Try the bookmark again. There may be timing issues when fetching and loading the two scripts. After the first load the browser should have cached the files. I only encountered this problem once, when using IE.
  • There may be some untested conditions. I had to tweak the script after encountering various queue conditions, like Friend icons, series discs, top 100 icons, etc. You may have some combination of things in your queue that I couldn’t test.
• • •
« Previous PageNext Page »