Two files linked to one movie on plex - plex

I have two movie files, for different movies that have got attached to one movie. I have provided an image here
How do I split these to map to two different movies?

Name the files with the year of publication (according to the Plex naming conventions), like that:
Harry Potter and the Deathly Hallows Part 1 (2010).mkv
Harry Potter and the Deathly Hallows Part 2 (2011).mkv
If that does not solve it, you may use the context menu options in Plex (when logged in as administrative user) and choose the "Split apart" option.

Related

Python - Using gspread and tkinter live search options?

I am writing a program for people to check into a meeting with a graphical interface from tkinter, and I am storing the names and other variables in google spreadsheets using gspread. My questions is whether there is a way to get a live search of the names in the spreadsheet that is populated as a person types. For example, if the spreadsheet has names: Bob, Michael, John, Steve, Sue, Susan and using a text entry box in tkinter, while a person types their name, if they type in S, then Sue, Steve, and Susan appear in some sort of window, and if they type u after S, then the list will only offer Sue and Susan for the person to select their name from. I know gspread has a search for by cell value, but is there anyway to get it to show the results as it searches?

opencart, shop by motor bike selector in top menu

I wish to find a solution on implementing a menu item (probably final step) which in:
step 1 (homescreen): displays "by brand"
step 2 : displays all brands (not nec. alphabetically)
step 3 : brand model and beneath all the model parts (already inserted) that fit on that model.
Is such an implementation possible in opencart?
PS: this is my first attempt with opencart, I reached to attributes where I thought I was close but I failed to implement.
Welcome to StackOverflow!
In opencart (administration) You can manage brands (manufacturers) and then add products to that manufacturers (interjoin appropriate products with their manufacturers).
Then just check all the footer related files (controller, language file, template) and copy the manufacturer things to the header related files while positioning the link to manufacturers within main navigation and translating Manufacturers to By Brands.
And You are done!

Instant Video results

I am querying Amazon's Product Advertising API for Instant Video (streaming) results. Everything is working fine -- except that there is some missing information:
Descriptions are not included in results. For example, on Amazon's website the movie "Food, Inc" (http://www.amazon.com/Food-Inc/dp/B002VRZEYM) has the description "An unflattering look inside America's corporate controlled food industry.". When queried via the API, however, no description is returned at all.
Titles of TV shows are not included in results. For example, if you search for the 2nd episode of season 1 of Arrested Development (called "Top Banana") on Amazon's website (http://www.amazon.com/gp/product/B000N2VRJ8), you will get the full name of the TV show, season #, episode #, and episode name. When queried by the API, however, only the episode name is returned.
Does anyone know of a solution to these problems? FYI, the nodeId I am using for my search is 2858778011.
In order to get more details, you'll need to set the ResponseGroup parameter in your request. See the ResponseGroup section of the ItemLookup documentation to see the different Response Groups that you can use.
For example, setting the ResponseGroup parameter to Large or Medium or Small or even ItemAttributes will give you the description:
An unflattering look inside America's corporate controlled food industry.
for Food, Inc (B002VRZEYM) and the Title:
Top Banana
for Arrested Development season 1 episode 2 (B000N2VRJ8).
I had the same problem, while trying to query the Amazon API for Prime Instant Video content. Although this question is kinda old, there are probably some people like me who are interested in a detailed answer, especially for the second part (2.).
Like Jonathan Spooner already said, you have to set a response group
that returns the data you're interested in. Official documentation: Response Groups - Product Advertising API.
In your case, I think, the ResponseGroup Small should do.
If you want to get the title of a TV show, which contains a certain episode, you have to set the response group RelatedItems in your request, too (you can set multiple response groups in one request). You will also have to name a RelationshipType, otherwise the request will fail. For Episode -- Season - Relationships you choose Episode.
With RelatedItems, the result will contain a node named <RelatedItems>. You will find the season item in there, which's title should be something like " Arrested Development - Season 1 [HD]".
Note: If you really just want the TV show title, you could either parse the season name for it or you could make another ItemLookup with the seasons ASIN: set the response group RelatedItems again, but this time with RelationshipType=Season. This will return Season - TV Series - Relationships. The related item will contain the TV Show in general. (But the title could have a suffix like [HD] anyway)
Here you have a list with all relationship types: Relationship Types - Product Advertising API

webservice for autosuggest on city names / postal codes including long-lat coordinates?

i'm looking for a webservice, to be used for an autocomplete field,
where people can fill in either a postal code / city name or both
this service will need all cities in Europe, so we can use it for all country websites.
and in a later stadium we want to keep the world open for asia and america so this would be a plus.
preferably it would also return the long-lat coordinates for the locations,
Now it is a free textfield, after leaving the field, we hit the google geocoding service,
to find coordinates... preferably i would tie these two together.
so we don't have to query 2 services for one thing.
does anyone know of the existance of such a service online somewhere?
or would you suggest to build our own database with cities / postal codes / coordinates?
if so we would need to get the content from somewhere too, and i was trying to avoid that issue :)
I recently searched for a similar service, in vain.
I wanted my users to have auto-complete on entering a city name, and once a city is chosen I needed to pass the name and lat/long onto the Google API. In the end I did this: -
downloaded the geonames allcountries.zip, full extract: this
Imported it into a SQL DB via SSIS (about 7.5 million records!)
Wrote a simple query to extract just the cities (only the PPLC, PPLA and PPLA2 records).
This left me with a manageable table of 9112 records (with lat / long and country code) which covers all the cities in the world. I then wrote my own code to query the data.
Not ideal, but I needed a solution.
I know this post is very old but for thouse who are looking for a simple solution that can be integrated in 5 minutes here is the link:
Geocomplete jQuery...
For my case I followed this steps:
1 - Download the plugin from here.
2 - Add the jquery.geocomplete.js or jquery.geocomplete.min.js file into your javascript folder of your project.
3 - Call this file in script tags on the html page where you have the input field that you have to autocomplete with cities:
<script src='/PathToTheFile/jquery.geocomplete.js'></script>
4 - To convert an input into an autocomplete field, simply call the Geocomplete plugin in script tags: <script>
$("#IdOfTheInputField").geocomplete(); // Option 1: Call on element.
$.fn.geocomplete("input"); // Option 2: Pass element as argument.
</script>
5- You can check for the complete list of options on the link provided at the top.
Hope that this helped!

Retrieving Sitecore items Position A in the content tree and to the user in Position B

Given the following content tree, how could I associate Dealerships with Cars so that I can get a URL like this?
http://website/Dealerships/JimWhite/Ford
I need to be able to have the content viewable and editable under cars, but automatically updated under the dealerships.
I assume there is some kind of link I can do?
Home
Cars
Ford
Honda
Toyota
Dealerships
JimWhite
TomJones
Take a look at this document on SDN, especially the chapter about Sharing and Reusing Items and Field Values (Aliases, Proxies, Wildcard items).
I think you should look into aliases on the SDN.
My Item Mirror module might do the trick.
http://blog.capaxsolutions.co.uk/2010/06/09/sitecore-item-mirroring-making-an-item-appear-in-more-than-one-place/