How to enable search for Twonky Server 7.2.x
- phibertron
- Posts:1566
- Joined:Sun Jan 30, 2011 5:52 pm
- AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000
Encoders
========
Handbrake
x264
ffmpeg
mencoder
Tagging
======
mp3tag
You may be familiar with the search abilities added by Twonky on the MyTwonky website that is no more
I have previously put together a solution to allow that idea for the Twonky Web Interface on 7.0.x and 7.1.x
The previous solution I came up with was never as ideal as I wanted it to be
In a nutshell, I had to download a list of all items and parse through for titles that contained the search criteria
this method was a bit slower and not really scalable
but it worked =)
Which brings us to a new and faster way of doing a search from the Web Interface
I had originally meant to sue the same functions that Twonky was using for MyTwonky
but then MyTwonky went away, and I couldn't find my notes on those functions
I recently stumbled on a drive backup I had, that did have those notes =)
You can download versions from here
https://onedrive.live.com/?cid=FE1D7E98 ... MlDUzNtCqg
.
I have previously put together a solution to allow that idea for the Twonky Web Interface on 7.0.x and 7.1.x
The previous solution I came up with was never as ideal as I wanted it to be
In a nutshell, I had to download a list of all items and parse through for titles that contained the search criteria
this method was a bit slower and not really scalable
but it worked =)
Which brings us to a new and faster way of doing a search from the Web Interface
I had originally meant to sue the same functions that Twonky was using for MyTwonky
but then MyTwonky went away, and I couldn't find my notes on those functions
I recently stumbled on a drive backup I had, that did have those notes =)
You can download versions from here
https://onedrive.live.com/?cid=FE1D7E98 ... MlDUzNtCqg
.
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
- phibertron
- Posts:1566
- Joined:Sun Jan 30, 2011 5:52 pm
- AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000
Encoders
========
Handbrake
x264
ffmpeg
mencoder
Tagging
======
mp3tag
Twonky 7.2.x Search Version 1
note:
These files should work with any version of 7.2.x
This is the older slow way, you will want version 2 or greater
You can download the pre-edited code based off of 7.2.8 from the following link
Twonky 7.2.x Search Version 1
https://onedrive.live.com/?cid=FE1D7E98 ... MlDUzNtCqg
.
These files should work with any version of 7.2.x
This is the older slow way, you will want version 2 or greater
You can download the pre-edited code based off of 7.2.8 from the following link
Twonky 7.2.x Search Version 1
https://onedrive.live.com/?cid=FE1D7E98 ... MlDUzNtCqg
.
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
- phibertron
- Posts:1566
- Joined:Sun Jan 30, 2011 5:52 pm
- AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000
Encoders
========
Handbrake
x264
ffmpeg
mencoder
Tagging
======
mp3tag
Twonky 7.2.x Search Version 2
note:
The below solution incorporates the new search code for the web interface
and the new remote access code changes for the web interface
These files should work with any version of 7.2.x
- it is using a native dlna m-search command exposed through and rpc call
- the query is run on the server, which returns a list of matching items
- the results now leverage pagination
- it is very very fast, when compared to my previous solution (version 1)
You can download the pre-edited code based off of 7.2.8 from the following link
Twonky 7.2.x Search Version 2
https://onedrive.live.com/?cid=FE1D7E98 ... MlDUzNtCqg
.
The below solution incorporates the new search code for the web interface
and the new remote access code changes for the web interface
These files should work with any version of 7.2.x
- it is using a native dlna m-search command exposed through and rpc call
- the query is run on the server, which returns a list of matching items
- the results now leverage pagination
- it is very very fast, when compared to my previous solution (version 1)
You can download the pre-edited code based off of 7.2.8 from the following link
Twonky 7.2.x Search Version 2
https://onedrive.live.com/?cid=FE1D7E98 ... MlDUzNtCqg
.
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
- phibertron
- Posts:1566
- Joined:Sun Jan 30, 2011 5:52 pm
- AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000
Encoders
========
Handbrake
x264
ffmpeg
mencoder
Tagging
======
mp3tag
Twonky 7.2.x Search Version 3
Added some changes to the Twonky Beam Button
I made it so it uses the boomark of an item, data-href=
so that the Thumbnail and Title are shown in the App
In Addition forced the addition of a Tile, data-title=
for the clients to get one in any connection scenario, by IP or by URL
NOTE:
This version is the same as version 2 with the above changes added to it
If you are connecting to the Twonky Server by IP, the Twonky Beam Button changes will work as expected
it will not work if you are connecting by URL, to fix this, I have to muck with the code for the Beam Button
Its on the ToDo list, but at least its a step forward for now
You can download the pre-edited code based off of 7.2.8 from the following link
Twonky 7.2.x Search Version 3
https://onedrive.live.com/?cid=FE1D7E98 ... MlDUzNtCqg
.
I made it so it uses the boomark of an item, data-href=
so that the Thumbnail and Title are shown in the App
In Addition forced the addition of a Tile, data-title=
for the clients to get one in any connection scenario, by IP or by URL
NOTE:
This version is the same as version 2 with the above changes added to it
If you are connecting to the Twonky Server by IP, the Twonky Beam Button changes will work as expected
it will not work if you are connecting by URL, to fix this, I have to muck with the code for the Beam Button
Its on the ToDo list, but at least its a step forward for now
You can download the pre-edited code based off of 7.2.8 from the following link
Twonky 7.2.x Search Version 3
https://onedrive.live.com/?cid=FE1D7E98 ... MlDUzNtCqg
.
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
- phibertron
- Posts:1566
- Joined:Sun Jan 30, 2011 5:52 pm
- AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000
Encoders
========
Handbrake
x264
ffmpeg
mencoder
Tagging
======
mp3tag
Twonky 7.2.x Search Version 4
Added some changes to the way the loading icon works
If you are using anything other than firefox, which works as expected
you might have noticed that there is no longer any loading animation graphic showing
In a nutshell, in Twonky Server 7.2.x they changed the web interface code to use synchronous calls
which means most browsers will not render or rerender the page until all items are ready
On a fast PC its not really an issue,
but on a slower NAS it can seem like nothing is happening when you click on things
So I did three things to deal with this
1. made only the function loadmediacontents use an asynchronous call
2. added a new loading gif, as the old one wasn't transparent the color was wrong
3. adjusted the css so that the image now shows up correctly
NOTE:
This version is the same as version 3 with the above changes added to it
You can download the pre-edited code based off of 7.2.8 from the following link
Twonky 7.2.x Search Version 4
https://onedrive.live.com/?cid=FE1D7E98 ... MlDUzNtCqg
.
If you are using anything other than firefox, which works as expected
you might have noticed that there is no longer any loading animation graphic showing
In a nutshell, in Twonky Server 7.2.x they changed the web interface code to use synchronous calls
which means most browsers will not render or rerender the page until all items are ready
On a fast PC its not really an issue,
but on a slower NAS it can seem like nothing is happening when you click on things
So I did three things to deal with this
1. made only the function loadmediacontents use an asynchronous call
2. added a new loading gif, as the old one wasn't transparent the color was wrong
3. adjusted the css so that the image now shows up correctly
NOTE:
This version is the same as version 3 with the above changes added to it
You can download the pre-edited code based off of 7.2.8 from the following link
Twonky 7.2.x Search Version 4
https://onedrive.live.com/?cid=FE1D7E98 ... MlDUzNtCqg
.
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
- phibertron
- Posts:1566
- Joined:Sun Jan 30, 2011 5:52 pm
- AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000
Encoders
========
Handbrake
x264
ffmpeg
mencoder
Tagging
======
mp3tag
Twonky 7.2.x Search Version 5
This version is more about adding some visual changes and adding more metadata to the web interface
Added some changes to the way the Music Thumbnail display is displayed
- made it so the thumbnail is large style, like it is for video thumbnails
Added some changes to the way Video Metadata is displayed
- moved the duration to the side of the title, like it is for music items
- made it so other tags can be used in the web interface for metadata
- added the comment tag which can be used for description (255 characters max)
- added the composer tag which can be used for director (255 characters max)
- added the albumartist tag which can be used for actors/cast (255 characters max)
- added the genre tag which can be used for genre (255 characters max)
NOTE:
This version is the same as version 4 with the above changes added to it
You can download the pre-edited code based off of 7.2.8 from the following link
Twonky 7.2.x Search Version 5
https://onedrive.live.com/?cid=FE1D7E98 ... MlDUzNtCqg
.
Added some changes to the way the Music Thumbnail display is displayed
- made it so the thumbnail is large style, like it is for video thumbnails
Added some changes to the way Video Metadata is displayed
- moved the duration to the side of the title, like it is for music items
- made it so other tags can be used in the web interface for metadata
- added the comment tag which can be used for description (255 characters max)
- added the composer tag which can be used for director (255 characters max)
- added the albumartist tag which can be used for actors/cast (255 characters max)
- added the genre tag which can be used for genre (255 characters max)
NOTE:
This version is the same as version 4 with the above changes added to it
You can download the pre-edited code based off of 7.2.8 from the following link
Twonky 7.2.x Search Version 5
https://onedrive.live.com/?cid=FE1D7E98 ... MlDUzNtCqg
.
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
- phibertron
- Posts:1566
- Joined:Sun Jan 30, 2011 5:52 pm
- AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000
Encoders
========
Handbrake
x264
ffmpeg
mencoder
Tagging
======
mp3tag
Twonky 7.2.x Search Version 6
Added links to items on the thumbnails
- this makes it so one can click on the title or the thumbnail of an item
Added the ability (firefox only) to use the title as the download name
For example: download="'+ title + "." + format +'"
- this makes it so one can download an item with its title name and not the twonky ref id name (firefox only)
NOTE:
This version is the same as version 5 with the above changes added to it
You can download the pre-edited code based off of 7.2.8 from the following link
Twonky 7.2.x Search Version 5
https://onedrive.live.com/?cid=FE1D7E98 ... MlDUzNtCqg
.
- this makes it so one can click on the title or the thumbnail of an item
Added the ability (firefox only) to use the title as the download name
For example: download="'+ title + "." + format +'"
- this makes it so one can download an item with its title name and not the twonky ref id name (firefox only)
NOTE:
This version is the same as version 5 with the above changes added to it
You can download the pre-edited code based off of 7.2.8 from the following link
Twonky 7.2.x Search Version 5
https://onedrive.live.com/?cid=FE1D7E98 ... MlDUzNtCqg
.
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
- phibertron
- Posts:1566
- Joined:Sun Jan 30, 2011 5:52 pm
- AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000
Encoders
========
Handbrake
x264
ffmpeg
mencoder
Tagging
======
mp3tag
Twonky 7.2.x Search Version 7
.
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
- phibertron
- Posts:1566
- Joined:Sun Jan 30, 2011 5:52 pm
- AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000
Encoders
========
Handbrake
x264
ffmpeg
mencoder
Tagging
======
mp3tag
Twonky 7.2.x Search Version 8
.
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
- phibertron
- Posts:1566
- Joined:Sun Jan 30, 2011 5:52 pm
- AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000
Encoders
========
Handbrake
x264
ffmpeg
mencoder
Tagging
======
mp3tag
Twonky 7.2.x Search Version 9
.
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
- phibertron
- Posts:1566
- Joined:Sun Jan 30, 2011 5:52 pm
- AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000
Encoders
========
Handbrake
x264
ffmpeg
mencoder
Tagging
======
mp3tag
Twonky 7.2.x Search Version 10
.
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497